Format ci.yml and API.md with prettier
Build and Test / Build and Test (push) Successful in 8m8s

This commit is contained in:
2026-07-04 10:12:11 +00:00
parent 517f3f0329
commit 8e0ec4b8b9
2 changed files with 39 additions and 39 deletions
+6 -6
View File
@@ -30,7 +30,7 @@ All endpoints are under `/api/v1`.
### Sources
| Method | Path | Description |
|--------|------|-------------|
| ------ | --------------------------------------------------- | ------------------------------------ |
| GET | `/api/v1/sources` | List all sources |
| GET | `/api/v1/sources/:id` | Get a source with its pending tasks |
| POST | `/api/v1/sources` | Create a new source |
@@ -45,7 +45,7 @@ All endpoints are under `/api/v1`.
### Media Items
| Method | Path | Description |
|--------|------|-------------|
| ------ | --------------------------------------------- | ----------------------------------------------------- |
| GET | `/api/v1/media` | List all media items (optional `?source_id=X` filter) |
| GET | `/api/v1/media/search?q=query` | Search media items |
| GET | `/api/v1/media/:id` | Get a media item |
@@ -56,7 +56,7 @@ All endpoints are under `/api/v1`.
### Media Profiles
| Method | Path | Description |
|--------|------|-------------|
| ------ | ---------------------------- | ----------------------- |
| GET | `/api/v1/media_profiles` | List all media profiles |
| GET | `/api/v1/media_profiles/:id` | Get a media profile |
| POST | `/api/v1/media_profiles` | Create a media profile |
@@ -66,7 +66,7 @@ All endpoints are under `/api/v1`.
### Settings
| Method | Path | Description |
|--------|------|-------------|
| ------ | ------------------ | ----------------------------------------- |
| GET | `/api/v1/settings` | Get settings (route_token excluded) |
| PUT | `/api/v1/settings` | Update settings |
| GET | `/api/v1/app_info` | Get app info (version, environment, etc.) |
@@ -74,7 +74,7 @@ All endpoints are under `/api/v1`.
### Tasks
| Method | Path | Description |
|--------|------|-------------|
| ------ | ------------------- | ----------------------------------------------- |
| GET | `/api/v1/tasks` | List all tasks (optional `?source_id=X` filter) |
| GET | `/api/v1/tasks/:id` | Get a task |
@@ -89,7 +89,7 @@ All responses are JSON. Successful responses use:
Error responses use:
```json
{"errors": {"field": "error message"}}
{ "errors": { "field": "error message" } }
```
## Example: Create a Source