GET /snapshots
List snapshots
List all snapshots for the team
Параметры
sandboxID·string· запрос · необязательноFilter snapshots by source sandbox ID
name·string· запрос · необязательноFilter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
limit·integer· запрос · необязательноMaximum number of items to return per page
Формат:
int32По умолчанию:
100Минимум:
1Максимум:
100nextToken·string· запрос · необязательноCursor to start the list from
Ответы
200
Successfully returned snapshots
Заголовки ответа
X-Next-Token·string· заголовок ответаCursor to fetch the next page of results, if more exist
Content-Type: application/json
Схема: array<SnapshotInfo>
snapshotID·string· обязательноIdentifier of the snapshot template including the tag. Uses namespace/alias when a name was provided (e.g. team-slug/my-snapshot:default), otherwise falls back to the raw template ID (e.g. abc123:default).
names·array<string>· обязательноFull names of the snapshot template including team namespace and tag (e.g. team-slug/my-snapshot:v2)
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError