Rivier/ Reference/ content

Offer a licence

post/portfolio/offers

Offer a licence: what it allows, where, for how long, whether exclusive, and the price. The buyer answers at a private link; no money moves here.

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:admin
Sdk
content.offer.create
Cli
content offer create

Request bodyapplication/json, required

  • entryIdstring (uuid)required
  • assetIdstring (uuid)
  • titlestringrequired
    At most 160 characters.
  • usagestringrequired
    At most 600 characters.
  • territorystring
    Default: worldwide. At most 120 characters.
  • termMonthsinteger
    At least 1. At most 1200.
  • exclusiveboolean
    Default: false.
  • priceMinorintegerrequired
    At least 0.
  • currencystringrequired
    Pattern: ^[a-z]{3}$.
  • buyerNamestring
    Default: . At most 160 characters.
  • daysinteger
    Default: 30. At least 1. At most 90.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown