download Api OAS Public

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

download API definition in OAS format(only APIs saved in OAS format),

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;}