Get all projects for user
GET/projects/by/user/:userId
Get all projects for user
Request
Path Parameters
The ownerId to filter projects.
Query Parameters
Search for projects by name
Search for projects by engine
Search for projects by platform
Search by start date
Search by end date
Possible values: >= 1
Default value: 1
Specify the page number for pagination (default is 1).
Default value: 10
Specify the number of projects per page (default is 10, 0 gets all results).
Possible values: [createdAt
, numMonthlyUsers
, name
]
Field to order the results by (e.g., 'createdAt', 'numMonthlyUsers'). Default is 'createdAt'.
Possible values: [asc
, desc
]
Default value: desc
'asc' for ascending or 'desc' for descending order. Default is 'desc'.
Responses
- 200
- 401
- 500
- default
Projects successfully retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Time representation of Project creation
URL to the project's thumbnail image
Configuration settings for the project
Possible values: <= 50 characters
The game engine used for the project
Indicates if the project is hidden or visible
Unique identifier for Project
Platform for the project
The amount of project credits available.
Possible values: <= 32 characters
Name of the project
Unique identifier of the owner
Number of monthly users
[
{
"createdAt": "2024-01-01T09:00:00.00Z",
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"config": "https://file.playmakers.co/cfg/p2Duhf5N6/config.json",
"gameEngine": "Unity",
"hidden": false,
"id": "p2Duhf5N6",
"platform": "[\"pc\",\"linux\", \"xbox\", \"playstation\"]",
"credits": 100,
"name": "Call of foodie 2",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"numMonthlyUsers": 1500
}
]
[
{
"config": "https://file.playmakers.co/cfg/p9P8MtKNB/config.json",
"platform": "PC",
"gameEngine": "Fall Guys",
"thumbnail": "https://file.playmakers.co/p9P8MtKNB/a1cgGhPH0g.jpg",
"createdAt": "2024-01-01T08:00:00.000Z",
"members": [
{
"avatar": "https://file.playmakers.co",
"cognitoUserId": "d0186a63-38a8-49bc-b582-404a65b6f468",
"name": "Latifa"
},
{
"avatar": "https://file.playmakers.co",
"cognitoUserId": "f00a7969-1395-479b-8b07-4d5e582a9187",
"name": "Marwan"
}
],
"numMonthlyUsers": 1000,
"id": "p9P8MtKNB",
"ownerId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"name": "Among Us",
"hidden": false
},
{
"name": "Borderlands 3",
"hidden": false,
"numMonthlyUsers": 5050,
"id": "phT3dYzBs",
"ownerId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"createdAt": "2024-01-01T08:00:00.000Z",
"members": [
{
"cognitoUserId": "d0186a63-38a8-49bc-b582-404a65b6f468"
},
{
"cognitoUserId": "f00a7969-1395-479b-8b07-4d5e582a9187"
}
],
"gameEngine": "UnrealEngine",
"platform": "Playstation",
"config": "https://file.playmakers.co/cfg/phT3dYzBs/config.json",
"thumbnail": "https://file.playmakers.co/phT3dYzBs/aUOZTirea.jpg"
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "An unexpected error occured"
}