Rivier/ Reference/ workspace

Workspace org library publish

post/org-library/items

Share one of this project's templates, segments, forms or brand assets with the organisation's other projects. Sharing it again publishes a new version.

Before you call

Credential
Authorization: Bearer $KEY
Scope
workspace:write
Graphql
Mutation.workspaceOrgLibraryPublish
Sdk
workspace.orgLibrary.publish
Cli
workspace org library publish

Request bodyapplication/json, required

  • kindstringrequired
    One of: template, asset, segment, form.
  • refstringrequired
    At most 120 characters.
  • namestring
    At most 160 characters.
  • folderstring
    At most 80 characters.
  • tagslist of string
  • languagestring
    At most 10 characters.
  • notestring
    At most 300 characters.

Responses

  • 200application/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