About this endpoint
What it does
Converts a YAML file fetched from a publicly accessible URL into JSON and returns a pre-signed S3 URL where the converted JSON file can be downloaded.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output name used when generating the converted file URL. Default: sample-output. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Publicly accessible URL pointing to a YAML file. Must be a URI. |
Response
Returns a JSON object with a data string field containing a pre-signed S3 URL for the converted JSON file. The URL is valid for 5 minutes.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Pre-signed S3 URL pointing to the converted JSON file. Must be a URI. |
Notes
The returned data URL is time-limited and valid for 5 minutes, so download the converted file before it expires.