Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions api/swagger/swagger-v1-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6553,7 +6553,7 @@ components:
entity_id:
type: string
entity_type:
type: string
$ref: '#/components/schemas/comment_entity_type'
user_id:
type: string
message:
Expand Down Expand Up @@ -6615,7 +6615,7 @@ components:
entity_id:
type: string
entity_type:
type: string
$ref: '#/components/schemas/comment_entity_type'
user_id:
type: string
message:
Expand Down Expand Up @@ -11553,6 +11553,11 @@ components:
type: integer
description: The reward amount
example: 100
comment_entity_type:
type: string
description: Type of entity that can be commented on
enum:
- Track
responses:
ParseError:
description: When a mask can't be parsed
Expand Down
13 changes: 12 additions & 1 deletion api/swagger/swagger-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -229,6 +230,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -534,6 +536,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -606,6 +609,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -3219,6 +3223,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: location
content:
application/json:
schema:
Expand Down Expand Up @@ -4005,6 +4010,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -4087,6 +4093,7 @@ paths:
schema:
type: string
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -5982,6 +5989,7 @@ paths:
type: string
example: "7eP5n"
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -6045,6 +6053,7 @@ paths:
type: string
example: "7eP5n"
requestBody:
x-codegen-request-body-name: metadata
required: true
content:
application/json:
Expand Down Expand Up @@ -6370,6 +6379,7 @@ paths:
description: Claims all the filtered undisbursed rewards for a user
operationId: Claim Rewards
requestBody:
x-codegen-request-body-name: reward
required: true
content:
application/json:
Expand All @@ -6395,7 +6405,7 @@ paths:
description: Creates a new reward code with Solana signature verification
operationId: Create Reward Code
requestBody:
required: true
x-codegen-request-body-name: body
content:
application/json:
schema:
Expand Down Expand Up @@ -6439,6 +6449,7 @@ paths:
operationId: Claim Prize
description: 'Claims a prize by verifying a Solana transaction. User must send exactly 2 YAK to the prize receiver address. Returns the prize won and any redeem codes/URLs.'
requestBody:
x-codegen-request-body-name: claim
required: true
content:
application/json:
Expand Down