https://api.s7risk.com
The Incident API provides well constructed high-quality, highly-tailored and scalable threat intelligence data.
Get source media
This endpoint gets all available source media. The source media returned can be filtered by adding search parameters to your request.
HTTP Request
curl -X GET 'https://api.s7risk.com/source-media' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
-d 'search=saudi' \
-d 'sort=desc' \
-d 'page=1' \
-d 'pageSize=20' \
--compressed
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | ✔️ | Your authentication token (see the Auth API section for more information) |
Query Parameters
| Name | Type | Description |
|---|---|---|
search | string | Search source media using the given search term |
sort | string | Sort the results by the given properties. Available options name:asc or name:desc, alternatively sort by id with id:asc or id:desc. If no sort order is specified then results are sorted by their relevancy |
page | int | A paginated result set. Defaults to 1 |
pageSize | int | A limited result set. Defaults to 100 |
HTTP Response
{
"data": [
{
"id": "f2f5b64b-72bf-4774-8835-1aa72a4caa13",
"name": "Saudi Gazette"
},
{
"id": "22b3c59a-471a-45b5-a8ea-051f0b031c98",
"name": "Ministry of Interior of Saudi Arabia"
},
{
"id": "12d94a6c-9cb8-4917-b438-4b2777f816d8",
"name": "Saudi press association"
}
]
}
Success
| Code | Status | Description |
|---|---|---|
| 200 | Success | Returns a body containing all valid source media |
Errors
| Code | Status | Description |
|---|---|---|
| 401 | Unauthorized | Expired or Invalid Authentication token |
| 422 | Unprocessable Entity | Incorrect 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
Feedback sent
We appreciate your effort and will try to fix the article