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