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 [
]
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,..."
}
]
[
{
"type": "armor",
"id": "s166n8qbe",
"data": "{\"label\":\"armor\",\"children\":{\"defensePower\":{\"label\":\"defensePower\",\"value\":120",
"thumbnail": "https://file.playmakers.co/s166n8qbe/dragonscale_armor_thumbnail.jpg",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,\"height\":512,\"url\":\"...",
"approvalMethod": "manual",
"tags": [
"armor",
"dragon",
"protection"
],
"voteThresholdSettings": "400",
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",\"model...",
"description": "A set of armor crafted from the scales of a mighty dragon",
"projectId": "pyDjppkvO",
"categoryId": "CrAR01Tz2",
"name": "Dragonbone Armor",
"category": {
"CsRabGrUR": "Fire",
"CjCXz2u61": "Dragon",
"CE2TTib4Y": "Armor"
},
"state": "draft",
"createdAt": "2024-01-11T16:00:00.00Z"
},
{
"createdAt": "2024-01-15T13:00:00.00Z",
"state": "published",
"category": {
"CsRabGrUR": "Flight",
"CjCXz2u61": "Outift",
"CE2TTib4Y": "Mystery"
},
"name": "Mystic Robe",
"displayInteractive": "{\"type\":\"DisplayBabylon\",\"lighting\":\"default\",\"model...",
"description": "A mystical robe that enhances the wearer's magical abilities",
"projectId": "pyDjppkvO",
"categoryId": "CrAR01Tz2",
"voteThresholdSettings": "100",
"tags": [
"armor",
"robe",
"magic"
],
"approvalMethod": "automatic",
"displayThumbnail": "{\"type\":\"DisplayImagePostBlender\",\"width\":512,\"height\":512,\"url\":\"...",
"id": "s210n8qbi",
"type": "armor",
"data": "{\"label\":\"armor\",\"children\":{\"defensePower\":{\"label\":\"defensePower\",\"value\":..",
"thumbnail": "https://file.playmakers.co/s210n8qbi/mystic_robe_thumbnail.jpg"
}
]
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"
}