v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133370117.8 KB
projects

Validates a message against a schema.

post/v1/{+parent}/schemas:validateMessage

Path parameters

parentstring required

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

Request body

encoding'ENCODING_UNSPECIFIED' | 'JSON' | 'BINARY'

The encoding expected for messages

namestring

Name of the schema against which to validate. Format is projects/{project}/schemas/{schema}.

messagestring byte

Message to validate against the provided schema_spec.

Response

Successful response