---
title: "Get Schema With Guid"
method: GET
path: "/v2/schema"
deprecated: true
---

# Get Schema With Guid

`GET /v2/schema`

> **Deprecated.**

Use the guid to retrieve a schema directly

Parameters:
guid (str): GUID of the schema.
schema_firebase_repository (SchemaFirebaseRepository): injected dependency for
    interacting with the schema collection in firestore.
schema_processor_service (SchemaProcessorService): injected dependency for
    interacting with the schema collection in firestore.

## Query parameters

- `guid` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/office-of-national-statistics/apis/supplementary-data-service.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/supplementary-data-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/supplementary-data-service/revisions/9a87e51baf13/schema)
