This endpoint provides the functionality to search for content within our system. Users can query the API with specific parameters to retrieve relevant information.

Features

  • Flexible Search: Search by various criteria such as keywords, date range, and content type.
  • Real-time Results: Obtain results in real-time for immediate access.
  • Language Support: Search in multiple languages supported by our system.

Usage

To use this endpoint, send a GET request to /en/api/content/search with the necessary query parameters. Here's an example:

GET /en/api/content/search?query=example&date_from=2023-01-01&date_to=2023-01-31&type=article

Parameters

  • query (required): The search term you want to find.
  • date_from (optional): The start date for the search range.
  • date_to (optional): The end date for the search range.
  • type (optional): The type of content to search for (e.g., article, video, image).

Response

The API will return a JSON object with the search results. Here's an example:

{
  "results": [
    {
      "title": "Example Article",
      "url": "/en/api/content/article/123",
      "summary": "This is an example article about search functionality."
    }
  ]
}

Related Links

For more information about our API, visit our API Documentation.


Golden_Retriever