59 lines
1.5 KiB
Markdown
59 lines
1.5 KiB
Markdown
---
|
|
name: data-sources-routes
|
|
description: Handle 4 OpenAPI operation(s) under /api/data-sources for the data sources route group.
|
|
---
|
|
|
|
# data sources API Routes
|
|
|
|
Handle 4 OpenAPI operation(s) under /api/data-sources for the data sources route group.
|
|
|
|
Use the generated operation tools to make real API calls. Do not invent API responses.
|
|
If a tool reports missing setup, return the exact setup field name to the caller.
|
|
For write, update, or delete operations, state the intended action before calling the tool.
|
|
|
|
## Operations
|
|
|
|
### get_data_sources
|
|
|
|
- Operation ID: `get_data_sources`
|
|
- Route: `GET /api/data-sources`
|
|
- Mode: READ
|
|
- Summary: Get Data Sources
|
|
- Parameters:
|
|
- `fields[data-source]` in `query`
|
|
- `page[cursor]` in `query`
|
|
- `page[size]` in `query`
|
|
- `revision` in `header` required
|
|
|
|
### create_data_source
|
|
|
|
- Operation ID: `create_data_source`
|
|
- Route: `POST /api/data-sources`
|
|
- Mode: WRITE
|
|
- Summary: Create Data Source
|
|
- Parameters:
|
|
- `fields[data-source]` in `query`
|
|
- `revision` in `header` required
|
|
- Body: JSON request body accepted.
|
|
|
|
### get_data_source
|
|
|
|
- Operation ID: `get_data_source`
|
|
- Route: `GET /api/data-sources/{id}`
|
|
- Mode: READ
|
|
- Summary: Get Data Source
|
|
- Parameters:
|
|
- `id` in `path` required
|
|
- `fields[data-source]` in `query`
|
|
- `revision` in `header` required
|
|
|
|
### delete_data_source
|
|
|
|
- Operation ID: `delete_data_source`
|
|
- Route: `DELETE /api/data-sources/{id}`
|
|
- Mode: WRITE
|
|
- Summary: Delete Data Source
|
|
- Parameters:
|
|
- `id` in `path` required
|
|
- `revision` in `header` required
|