POST
/
waap
/
v1
/
domains
/
{domain_id}
/
api-discovery
/
upload
curl --request POST \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/api-discovery/upload \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_name": "<string>",
  "file_data": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Body

application/json

Request model for uploading an API spec file

Response

200
application/json

Successful Response

Response model for the task result ID