Rivier/ Reference/ files

Change an asset's name, description, tags, licence or disclosure

patch/assets/{id}

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:write
Mcp
rivier_assets_update
Graphql
Mutation.filesAssetUpdate
Sdk
files.asset.update
Cli
files asset update
Events
files.asset.updated

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • namestring
    At most 300 characters.
  • kindstring
    One of: logo, mark, lockup, wordmark, favicon, palette, typography, guideline, voice, imagery, persona_sheet, avatar, template, font, document, video, audio, image, other.
  • descriptionstring
    At most 2000 characters.
  • altTextstring
    At most 1500 characters.
  • tagslist of string
  • licenceobject or null
  • rightsExpiresAtstring (date-time) or null
  • aiobject or null
  • disclosureLinestring
    At most 400 characters.
  • provenanceobject
    • originPathstring
      At most 500 characters.
    • sourceRefstring
      At most 500 characters.
    • sourceUrlstring (uri)
      At most 1000 characters.
    • importedFromstring
      At most 200 characters.
    • notestring
      At most 500 characters.
  • reasonstring
    At most 200 characters.

Responses

  • 200application/json
    Success

    object

  • 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