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)requiredIn the path
- pagestring (uuid)requiredIn the path
Request bodyapplication/json, required
- coverobject or null
- summarystringDefault: . At most 300 characters.
- yearinteger or null
- clientstringDefault: . At most 120 characters.
- roleslist of stringDefault: [].
- tagslist of stringDefault: [].
- linkslist of objectDefault: [].
- labelstringrequiredAt most 60 characters.
- urlstring (uri)requiredAt most 300 characters.
- labelstringrequired
- visibilitystringOne of: draft, public, unlisted, expiring, password.
- expiresAtstring or null
- orderinteger or null
- featuredboolean
- rightsobject or null
- passwordstringAt most 128 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring