Apps
Set the app's spend caps per round, generation and month
Changed onSets the caps on the app itself; no version is published. An omitted key keeps its value and null returns it to the platform default. A live round is refused when its own cap would take the generation or the month past theirs. Allowed for an owner of a self-serve workspace; in other workspaces the caps are set by Talonic and the call is 403. Requires the owner access tier on the app.
patch/v1/apps/{id}/mining/spend-caps
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
object required
per_round_usd, number nullable
Most one round may spend
per_generation_usd, number nullable
Most one exploration generation may spend
per_month_usd, number nullable
Most the app may spend in a calendar month (UTC)
Response
The effective caps and the values stored on the app.
object required
caps, App Rules Effective Spend Caps
app_caps, object nullable
The values stored on the app; a missing or null key uses the platform default.
Changes
- info
endpoint added
- info