Library CAPECs
Get All Library CAPECs
This endpoint retrieves a list of Library CAPEC resources.
GET /api/v2/library/capecs/
Query Parameters
The following parameters may be used to filter the Library CAPEC resources in the response.
Parameter | Description |
---|---|
search | Filter Library CAPECs by performing a textual search on its capec_id or title . |
GET /api/v2/library/capecs/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json
{
"results": [
{
"capec_id": 125,
"title": "Flooding",
"url": "https://capec.mitre.org/data/definitions/125"
},
{
"capec_id": 126,
"title": "Path Traversal",
"url": "https://capec.mitre.org/data/definitions/126"
}
]
}
Get a specific Library CAPEC
This endpoint retrieves a single Library CAPEC resource, as specified by the id parameter.
GET /api/v2/library/capecs/{capec_id}/
URL Parameters
Parameter | Description |
---|---|
capec_id | The id of the Library CAPEC to retrieve. |
GET /api/v2/library/capecs/125/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json
{
"capec_id": 125,
"title": "Flooding",
"url": "https://capec.mitre.org/data/definitions/125"
}