Schema
post/v1/tenants/{tenant_id}/schemas/write

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

tenant_idstring required

Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \“[a-zA-Z0-9-,]+\“, max 64 bytes.

Request body

schemastring

schema is the string representation of the schema to be written.

Response

A successful response.

schema_versionstring

schema_version is the string that identifies the version of the written schema.

Changes

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      added required request body

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status