---
title: "Get the project dependencies of a snapshot"
method: GET
path: "/registry/{snapshot_id}"
tags: ["registry"]
---

# Get the project dependencies of a snapshot

`GET /registry/{snapshot_id}`

## Path parameters

- `snapshot_id` string, required

## Response `200`

Project dependencies retrieved successfully

- Project
  - `id` string, required
  - `dependencies` Dependency[], required
    - `id` string, required
    - `snapshot` Snapshot, required
      - `meta` SnapshotMeta, required
        - `id` string, required
        - `owner` string, required
        - `file_name` string, required
        - `version` integer, required
        - `registered` boolean
        - `created_at` string, date-time, required
      - `content` string, required

## Other responses

- `404` — Snapshot not found

## Changes

- **2025-01-20** `211195a7bd6a` — 6 info
  - the response property `dependencies` became required for the status `200`
  - the response property `dependencies/items/id` became required for the status `200`
  - the response property `dependencies/items/snapshot` became required for the status `200`
  - the response property `dependencies/items/snapshot/content` became required for the status `200`
  - …2 more
- **2025-01-20** `20e8e755a09e` — 1 breaking, 5 info
  - added the pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` to the `path` request parameter `snapshot_id`
  - the `dependencies/items/id` response's property pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` was added for the status `200`
  - the `dependencies/items/snapshot/meta/file_name` response's property pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` was added for the status `200`
  - the `dependencies/items/snapshot/meta/id` response's property pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` was added for the status `200`
  - …2 more
- **2025-01-20** `62a8a43f650d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/registry/:snapshot_id/get.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/revisions/211195a7bd6a?raw)
