Create a new project
POST/project
Create a new project
Request
- application/json
Body
The details of the project to create
Possible values: <= 32 characters
Name of the project
Possible values: <= 50 characters
The game engine used for the project
Number of monthly users
Indicates if the project is hidden or visible
Platform for the project
Responses
- 201
- 400
- 401
- 403
- 500
- default
Project successfully created
- application/json
- Schema
- Example (from schema)
- Example
Schema
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"
}
{
"numMonthlyUsers": 1500,
"thumbnail": "",
"config": "",
"gameEngine": "Unity",
"name": "Watchcats 2",
"platform": "[\"pc\",\"linux\", \"xbox\", \"playstation\"]",
"hidden": false,
"id": "p2Duhf5N6",
"createdAt": "2024-01-01T09:00:00.00Z",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Forbidden 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"
}