Update a project
PUT/project/:projectId
Update a project
Request
Path Parameters
projectId projectIdrequired
The projectId to update
- application/json
Body
Project data
members string[]
ownerUsername string
New project owner username
name string
Possible values: <= 32 characters
Project name
numMonthlyUsers integer
Number of monthly users
gameEngine string
Game engine
platform string
Platform
hidden boolean
Hide project
Responses
- 200
- 401
- 403
- 404
- 500
- default
Project successfully updated
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
name stringrequired
Possible values: <= 32 characters
Name of the project
config objectnullable
Configuration settings for the project
gameEngine string
Possible values: <= 50 characters
The game engine used for the project
numMonthlyUsers integer
Number of monthly users
thumbnail urinullable
URL to the project's thumbnail image
ownerId
Unique identifier of the owner
createdAt date-time
Time representation of Project creation
hidden boolean
Indicates if the project is hidden or visible
platform string
Platform for the project
id string
Unique identifier for Project
members
object[]
cognitoUserId string
{
"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",
"members": [
{
"cognitoUserId": "a75a9b52-186b-43a6-a2be-5205c27a5d94"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...