Hub search API

Hub search is the service responsible for displaying datasets in the UI and providing search and filter capabilities. It provides a REST API for the UI to interact with the backend.

Authentication

POST /api/auth/login
Content-Type: application/json

{
  "email": "user@example.com",
  "password": "password"
}

Endpoints

GET /api/items

List all items.

GET /api/items
Authorization: Bearer <token>

POST /api/items

Create a new item.

POST /api/items
Authorization: Bearer <token>
Content-Type: application/json

{
  "name": "Item name"
}