Update a schema
PUT/schema/:schemaId
Update a schema
Request
Path Parameters
The schemaId to update
- application/json
Body
Schema data
Possible values: [draft
, open
, closed
]
Possible values: <= 32 characters
Name of the schema
Possible values: >= 2 characters
Possible values: <= 3000 characters
Responses
- 200
- 401
- 403
- 404
- 500
- default
Schema successfully updated
- application/json
- Schema
- Example (from schema)
Schema
A json holding certain regulations for the post processing of submissions assigned to the schema
Unique identifier for Schema
Unique identifier for Category
Url for schema's thumbnail
Unique identifier for Project
Categories for schema
Possible values: <= 32 characters
Name of the schema
Possible values: [draft
, open
, closed
]
Time representation of schema creation
Possible values: <= 3000 characters
Vote threshold
The amount of project credits required to create a submission for this schema
{
"postProcessing": "{\"unity\":{\"createAssetBundle\":\"true\",...",
"tags": [
"potion",
"health",
"speed"
],
"id": "s11EFBu2XW",
"categoryId": "C16w81Bvr0",
"thumbnail": "https://file.playmakers.co/s34hfnB4f/djJryHfgW.jpg",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,...",
"projectId": "p2Duhf5N6",
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",...",
"type": "material",
"category": [
{
"C12JOqkBM": "Potion"
},
{
"C4DiVkafk": "Speed Potion"
}
],
"name": "string",
"approvalMethod": "manual",
"state": "draft",
"createdAt": "2024-01-01T09:00:00.00Z",
"description": "This is restores is a legendary potion that restores health and speed",
"voteThresholdSettings": "",
"credits": 20,
"data": "{\"label\":\"facepaint\",\"children\":{\"albedo\":{\"label\":\"albedo\",..."
}
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"
}