Get all schemas containing category
GET/schemas/by/category/:categoryId
Get all schemas containing category
Request
Path Parameters
The categoryId of the schema
Query Parameters
Search for schema by name
Search by start date
Search by end date
Possible values: >= 1
Default value: 1
Specify the page number for pagination (default is 1).
Default value: 10
Specify the number of projects per page (default is 10, 0 gets all results).
Possible values: [createdAt
, type
, name
, state
]
Field to order the results by (e.g., 'createdAt', 'ownerId'). Default is 'createdAt'.
Possible values: [asc
, desc
]
Default value: desc
'asc' for ascending or 'desc' for descending order. Default is 'desc'.
Responses
- 200
- 404
- 500
- default
Schemas successfully retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Url for thumbnail
Possible values: <= 3000 characters
Unique identifier for Category
Unique identifier for Schema
Unique identifier for Project
Possible values: [draft
, open
, closed
]
Categories for schema
Time representation of schema creation
A json holding certain regulations for the post processing of submissions assigned to the schema
Vote threshold
[
{
"type": "material",
"thumbnail": "https://file.playmakers.co/p34hfnB4f/djJryHfgW.jpg",
"description": "This is restores is a legendary potion that restores health and speed",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,...",
"categoryId": "C16w81Bvr0",
"id": "s11EFBu2XW",
"projectId": "p2Duhf5N6",
"state": "draft",
"data": "{\"label\":\"facepaint\",\"children\":{\"albedo\":{\"label\":\"albedo\",...",
"approvalMethod": "manual",
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",...",
"category": [
{
"C12JOqkBM": "Potion"
},
{
"C4DiVkafk": "Speed Potion"
}
],
"name": "Wild Flower Potion",
"createdAt": "2024-01-01T09:00:00.00Z",
"tags": [
"potion",
"health",
"speed"
],
"postProcessing": "{\"unity\":{\"createAssetBundle\":\"true\",...",
"voteThresholdSettings": ""
}
]
[
{
"type": "armor",
"thumbnail": "https://file.playmakers.co/s166n8qbe/dragonscale_armor_thumbnail.jpg",
"description": "A set of armor crafted from the scales of a mighty dragon",
"categoryId": "CrAR01Tz2",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,\"height\":512,\"url\":\"...",
"projectId": "pyDjppkvO",
"id": "s166n8qbe",
"state": "draft",
"data": "{\"label\":\"armor\",\"children\":{\"defensePower\":{\"label\":\"defensePower\",\"value\":120",
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",\"model...",
"approvalMethod": "manual",
"name": "Dragonbone Armor",
"category": {
"CE2TTib4Y": "Armor",
"CsRabGrUR": "Fire",
"CjCXz2u61": "Dragon"
},
"voteThresholdSettings": "400",
"createdAt": "2024-01-11T16:00:00.00Z",
"tags": [
"armor",
"dragon",
"protection"
]
},
{
"type": "armor",
"projectId": "pyDjppkvO",
"id": "s210n8qbi",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,\"height\":512,\"url\":\"...",
"categoryId": "CrAR01Tz2",
"thumbnail": "https://file.playmakers.co/s210n8qbi/mystic_robe_thumbnail.jpg",
"description": "A mystical robe that enhances the wearer's magical abilities",
"data": "{\"label\":\"armor\",\"children\":{\"defensePower\":{\"label\":\"defensePower\",\"value\":..",
"state": "published",
"voteThresholdSettings": "100",
"tags": [
"armor",
"robe",
"magic"
],
"createdAt": "2024-01-15T13:00:00.00Z",
"name": "Mystic Robe",
"category": {
"CE2TTib4Y": "Mystery",
"CsRabGrUR": "Flight",
"CjCXz2u61": "Outift"
},
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",\"model...",
"approvalMethod": "automatic"
}
]
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"
}