http://localhost:8082.
POST /schemas
Create a new schema. Devset supports two schema types:json for JSON Schema documents and protobuf for Protocol Buffer definitions.
A unique identifier for this schema, such as
order-created or payment-processed.A numeric version for this schema, such as
1 or 2.The schema format. Accepted values:
json, protobuf.The schema definition. For
json, provide a JSON Schema object. For protobuf, provide the raw .proto file content as a string.Protobuf only. A Base64-encoded
FileDescriptorSet binary. Provide this when your .proto file imports other files and you want Devset to resolve them offline.Protobuf only. The fully-qualified name of the root message type to use for deserialization, such as
com.example.OrderCreated.- JSON Schema
- Protobuf
Request example
The identifier of the newly created schema.
The version number that was stored.
The schema format:
json or protobuf.The stored schema definition.
GET /schemas
List all schemas registered in Devset. The response contains summary information for each schema, including its full definition. Response — 200 OKThe unique schema identifier.
The version number for this schema.
The schema format:
json or protobuf.The schema definition.
Protobuf only. The Base64-encoded
FileDescriptorSet, if one was provided.Protobuf only. The fully-qualified root message name, if one was provided.
PUT /schemas/
Replace an existing schema entirely. You must provide the full schema body — partial updates are not supported. Devset overwrites the stored definition and returns the updated schema. Path parametersThe
id of the schema to replace.Must match the
schemaId path parameter.The updated version number.
The schema format:
json or protobuf.The updated schema definition.
Protobuf only. Updated Base64-encoded
FileDescriptorSet.Protobuf only. Updated root message type name.
DELETE /schemas/
Permanently delete a schema. This cannot be undone. Path parametersThe
id of the schema to delete.204 No Content response confirms successful deletion.