mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-21 19:04:10 +01:00
Update layouts/_partials/endpoints-toc.html
This commit is contained in:
parent
ab795c236b
commit
fce3a88e44
|
|
@ -5,8 +5,8 @@
|
||||||
The outer page's Scratch must contain an "api_endpoints" key, which is either
|
The outer page's Scratch must contain an "api_endpoints" key, which is either
|
||||||
a slice of maps (a list of endpoint metadata dicts) or a map of module name ->
|
a slice of maps (a list of endpoint metadata dicts) or a map of module name ->
|
||||||
slice of endpoint metadata dicts (representing the API modules and the
|
slice of endpoint metadata dicts (representing the API modules and the
|
||||||
endpoints they each contain). Each slice item must contain the Each endpoint
|
endpoints they each contain). Each endpoint dict must contain the following
|
||||||
dict must contain the following keys:
|
keys:
|
||||||
|
|
||||||
* `anchor`: the HTML anchor for the endpoint
|
* `anchor`: the HTML anchor for the endpoint
|
||||||
* `method`: the HTTP method
|
* `method`: the HTTP method
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue