Bloss Docs

Mark many videos irrelevant, or restore them

Developers
PATCH
/brands/{brandId}/videos

brand.video.update for up to 100 videos, one after another, as the Video Vault's bulk action does. A video that can't be changed (missing, not the brand's, its set's money already moved, custom pay without confirmOverrideLoss, a trial set for a limited admin) is skipped, not fatal: skippedDetails says why for each. Marking takes every set involved apart and recalculates its pay. Preview with dryRun: it checks each video and changes nothing (a set with several of the listed videos may then be counted more than once).

Authorization

bearerAuth videos: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: videos:write

Path Parameters

brandId*string

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

Length1 <= length

Query Parameters

dryRun?string

"true": run every check and return { dryRun: true, wouldChange } without changing anything.

Value in"true""false"

Request Body

application/json
  1. body
videoIds*array<>

1–100 video ids (id) from GET /brands/{brandId}/videos.

Items1 <= items <= 100
isIrrelevant*boolean

true marks the video irrelevant: it stops counting, and if it's in a set the whole set comes apart (every video in it is marked too, and the set stops earning). false restores it.

confirmOverrideLoss?boolean

Required (true) to mark a video whose set has custom pay: marking it loses that negotiated amount. Without it such a video is refused.

Response Body

Success.

application/json
  1. response
updated*number
skipped*number
skippedVideoIds*array<string>
skippedDetails*array<>
curl -X PATCH 'https://example.com/api/v1/brands/string/videos' \  -H 'Content-Type: application/json' \  -d '{  "videoIds": [    "string"  ],  "isIrrelevant": true}'
{  "updated": 0,  "skipped": 0,  "skippedVideoIds": [    "string"  ],  "skippedDetails": [    {      "videoId": "string",      "code": "string",      "reason": "string"    }  ]}

Was this page helpful?