POST
/
waap
/
v1
/
domains
/
{domain_id}
/
api-discovery
/
scan
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
response = client.waap.domains.api_discovery.scan_openapi(
    1,
)
print(response.id)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

domain_id
integer
required

The domain ID

Required range: x > 0

Response

200
application/json

Successful Response

Response model for the task result ID