Get a list of example API definitions
GET {{baseUrl}}/api/examples?p=<integer>
Returns a list of all example API definitions available in repository.json
file defined in x-tyk-examples-index
header. If the header is not provided, Tyk will use the default value of this header which is tyk-examples
repo as detailed below
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
p | string | Page number. If not provided, the first page will be returned |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-tyk-examples-index | string | URL that points to the index file (repository.json) or root of a repository housing examples. | |
Accept | string |
RESPONSES
status: OK
{"data":{"name":"\u003cstring\u003e","location":"\u003cstring\u003e","shortDescription":"\u003cstring\u003e"},"pages":"\u003cinteger\u003e"}