Pular para o conteúdo principal
GET
/
v2
/
enterprise
/
snapshots
/
{snapshot_id}
Obter Snapshot
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/snapshots/{snapshot_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "is_default": true,
  "org": {
    "created_at": "2023-11-07T05:31:56Z",
    "display_name": "<string>",
    "org_id": "<string>"
  },
  "snapshot_id": "<string>",
  "snapshot_name": "<string>",
  "status": "<string>",
  "pending_scripts": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "script_id": "<string>",
      "script_name": "<string>",
      "status": "<string>"
    }
  ]
}
Requer uma chave de API pessoal de administrador Enterprise. Este endpoint retorna informações detalhadas sobre um Machine Snapshot específico dentro da sua conta Enterprise.

Autorizações

Authorization
string
header
obrigatório

Chave de API pessoal (apk_user_*) somente para administradores do Enterprise

Parâmetros de caminho

snapshot_id
string
obrigatório

Resposta

Resposta bem-sucedida

created_at
string<date-time>
obrigatório
description
string | null
obrigatório
is_default
boolean
obrigatório
org
EnterpriseOrganizationResponse · object
obrigatório
snapshot_id
string
obrigatório
snapshot_name
string
obrigatório
status
string
obrigatório
pending_scripts
EnterpriseSnapshotScriptResponse · object[] | null