Update a project
PUT/project/:projectId
Update a project
Request
Path Parameters
The projectId to update
- application/json
Body
Project data
Hide project
Number of monthly users
Possible values: <= 32 characters
Project name
New project owner username
Project thumbnail URL
Platform
Game engine
Responses
- 200
- 401
- 403
- 404
- 500
- default
Project successfully updated
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
URL to the project's thumbnail image
Time representation of Project creation
Possible values: <= 32 characters
Name of the project
Possible values: <= 50 characters
The game engine used for the project
Platform for the project
The amount of project credits available.
Number of monthly users
Configuration settings for the project
Unique identifier for Project
Indicates if the project is hidden or visible
Unique identifier of the owner
members
object[]
{
"thumbnail": "https://file.playmakers.co/p2Duhf5N6/aUv0OhmsR.jpg",
"createdAt": "2024-01-01T09:00:00.00Z",
"name": "Call of foodie 2",
"gameEngine": "Unity",
"platform": "[\"pc\",\"linux\", \"xbox\", \"playstation\"]",
"credits": 100,
"numMonthlyUsers": 1500,
"config": "https://file.playmakers.co/cfg/p2Duhf5N6/config.json",
"id": "p2Duhf5N6",
"hidden": false,
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"members": [
{
"avatar": "https://file.playmakers.co",
"name": "Marwan",
"cognitoUserId": "170596c9-a3aa-4264-98ec-803799d5fc15"
}
]
}
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"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
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"
}