schema-templates

Create a schema template

Create a new named schema template with validated field paths.

Mutating route: consumes a rate-limit slot (W2-15 / data-endpoints-01).

post/schemas/templates

Request

  • Base URL: https://api.whoisgeni.us (the document declares no server; this is the origin it was published from)
  • URL: https://api.whoisgeni.us/schemas/templates
  • Auth: none declared

Headers

X-API-Keystring nullable

Request body

namestring required
descriptionstring nullable
mode'include' | 'exclude' required
fieldsstring[] required

Response

Created template

metaobject nullable

Example response

{
  "error": {
    "code": "JOB_NOT_FOUND",
    "message": "No job found with the given ID."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.