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