curl --request PUT \
--url https://api.open.cx/actions/import \
--header 'Content-Type: application/json' \
--data '
{
"file": "<unknown>"
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Upload an OpenAPI specification file (v2, v3, or v3.1; YAML or JSON). Actions are created for each operation in the spec. Previous imports from the same spec are replaced.
curl --request PUT \
--url https://api.open.cx/actions/import \
--header 'Content-Type: application/json' \
--data '
{
"file": "<unknown>"
}
'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Default Response
Was this page helpful?