Get submissions
GET/submissions
Get submissions
Request
Query Parameters
Owner ID
Project ID
Schema ID
Search for submission by state
Search for submission 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
, name
, state
, popularity
, trending
, voteCount
, commentCount
]
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
- default
Submission successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Structural data about the submission
Submission description
Submission title
Integer representing amount of comments on submission
Submission creation time
Possible values: <= 32 characters
Name of the submission
Computation technique
Possible values: [draft
, pendingValidation
]
State in which the submission is
Submission source
Unique identifier for Schema
Unique identifier of the owner
Integer representing amount of votes on submission
Thumbnail image relative to the submission
Unique submission identifier
Thumbnail data
[
{
"data": "{\"schema\":\"facepaint\",\"children\":{\"albedo\":{\"schema\":\"albedo\",\"image\":\"https://file.playmakers.co/S1gf0qsVq/data/facepaint.png\"}}}",
"description": "This is a new submission for a facepaint",
"postTitle": " Code face paint for the latest release",
"commentCount": 0,
"createdAt": "2024-09-11T10:30:56.168Z",
"name": "Screaming Facepaint",
"computation": "default",
"state": "draft",
"source": "",
"schemaId": "s2S7KuFGc",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"voteCount": 0,
"thumbnail": "https://file.playmakers.co/S1gf0qsVq/thumbnail.png",
"id": "S1gf0qsVq",
"creatorDisplayThumbnailData": ""
}
]
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "An unexpected error occured"
}