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 [
]
Possible values: <= 32 characters
Name of the project
Configuration settings for the project
Possible values: <= 50 characters
The game engine used for the project
Number of monthly users
URL to the project's thumbnail image
Unique identifier of the owner
Time representation of Project creation
Indicates if the project is hidden or visible
Platform for the project
Unique identifier for Project
[
{
"name": "Watchcats 2",
"config": "https://file.playmakers.co/cfg/p2Duhf5N6/config.json",
"gameEngine": "Unity",
"numMonthlyUsers": 1500,
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"createdAt": "2024-01-01T09:00:00.00Z",
"hidden": false,
"platform": "[\"pc\",\"linux\", \"xbox\", \"playstation\"]",
"id": "p2Duhf5N6"
}
]
[
{
"thumbnail": "https://file.playmakers.co/p9P8MtKNB/a1cgGhPH0g.jpg",
"id": "p9P8MtKNB",
"hidden": false,
"members": [
{
"cognitoUserId": "d0186a63-38a8-49bc-b582-404a65b6f468"
},
{
"cognitoUserId": "f00a7969-1395-479b-8b07-4d5e582a9187"
}
],
"createdAt": "2024-01-01T08:00:00.000Z",
"ownerId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b",
"numMonthlyUsers": 1000,
"gameEngine": "Fall Guys",
"config": "https://file.playmakers.co/cfg/p9P8MtKNB/config.json",
"name": "Among Us",
"platform": "PC"
},
{
"numMonthlyUsers": 5050,
"gameEngine": "UnrealEngine",
"config": "https://file.playmakers.co/cfg/phT3dYzBs/config.json",
"name": "Borderlands 3",
"platform": "Playstation",
"thumbnail": "https://file.playmakers.co/phT3dYzBs/aUOZTirea.jpg",
"id": "phT3dYzBs",
"hidden": false,
"createdAt": "2024-01-01T08:00:00.000Z",
"members": [
{
"cognitoUserId": "d0186a63-38a8-49bc-b582-404a65b6f468"
},
{
"cognitoUserId": "f00a7969-1395-479b-8b07-4d5e582a9187"
}
],
"ownerId": "a064a23e-d5ec-4ada-a2a5-194e556ee50b"
}
]
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"
}