metadata
Hasura-compatible metadata API
Dispatches on args.type to per-op handlers. Operations not yet migrated off the Hasura proxy return {code: "not-supported"}. Admin-only: requests without a valid X-Hasura-Admin-Secret header are rejected with 401 (no JWT fallback).
post/v1/metadata
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/metadata
- AuthAPI key in header X-Hasura-Admin-Secret
Request body
Example request
{
"type": "export_metadata"
}Response
Per-operation result. The body shape varies by type: most ops return {message: "success"}, export_metadata returns {resource_version, metadata}, etc. Modelled as a freeform object until per-op schemas are migrated into this spec.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.