GET
/
tyk
/
apis
/
oas
/
export
Download all Tyk OAS format APIs.
curl --request GET \
  --url https://{tenant}/tyk/apis/oas/export \
  --header 'X-Tyk-Authorization: <api-key>'
This response does not have an example.

Authorizations

X-Tyk-Authorization
string
header
required

Api key

Query Parameters

mode
enum<string>

By default mode is empty which means it will return the Tyk API OAS spec including the x-tyk-api-gateway part. When mode=public, the Tyk OAS API spec will exclude the x-tyk-api-gateway part in the response.

Available options:
public

Response

Get a list of Tyk OAS APIs definitions.

The response is of type file.