Skip to content

Commit

Permalink
feat: updated specs for /v1/activities/{path}/rewards/{participantId}…
Browse files Browse the repository at this point in the history
…/status [get]
  • Loading branch information
andreyxdd authored Oct 23, 2024
1 parent 93ee41a commit 9c9f31b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,22 +572,22 @@ paths:
'500':
description: Internal server error

/activities/{activity_id}/rewards/{participant_id}/status:
/activities/{path}/rewards/{participant_id}/status:
get:
tags:
- Activities
summary: Fetch status of a unique reward link given to a activity particpant
description: Returns status of a unique reward link using participant's wallet friendly address or Telegram user id. Activity participants can [connect a wallet](https://docs.ton.org/develop/dapps/ton-connect/overview) before they start participating in the activity. In case of Telegram Mini App, simply use [window.Telegram.WebApp.initData.user.id](https://www.tapps.center/docs/packages/tma-js-init-data/user).
operationId: getParticipantRewardStatus
parameters:
- name: activity_id
- name: path
in: path
description: Id of the activity, for wich the participant was rewarded
description: Activity's internal id or friendly collection address (minted for the given activity)
required: true
explode: true
schema:
type: number
default: 182
type: string
default: EQD264kOuQVWEbcgE7yo46_wiXmD55-9G7Wa_x46sDxlGRoq
- name: participant_id
in: path
description: Unique identifier of the activity participant, either wallet address (friendly format) or Telegram user Id
Expand All @@ -596,9 +596,6 @@ paths:
schema:
type: string
default: 733289
security:
- api_key: []
- partner_id: []
responses:
'200':
description: Successful operation
Expand Down

0 comments on commit 9c9f31b

Please sign in to comment.