Get submissions by IDs
GEThttps://api.playmakers.co/submissions/by/ids
Get submissions by IDs
Request
Query Parameters
List of submission IDs
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
]
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
- 400
- 500
- default
List of submissions
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [draft
, pendingValidation
]
State in which the submission is
Integer representing amount of comments on submission
Submission source
Thumbnail data
Integer representing amount of votes on submission
Thumbnail image relative to the submission
Submission title
Unique identifier for Schema
Computation technique
Unique identifier of the owner
Submission description
Submission creation time
Structural data about the submission
Possible values: <= 32 characters
Name of the submission
Unique submission identifier
[
{
"state": "draft",
"commentCount": 0,
"source": "",
"creatorDisplayThumbnailData": "",
"voteCount": 0,
"thumbnail": "https://file.playmakers.co/S1gf0qsVq/thumbnail.png",
"postTitle": " Code face paint for the latest release",
"schemaId": "s2S7KuFGc",
"computation": "default",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"description": "This is a new submission for a facepaint",
"createdAt": "2024-09-11T10:30:56.168Z",
"data": "{\"schema\":\"facepaint\",\"children\":{\"albedo\":{\"schema\":\"albedo\",\"image\":\"https://file.playmakers.co/S1gf0qsVq/data/facepaint.png\"}}}",
"name": "Screaming Facepaint",
"id": "S1gf0qsVq"
}
]
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Bad Request"
}
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"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.playmakers.co/submissions/by/ids' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'