Rivier/ Reference/ files

Create a collection

post/assets/collections

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:write
Mcp
rivier_assets_collection_save
Graphql
Mutation.filesCollectionCreate
Sdk
files.collection.create
Cli
files collection create

Request bodyapplication/json, required

  • namestringrequired
    At most 120 characters.
  • kindstring
    One of: set, character, campaign, kit, series, custom.
  • descriptionstring
    At most 1000 characters.
  • refKindstring
    At most 40 characters.
  • refIdstring
    At most 200 characters.
  • assetIdslist of string (uuid)

Responses

  • 201application/json
    Success
    • collectionobjectrequired
      • idstring (uuid)required
      • namestringrequired
      • kindstringrequired
        One of: set, character, campaign, kit, series, custom.
      • descriptionstringrequired
  • 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