Update README.md

Corrected the expected output of the JSON from the API
This commit is contained in:
2025-09-22 10:26:35 +12:00
parent 9f7901ee12
commit 5714bda7d5

View File

@@ -121,14 +121,14 @@ Save and enable the list. Lidarr will poll the URL on its schedule and import ne
## 🔌 API Endpoints ## 🔌 API Endpoints
- `GET /artists` - `GET /artists`
- Returns a JSON array of MusicBrainz Artist IDs optimized for Lidarr custom import: - Returns a JSON array of dictionaries, each containing a `foreignId` field with a MusicBrainz Artist ID.
```json ```json
[ [
"b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d", {"foreignId": "0b987f3c-7264-439a-a1b9-62a69c9b1d91"},
"some-other-mbid-..." {"foreignId": "0ebdc5f5-0a11-415a-b6f3-efe0d36c6e9d"}
] ]
``` ```
- (Lidarr expects a simple array of MBIDs.) - Lidarr expects objects with a `foreignId` key pointing to the MBID.
- `GET /health` (optional) - `GET /health` (optional)
- Returns basic service health/status (if implemented) — check for `200 OK`. - Returns basic service health/status (if implemented) — check for `200 OK`.