Skip to main content
POST
/
rpc
/
create-snapshot-from-run
Create new snapshot from a run
curl --request POST \
  --url https://api.example.com/rpc/create-snapshot-from-run \
  --header 'Content-Type: application/json' \
  --data '
{
  "runId": "<string>",
  "userId": "<string>",
  "volumeId": "<string>",
  "description": "<string>"
}
'
{
  "createdAt": "<string>",
  "createdBy": {
    "firstName": "<string>",
    "id": "<string>",
    "lastName": "<string>",
    "userName": "<string>"
  },
  "id": "<string>",
  "updatedAt": "<string>",
  "updatedBy": {
    "firstName": "<string>",
    "id": "<string>",
    "lastName": "<string>",
    "userName": "<string>"
  },
  "version": 123,
  "volumeId": "<string>",
  "description": "<string>",
  "labels": {},
  "lastMountedTime": "<string>",
  "runId": "<string>",
  "tags": [
    {
      "addedAt": "<string>",
      "addedBy": {
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>",
        "userName": "<string>"
      },
      "name": "<string>"
    }
  ]
}

Body

application/json

Snapshot to create from run ID

runId
string
required

Run ID associated with the snapshot

userId
string
required

User that initiated the run, set as snapshot creator

volumeId
string
required
description
string

Response

OK

createdAt
string
required
createdBy
object
required
id
string
required
status
enum<string>
required
Available options:
Active,
MarkedForDeletion,
Deleted
updatedAt
string
required
updatedBy
object
required
version
integer
required

Links to ONTAP snapshot name

volumeId
string
required
description
string
labels
object

System-specified, e.g. for Flows artifacts

lastMountedTime
string
runId
string

Optional field denoting resource associated with a run

tags
object[]

User-specified, used for mount path resolution and is derived from SnapshotTags