GreedyBear API docs

GET /api/apiaccess

Durin’s APIAccessTokenView.

  • GET -> get token-client pair info

  • POST -> create and get token-client pair info

  • DELETE -> delete existing API access token

New in version 1.0.0.

Status Codes:
POST /api/apiaccess

Durin’s APIAccessTokenView.

  • GET -> get token-client pair info

  • POST -> create and get token-client pair info

  • DELETE -> delete existing API access token

New in version 1.0.0.

Status Codes:
DELETE /api/apiaccess

Durin’s APIAccessTokenView.

  • GET -> get token-client pair info

  • POST -> create and get token-client pair info

  • DELETE -> delete existing API access token

New in version 1.0.0.

Status Codes:
POST /api/auth/login

Extends durin.views.LoginView.

Responds with Set-cookie header and empty response data.

Status Codes:
POST /api/auth/logout

Extends durin.views.LogoutView.

Responds with Set-cookie header and empty response data.

Status Codes:
GET /api/authentication
Status Codes:
GET /api/enrichment

Request if a specific observable (domain or IP address) has been listed by GreedyBear

Status Codes:
GET /api/feeds/{feed_type}/{attack_type}/{age}.{format_}

Extract Structured IOC Feeds from GreedyBear

Parameters:
  • age (string) –

  • attack_type (string) –

  • feed_type (string) –

  • format (string) –

Status Codes:
GET /api/me/access

Returns user’s access information.

Status Codes:
GET /api/sessions

Durin’s TokenSessionsViewSet.

  • Returns list of active sessions of authed user.

  • Only list() and delete() operations.

New in version 1.0.0.

Status Codes:
DELETE /api/sessions/{id}

Durin’s TokenSessionsViewSet.

  • Returns list of active sessions of authed user.

  • Only list() and delete() operations.

New in version 1.0.0.

Parameters:
  • id (integer) – A unique integer value identifying this auth token.

Status Codes:
GET /api/statistics/{id}/enrichment
Parameters:
  • id (string) –

Status Codes:
GET /api/statistics/{id}/feeds
Parameters:
  • id (string) –

Status Codes:
GET /api/statistics/feeds_types
Status Codes: