Download API definition in OAS format (only APIs saved in OAS format). When you set the mode query parameter to public the OAS spec exported will exclude the x-tyk-api-gateway part. When mode query parameter is empty or is set to any other value apart from public then the exported OAS spec will include the x-tyk-api-gateway part.
The Tyk Dashboard API Access Credentials
Content type of the fetched data. The endpoint returns data in JSON format if Content-Type header is empty.
application/json, application/x-yaml ID of the API you want to export.
Mode 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.
public Fetched successfully.
The response is of type file.