Skip to content
GitmoapAPIBeta
Schema

WikiHeading

One heading in a page's table of contents.

Shape

  • anchorstringThe GitHub-compatible slug, which is what a link into the page uses.
  • headingstring
  • levelinteger · int32
  • ordinalinteger · int32
  • parent_ordinalinteger · int32 or nulloptionalThe enclosing heading's ordinal, so a client can rebuild the tree without a second read.

Example

Synthesized example
{
"anchor": "anchor-b87b",
"heading": "heading-552e",
"level": 63,
"ordinal": 3,
"parent_ordinal": 27
}

Graph

Used inside
Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.