Rivier/ Reference/ hosting

Deployments of a site, newest first

get/hosting/sites/{id}/deployments

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Mcp
rivier_hosting_deployments_list
Graphql
Query.hostingDeploymentList
Sdk
hosting.deployment.list
Cli
hosting deployment list

Parameters

  • idstring (uuid)required
    In the path
  • kindstring
    In the query

Responses

  • 200application/json
    Success
    • deploymentslist of objectrequired
      • idstring (uuid)required
      • projectIdstring (uuid)required
      • kindstringrequired
        One of: production, preview.
      • statestringrequired
      • sourcestringrequired
      • refstringrequired
      • bundleBytesnumberrequired
      • urlstring or nullrequired
      • releasestring or nullrequired
      • promotedFromstring (uuid) or nullrequired
      • errorstring or nullrequired
      • expiresAtstring or nullrequired
      • createdBystringrequired
      • createdAtstringrequired
      • finishedAtstring or nullrequired
  • 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