GET
/
waap
/
v1
/
domains
/
{domain_id}
/
api-paths
/
{path_id}
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
api_path = client.waap.domains.api_paths.get(
    path_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    domain_id=0,
)
print(api_path.id)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "/api/v1/paths/{path_id}",
  "method": "GET",
  "api_version": "v1",
  "http_scheme": "HTTP",
  "first_detected": "2023-11-07T05:31:56Z",
  "last_detected": "2023-11-07T05:31:56Z",
  "tags": [
    "sensitivedataurl",
    "highriskurl"
  ],
  "api_groups": [
    "accounts",
    "internal"
  ],
  "status": "CONFIRMED_API",
  "source": "API_DESCRIPTION_FILE",
  "request_count": 123
}

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

path_id
string
required

The path ID

domain_id
integer
required

The domain ID

Response

200
application/json

Successful Response

Response model for the API path