Get submission data
GET/submission/:submissionId
Get submission data
Request
Path Parameters
submissionId submissionIdrequired
The submissionId to get the data of
Responses
- 200
- 403
- 404
- 500
- default
Submission successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
createdAt date-time
Submission creation time
thumbnail string
Thumbnail image relative to the submission
state string
Possible values: [draft
, pendingValidation
]
State in which the submission is
source string
Submission source
commentCount integer
Integer representing amount of comments on submission
id string
Unique submission identifier
name submissionName (string)
Possible values: <= 32 characters
Name of the submission
ownerId string
Unique identifier of the owner
data string
Structural data about the submission
voteCount integer
Integer representing amount of votes on submission
description string
Submission description
schemaId stringrequired
Unique identifier for Schema
postTitle string
Submission title
computation string
Computation technique
creatorDisplayThumbnailData string
Thumbnail data
{
"createdAt": "2024-09-11T10:30:56.168Z",
"thumbnail": "https://file.playmakers.co/S1gf0qsVq/thumbnail.png",
"state": "draft",
"source": "",
"commentCount": 0,
"id": "S1gf0qsVq",
"name": "Screaming Facepaint",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"data": "{\"schema\":\"facepaint\",\"children\":{\"albedo\":{\"schema\":\"albedo\",\"image\":\"https://file.playmakers.co/S1gf0qsVq/data/facepaint.png\"}}}",
"voteCount": 0,
"description": "This is a new submission for a facepaint",
"schemaId": "s2S7KuFGc",
"postTitle": " Code face paint for the latest release",
"computation": "default",
"creatorDisplayThumbnailData": ""
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...