Drahten

Search Service API Documentation

This REST API is designed to provide search functionality and semantic search capabilities, utilized in the Drahten application.

Authentication

This API uses a JWT token provided by the Authentication Service for authentication and authorization. The token must be included in every request routed to this API, typically in the Authorization header. The request must have the headers:

{
  "Authorization": "Bearer <jwtToken>"
}

Allowed endpoints:

Allowed Endpoints

Endpoints description

Endpoint: GET search_service/news/cybersecurity/europe/

Endpoint: GET search_service/news/cybersecurity/europe/sumarization/documents/{document_id}

Endpoint: GET search_service/news/cybersecurity/europe/questions/documents/{document_id}

Endpoint: GET search_service/news/cybersecurity/europe/semantic_search/documents/data/{'document_id': '', 'query': ''}