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