# Check if a schema is already registered for the subject.

**POST /subjects/{subject}**




## Servers
- http://localhost:8081: http://localhost:8081 ()



## Parameters

### Path parameters
- **subject** (string)
  The subject name. Use [:.<context>:]<subject> for context-qualified subjects, or just <subject> for the default context.

### Query parameters
- **normalize** (boolean)

- **deleted** (boolean)

- **format** (string)
  Redpanda version 25.2 or later. For Avro and Protobuf schemas only. Supported values: an empty string `''` returns the schema in its current format (default), and `serialized` (Protobuf only) returns the schema in its Base64-encoded wire binary format. Unsupported values return a 501 error.

### Body: application/json (object)

- **schema** (string)

- **schemaType** (string)

- **references** (array[object])

- **metadata** (object)
  A map of user-defined properties associated with this schema


## Responses
### 200
OK

#### Body: application/json (object)
- **subject** (string)

- **version** (integer)

- **id** (integer)

- **schemaType** (string)

- **references** (array[object])

- **metadata** (object)

- **schema** (string)


### 404
Not Found

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 409
Incompatible schema

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 422
Invalid schema

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 500
Internal Server Error

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)


### 501
Not Implemented: The specified format parameter value is not supported

#### Body: application/json (object)
- **error_code** (integer)

- **message** (string)



[Powered by Bump.sh](https://bump.sh)
