[GET] Get theme by ID

Modified on Tue, 11 Feb at 3:52 AM

https://api.s7risk.com

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

GET /themes/{{ID}}Get theme by ID

This endpoint gets detailed information about the requested theme.

HTTP Request

curl -X GET 'https://api.s7risk.com/themes/{{ID}}' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
  --compressed

Headers

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

HTTP Response

{
    "id": "TH-149",
    "name": "PKK in Turkey",
    "description": null,
    "colour": "#D60D52",
    "incidentDates": {
        "firstAt": "2015-09-15T08:10:04+0000",
        "lastAt": "2022-02-20T22:00:00+0000"
    },
    "casualties": {
        "civilianDeaths": 29,
        "civilianInjuries": 52,
        "criminalDeaths": 638,
        "criminalInjuries": 4,
        "emergencyDeaths": 0,
        "emergencyInjuries": 0,
        "militaryDeaths": 78,
        "militaryInjuries": 113,
        "policeDeaths": 5,
        "policeInjuries": 6
    },
    "affectedSectors": [
        {
            "id": "668d330e-aee5-4291-be98-df9c32b5b420",
            "name": "Military"
        },
        {
            "id": "550a4aa0-6d6f-4be2-ba33-f35d159ee686",
            "name": "Police/Law"
        },
        {
            "id": "58ee9317-7add-41fe-a1f5-2785f999af96",
            "name": "Aviation/Airports"
        }
    ],
    "involvedParties": [
        {
            "id": "2e78829b-637e-468e-9bfc-7b01d5a1d8da",
            "type": "group",
            "group": {
                "id": "d1b24fcf-56b9-43fb-8405-b4adf061b5bb",
                "name": "Turkish Military"
            },
            "involvement": "Actor"
        },
        {
            "id": "35217020-550c-4988-8dea-cc09903538ab",
            "type": "group",
            "group": {
                "id": "964a4acd-0b22-4c32-be1f-098dd87f80a3",
                "name": "Turkey - Security Forces (Coast Guard, MIT, Gendarmerie, etc…)"
            },
            "involvement": "Directly Targeted"
        },
        {
            "id": "2343a3e7-8d27-48f6-8f8e-25bbaab3e6fe",
            "type": "individual",
            "group": {
                "id": "319a0340-8f53-4844-8ced-38fb4ba8a89e",
                "name": "Kurdistan Workers' Party (PKK)"
            },
            "individual": {
                "id": "bcb5ba0a-bc18-4f1a-b187-c64e92de725a",
                "name": "Ferhat Tunç - codenamed 'Rubar'"
            },
            "involvement": "Directly Targeted"
        }
    ],
    "tags": [
        {
            "name": "counterterrorism",
            "slug": "counterterrorism"
        },
        {
            "name": "counterinsurgency",
            "slug": "counterinsurgency"
        },
        {
            "name": "sniperrifle",
            "slug": "sniperrifle"
        }
    ],
    "identifiedAt": "2019-11-09T18:40:06+0000",
    "analyst": {
        "id": "abde3c19-32ec-467b-9125-3f4ec1761339",
        "name": "Joe Bloggs",
        "picture": "https://eu.ui-avatars.com/api/?name=Joe+Bloggs&size=512"
    },
    "counts": {
        "affectedSectors": 10,
        "casualties": 925,
        "incidents": 2306,
        "involvedParties": 66,
        "tags": 20
    }
}

Success

CodeStatusDescription
200SuccessReturns a body containing information about the requested theme

Errors

CodeStatusDescription
401UnauthorizedExpired or Invalid Authentication token
404Not FoundThe Theme ID provided could not be found

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