Rivier/ Reference/ hosting

Make a page a portfolio project or change its details

put/hosting/sites/{id}/pages/{page}/project

Make a page a portfolio project or change its details: cover, summary, year, client, roles, tags, links, order, and who can see it (draft, public, unlisted, expiring; password arrives with the gate). A project starts as a private draft; a person makes it visible.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Mcp
rivier_site_project_set
Graphql
Mutation.hostingProjectSet
Sdk
hosting.project.set
Cli
hosting project set

Parameters

  • idstring (uuid)required
    In the path
  • pagestring (uuid)required
    In the path

Request bodyapplication/json, required

  • coverobject or null
  • summarystring
    Default: . At most 300 characters.
  • yearinteger or null
  • clientstring
    Default: . At most 120 characters.
  • roleslist of string
    Default: [].
  • tagslist of string
    Default: [].
  • linkslist of object
    Default: [].
    • labelstringrequired
      At most 60 characters.
    • urlstring (uri)required
      At most 300 characters.
  • visibilitystring
    One of: draft, public, unlisted, expiring, password.
  • expiresAtstring or null
  • orderinteger or null
  • featuredboolean
  • rightsobject or null
  • passwordstring
    At most 128 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