About this endpoint
What it does
Converts the YAML file at the provided public URL into JSON and returns a pre-signed S3 URL for the converted file. The request accepts the source YAML URL in the body and an optional output name in the query string.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output name used in the generated JSON filename. 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 to 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. |