Liking cljdoc? Tell your friends :D

API

Version: 0.2.1

/v1beta1/namespaces

GET

Summary

List names of namespaces

Responses
CodeDescriptionSchema
200A successful response.v1beta1ListNamespacesResponse
defaultAn unexpected error response.rpcStatus

POST

Summary

Create namespace entry

Parameters
NameLocated inDescriptionRequiredSchema
bodybody Yesv1beta1CreateNamespaceRequest
Responses
CodeDescriptionSchema
200A successful response.v1beta1CreateNamespaceResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{id}

GET

Summary

Get namespace by id

Parameters
NameLocated inDescriptionRequiredSchema
idpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1GetNamespaceResponse
defaultAn unexpected error response.rpcStatus

DELETE

Summary

Delete namespace by id

Description

Ensure all schemas under this namespace is deleted, otherwise it will throw error

Parameters
NameLocated inDescriptionRequiredSchema
idpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1DeleteNamespaceResponse
defaultAn unexpected error response.rpcStatus

PUT

Summary

Update namespace entity by id

Parameters
NameLocated inDescriptionRequiredSchema
idpath Yesstring
bodybody Yesobject
Responses
CodeDescriptionSchema
200A successful response.v1beta1UpdateNamespaceResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{id}/schemas

GET

Summary

List schemas under the namespace

Parameters
NameLocated inDescriptionRequiredSchema
idpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1ListSchemasResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}

GET

Summary

Get latest schema

Description

Returns latest schema in it's own data type. For protobuf response type would be 'application/octet-stream'. Avro, json schema response type would be 'application/json'

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
Responses
CodeDescriptionSchema
200A successful schema response. Based on schema format, response will return different content types. For avro and json schemas response type is application/json. For protobuf response type is application/octet-stream.
defaultAn unexpected error response.rpcStatus

POST

Summary

Create schema under the namespace

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
bodybodyRequest payload should be equivalent to curl --data-binary optionYesbinary
Responses
CodeDescriptionSchema
200A successful response.v1beta1CreateSchemaResponse
defaultAn unexpected error response.rpcStatus

DELETE

Summary

Delete specified schema

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1DeleteSchemaResponse
defaultAn unexpected error response.rpcStatus

PATCH

Summary

Update only schema metadata

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
bodybody Yesobject
Responses
CodeDescriptionSchema
200A successful response.v1beta1UpdateSchemaMetadataResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/check

POST

Summary

Check schema compatibility

Description

Checks comptibility with existing latest schema

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
bodybody Yesbinary
X-Compatibilityheader Nostring
Responses
CodeDescriptionSchema
200A successful response.v1beta1CreateSchemaResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/meta

GET

Summary

Create schema under the namespace. Returns version number, unique ID and location

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1GetSchemaMetadataResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/versions

GET

Summary

List all version numbers for schema

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
Responses
CodeDescriptionSchema
200A successful response.v1beta1ListVersionsResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/namespaces/{namespaceId}/schemas/{schemaId}/versions/{versionId}

DELETE

Summary

Delete specified version of the schema

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdpath Yesstring
schemaIdpath Yesstring
versionIdpath Yesinteger
Responses
CodeDescriptionSchema
200A successful response.v1beta1DeleteVersionResponse
defaultAn unexpected error response.rpcStatus

/v1beta1/search

GET

Summary

Global Search API

Parameters
NameLocated inDescriptionRequiredSchema
namespaceIdquery Nostring
schemaIdquery Nostring
queryquery Yesstring
historyquery Noboolean
versionIdquery Nointeger
Responses
CodeDescriptionSchema
200A successful response.v1beta1SearchResponse
defaultAn unexpected error response.rpcStatus

Models

SchemaCompatibility

NameTypeDescriptionRequired
SchemaCompatibilitystring

SchemaFormat

NameTypeDescriptionRequired
SchemaFormatstring

protobufAny

NameTypeDescriptionRequired
typeUrlstring No
valuebyte No

rpcStatus

NameTypeDescriptionRequired
codeinteger No
messagestring No
details[ protobufAny ] No

v1beta1CheckCompatibilityResponse

NameTypeDescriptionRequired
v1beta1CheckCompatibilityResponseobject

v1beta1CreateNamespaceRequest

NameTypeDescriptionRequired
idstring Yes
formatSchemaFormat No
compatibilitySchemaCompatibility No
descriptionstring No

v1beta1CreateNamespaceResponse

NameTypeDescriptionRequired
namespacev1beta1Namespace No

v1beta1CreateSchemaResponse

NameTypeDescriptionRequired
versioninteger No
idstring No
locationstring No

v1beta1DeleteNamespaceResponse

NameTypeDescriptionRequired
messagestring No

v1beta1DeleteSchemaResponse

NameTypeDescriptionRequired
messagestring No

v1beta1DeleteVersionResponse

NameTypeDescriptionRequired
messagestring No

v1beta1GetLatestSchemaResponse

NameTypeDescriptionRequired
databyte No

v1beta1GetNamespaceResponse

NameTypeDescriptionRequired
namespacev1beta1Namespace No

v1beta1GetSchemaMetadataResponse

NameTypeDescriptionRequired
formatSchemaFormat No
compatibilitySchemaCompatibility No
authoritystring No

v1beta1GetSchemaResponse

NameTypeDescriptionRequired
databyte No

v1beta1ListNamespacesResponse

NameTypeDescriptionRequired
namespaces[ string ] No

v1beta1ListSchemasResponse

NameTypeDescriptionRequired
schemas[ string ] No

v1beta1ListVersionsResponse

NameTypeDescriptionRequired
versions[ integer ] No

v1beta1Namespace

NameTypeDescriptionRequired
idstring No
formatSchemaFormat No
CompatibilitySchemaCompatibility No
descriptionstring No
createdAtdateTime No
updatedAtdateTime No

v1beta1SearchHits

NameTypeDescriptionRequired
namespaceIdstring No
schemaIdstring No
versionIdinteger No
fields[ string ] No
types[ string ] No
pathstring No

v1beta1SearchMeta

NameTypeDescriptionRequired
totallong No

v1beta1SearchResponse

NameTypeDescriptionRequired
hits[ v1beta1SearchHits ] No
metav1beta1SearchMeta No

v1beta1UpdateNamespaceResponse

NameTypeDescriptionRequired
namespacev1beta1Namespace No

v1beta1UpdateSchemaMetadataResponse

NameTypeDescriptionRequired
formatSchemaFormat No
compatibilitySchemaCompatibility No
authoritystring No

Can you improve this documentation? These fine people already did:
Hari krishna & Ravi Suhag
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close