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 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