/
SW
swap
/
Swap Coffee API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 8h ago · Updated 8h ago
Details
Auth
4
Boosts
8
Cashback
6
Claim
5
Contests
7
get
Get contests
post
Create new contest. For internal usage only
get
Get contest
patch
Update existing contest. For internal usage only
get
Get user stats for contest
get
Get top users' stats for contest
post
Payout rewards for this contest in token. For internal usage only
DEX
4
DexTrades
7
Entity
16
LiquidityProvisioning
9
Partnership
10
Profile
4
Referral
8
Routing
8
Staking
9
Statistics
1
Strategies
14
Ton
2
Yield
7
Contests
Update existing contest. For internal usage only
patch
/v1/contests/{id}
Path parameters
id
integer
required
Request body
ApiContestInfo
required
title
string
required
description
string
required
references
ApiContentReference[]
required
conditions
ApiDexSwapCondition[]
required
rewards
ApiContestReward[]
required
start_time_unix
integer
required
in seconds
end_time_unix
integer
required
in seconds
image_url
string
required
total_reward
string
required
hidden
boolean
required
Response
Updated contest information with id
ApiContestInfoWithID
required
id
integer
required
info
ApiContestInfo
required