|
|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
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 ->
|
|
|
|
|
slice of endpoint metadata dicts (representing the API modules and the
|
|
|
|
|
endpoints they each contain). Each slice item must contain the Each endpoint
|
|
|
|
|
dict must contain the following keys:
|
|
|
|
|
endpoints they each contain). Each endpoint dict must contain the following
|
|
|
|
|
keys:
|
|
|
|
|
|
|
|
|
|
* `anchor`: the HTML anchor for the endpoint
|
|
|
|
|
* `method`: the HTTP method
|
|
|
|
|
|