Get all submissions of userId, filter by projectId, state
GET/submissions/by/user
Get all submissions of userId, filter by projectId, state
Request
Query Parameters
Possible values: [draft
, pendingValidation
, submitted
, approved
, rejected
, pendingClaim
, rewarded
, claimed
]
Responses
- 200
- 401
- 403
- 500
- default
Submissions successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Thumbnail data
Submission title
Submission creation time
Submission description
Structural data about the submission
Unique identifier for Schema
Submission name
Thumbnail image relative to the submission
Computation technique
Possible values: [draft
, pendingValidation
]
State in which the submission is
Submission source
Integer representing amount of comments on submission
Unique submission identifier
Unique identifier of the owner
Integer representing amount of votes on submission
[
{
"creatorDisplayThumbnailData": "",
"postTitle": " Code face paint for the latest release",
"createdAt": "2024-09-11T10:30:56.168Z",
"description": "This is a new submission for a facepaint",
"data": "{\"schema\":\"facepaint\",\"children\":{\"albedo\":{\"schema\":\"albedo\",\"image\":\"https://file.playmakers.co/S1gf0qsVq/data/facepaint.png\"}}}",
"schemaId": "s2S7KuFGc",
"name": "Screaming Facepaint",
"thumbnail": "https://file.playmakers.co/S1gf0qsVq/thumbnail.png",
"computation": "default",
"state": "draft",
"source": "",
"commentCount": 0,
"id": "S1gf0qsVq",
"ownerId": "ab1a4ade-6eb9-40cd-bb3e-f274af238649",
"voteCount": 0
}
]
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"
}
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"
}