Rivier/ Reference/ hosting

Export my data

post/hosting/sites/{id}/data/export

Export my data: the site's records and a dump of what it stores, checked after writing. Kept 30 days.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Mcp
rivier_hosting_export_create
Graphql
Mutation.hostingDataExport
Sdk
hosting.data.export
Cli
hosting data export
Events
hosting.export.created

Parameters

  • idstring (uuid)required
    In the path

Responses

  • 201application/json
    Success
    • idstring (uuid)required
    • projectIdstringrequired
    • siteSlugstringrequired
    • reasonstringrequired
      One of: owner, retention, erasure.
    • statestringrequired
      One of: ready, deleted.
    • partslist of objectrequired
      • namestringrequired
        One of: records, database, storage.
      • bytesnumberrequired
      • sha256string or nullrequired
      • backupIdstring or nullrequired
      • notestringrequired
    • expiresAtstringrequired
    • createdAtstringrequired
  • 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