[GET] Get themes

Modified on Tue, 11 Feb at 3:53 AM

https://api.s7risk.com

The Incident API provides well constructed high-quality, highly-tailored and scalable threat intelligence data.

GET /themesGet themes

This endpoint gets all available themes. The themes returned can be filtered by adding search parameters to your request.

HTTP Request

curl -X GET 'https://api.s7risk.com/themes' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
  -d 'search=europe' \
  -d 'sort=asc' \
  -d 'page=2' \
  -d 'pageSize=4' \
  --compressed

Headers

NameTypeRequiredDescription
Authorizationstring✔️Your authentication token (see the Auth API section for more information)

Query Parameters

NameTypeDescription
searchstringSearch sectors using the given search term
sortstringSort the results by the given properties. Available options name:asc or name:desc, id:asc or id:desc and identifiedAt:asc or identifiedAt:desc. If no sort order is specified then results are sorted by their relevancy
pageintA paginated result set. Defaults to 1
pageSizeintA limited result set. Defaults to 100

HTTP Response

{
    "data": [
        {
            "id": "TH-206",
            "name": "Criminality in Europe in 2021 (Medical Sector)",
            "colour": "#D60D52",
            "identifiedAt": "2021-01-22T09:29:20+0000",
            "counts": {
                "affectedSectors": 16,
                "casualties": 36,
                "incidents": 149,
                "involvedParties": 15,
                "tags": 133
            },
            "trendHistory": []
        },
        {
            "id": "TH-204",
            "name": "Terror Incidents in Europe 2020 (excl. Northern Ireland)",
            "colour": "#D60D52",
            "identifiedAt": "2021-01-22T09:22:24+0000",
            "counts": {
                "affectedSectors": 17,
                "casualties": 119,
                "incidents": 194,
                "involvedParties": 90,
                "tags": 207
            },
            "trendHistory": []
        },
        {
            "id": "TH-202",
            "name": "Counterterrorism Operations in Europe in 2020",
            "colour": "#D60D52",
            "identifiedAt": "2021-01-21T10:19:06+0000",
            "counts": {
                "affectedSectors": 15,
                "casualties": 24,
                "incidents": 84,
                "involvedParties": 44,
                "tags": 87
            },
            "trendHistory": []
        },
        {
            "id": "TH-191",
            "name": "Bomb Threats across Europe",
            "colour": "#F39C12",
            "identifiedAt": "2020-11-03T13:01:34+0000",
            "counts": {
                "affectedSectors": 21,
                "casualties": 19,
                "incidents": 681,
                "involvedParties": 137,
                "tags": 192
            },
            "trendHistory": []
        }
    ]
}

Success

CodeStatusDescription
200SuccessReturns a body containing all valid themes

Errors

CodeStatusDescription
401UnauthorizedExpired or Invalid Authentication token
422Unprocessable EntityIncorrect or invalid search parameter

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article