From efc72adfe256810e66f6b94ceb9d96e47c91e104 Mon Sep 17 00:00:00 2001 From: andreyxdd Date: Wed, 22 Jan 2025 18:00:23 +0000 Subject: [PATCH] deploy: 888157c29fcdad878bfb7279bda611f631d8ed72 --- openapi.yaml | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 77de76d..a1f04c2 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -442,46 +442,6 @@ paths: - api_key: [] - partner_id: [] - /activities/{activity_id}/rewards: - post: - tags: - - Activities - summary: Fetch a unique reward link (deprecated) - description: This endpoint will be **deprecated** soon, please consider using an [alternative approach](https://ton-society.github.io/sbt-platform/#/Allowlists). Otherwise, it returns a unique reward link for users to receive rewards through particpation in activities. The link is generated based on activity ID, user's unique identificator (wallet friendly address or Telegram user id). For example, users 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: createRewardLink - parameters: - - name: activity_id - in: path - description: Activity id - required: true - explode: true - schema: - type: number - default: 129 - security: - - api_key: [] - - partner_id: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CreateRewardLinkBody' - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/SuccessRewardLink' - '400': - description: Invalid query/path/body param provided - '404': - description: Resource not found - '500': - description: Internal server error - /activities/{activity_id}/rewards/{participant_id}: get: tags: