GET
/
waap
/
v1
/
domains
/
{domain_id}
/
api-paths
curl --request GET \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/api-paths \
  --header 'APIKey: <api-key>'
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "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

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Query Parameters

ordering
enum<string>

Sort the response by given field.

Available options:
id,
path,
method,
api_version,
http_scheme,
first_detected,
last_detected,
status,
source,
-id,
-path,
-method,
-api_version,
-http_scheme,
-first_detected,
-last_detected,
-status,
-source
ids
string[] | null

Filter by the path ID

path
string | null

Filter by the path. Supports '*' as a wildcard character

Maximum length: 1024
method
enum<string> | null

Filter by the API RESTful method The different methods an API path can have

Available options:
GET,
POST,
PUT,
PATCH,
DELETE,
TRACE,
HEAD,
OPTIONS
api_version
string | null

Filter by the API version

Maximum length: 32
http_scheme
enum<string> | null

Filter by the HTTP version of the API path The different HTTP schemes an API path can have

Available options:
HTTP,
HTTPS
api_group
string | null

Filter by the API group associated with the API path

status
enum<string>[] | null

Filter by the status of the discovered API path

source
enum<string> | null

Filter by the source of the discovered API The different sources an API path can have

Available options:
API_DESCRIPTION_FILE,
TRAFFIC_SCAN,
USER_DEFINED
limit
integer
default:10

Number of items to return

Required range: 0 <= x <= 10
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000

Response

200
application/json

Successful Response

The response is of type object.