-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c0b9a8
commit 2273d86
Showing
10 changed files
with
230 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of Jam objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/Jam.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
description: Error response when trying to show information about a non-existent jam. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/Error.yaml | ||
examples: | ||
404 Jam not found: | ||
value: | ||
error: | ||
message: "404 id must be an ID˸ 'invalid_id_here'" | ||
status_code: 404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: Returns a Jam object. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../schemas/Jam.yaml |
7 changes: 7 additions & 0 deletions
7
openapi/components/responses/system/SubmissionListResponse.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: Returns a list of Submission objects. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../../schemas/Submission.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
description: '' | ||
properties: | ||
description: | ||
minLength: 1 | ||
type: string | ||
id: | ||
type: string | ||
minLength: 1 | ||
example: jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9 | ||
isVisible: | ||
type: boolean | ||
moreInfo: | ||
type: string | ||
minLength: 1 | ||
state: | ||
type: string | ||
minLength: 1 | ||
description: |- | ||
One of: | ||
- submissions_open | ||
- closed | ||
stateChangeDates: | ||
type: object | ||
properties: | ||
closed: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
submissionsClosed: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
submissionsOpened: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
winnersSelected: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
example: null | ||
submissionContentGateDate: | ||
type: string | ||
format: date-time | ||
nullable: true | ||
submissionContentGated: | ||
type: boolean | ||
title: | ||
type: string | ||
minLength: 1 | ||
updated_at: | ||
type: string | ||
format: date-time | ||
required: | ||
- description | ||
- id | ||
- isVisible | ||
- moreInfo | ||
- state | ||
- stateChangeDates | ||
- submissionContentGateDate | ||
- submissionContentGated | ||
- title | ||
- type | ||
- updated_at | ||
title: Jam | ||
type: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
description: '' | ||
properties: | ||
contentId: | ||
minLength: 1 | ||
type: string | ||
description: Either world ID or avatar ID | ||
created_at: | ||
type: string | ||
format: date-time | ||
description: | ||
type: string | ||
id: | ||
type: string | ||
minLength: 1 | ||
example: jsub_f01f44fa-89fa-443c-ab4c-7fed9245970f | ||
jamId: | ||
type: string | ||
minLength: 1 | ||
example: jam_0b7e3f6d-4647-4648-b2a1-1431e76906d9 | ||
ratingScore: | ||
type: integer | ||
minimum: 0 | ||
submitterId: | ||
$ref: ../schemas/UserID.yaml | ||
required: | ||
- contentId | ||
- created_at | ||
- description | ||
- id | ||
- jamId | ||
- ratingsScore | ||
- submitterId | ||
title: Submission | ||
type: object |