Bloss Docs

Edit a Streak Survivor game

Developers
PATCH
/brands/{brandId}/games/{gameId}

Change a game's title, description, prize pool, lives or posts required per day. Send only what changes. Lives and posts per day apply from the next daily check.

Authorization

bearerAuth engagement:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: engagement:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length
gameId*string

A game id from GET /brands/{brandId}/games.

Length1 <= length

Request Body

application/json
  1. body
title?string
Length1 <= length <= 200
description?string
Lengthlength <= 4000
prizePool?number

The prize pool in US dollars.

Range0 < value <= 1000000
startingLives?integer
Range1 <= value <= 100
minPostsPerDay?integer
Range1 <= value <= 100

Response Body

Success.

application/json
  1. response
id*string
title*string
description*string|null
status*string

"pending", "active" or "ended".

prizePool*number

US dollars.

startingLives*number
minPostsPerDay*number
currentDay*number
curl -X PATCH 'https://example.com/api/v1/brands/string/games/string' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "string",  "title": "string",  "description": "string",  "status": "string",  "prizePool": 0,  "startingLives": 0,  "minPostsPerDay": 0,  "currentDay": 0}

Was this page helpful?