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