List Reduced Scopes
GET/targets/:target_id/reduced-scopes/
Request
Path Parameters
target_id stringrequired
Identifier of the target.
Query Parameters
enabled boolean
length integer
Number of results to return per page.
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
search string
A search term.
Responses
- 200
- 400
- 401
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
count integer
Total number of results.
page_total integer
Total number of pages.
page integer
Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.
length integer
Number of results returned per page.
results
object[]
id stringrequired
A unique Base58 value identifying this object.
url urirequired
Possible values: <= 2048 characters
URL to scan. The maximum length is 2048 characters.
enabled boolean
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"id": "string",
"url": "string",
"enabled": true
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
<field name> string[]
non_field_errors string[]
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Not found."
}
- application/json
- Schema
- Example (from schema)
Schema
detail string
{
"detail": "Unexpected error while handling your request."
}
Loading...