download Api OAS Public

GET {{baseUrl}}/tyk/apis/oas/:apiID/export?mode=<string>

Download all OAS format APIs, when used without the Tyk Dashboard.

Request Params

KeyDatatypeRequiredDescription
modestringMode of OAS export, by default mode could be empty which means to export OAS spec including OAS Tyk extension.
When mode=public, OAS spec excluding Tyk extension is exported

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;schema&quot;:&quot;\u003cstring\u003e&quot;}