---
title: "POST /v1/{+name}"
method: POST
path: "/v1/{+name}"
tags: ["projects"]
---

# POST /v1/{+name}

`POST /v1/{+name}`

Check compatibility of a schema with all versions or a specific version of a subject.

## Path parameters

- `name` string, required

## Request body

- CheckCompatibilityRequest — Request for CheckCompatibility.
  - `schemaType` 'SCHEMA_TYPE_UNSPECIFIED' | 'AVRO' | 'JSON' | 'PROTOBUF' — Optional. The schema type of the schema.
  - `schema` string — Required. The schema payload
  - `verbose` boolean — Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false.
  - `references` SchemaReference[] — Optional. The schema references used by the schema.
    - `version` integer — Required. The version of the reference.
    - `name` string — Required. The name of the reference.
    - `subject` string — Required. The subject of the reference.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/managedkafka.md) · [All operations](https://skmtc.net/google/apis/managedkafka/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/managedkafka/revisions/ebfb70483869/schema)
