mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
parent
c23c2fdc45
commit
46f87720fb
@ -1939,6 +1939,31 @@ curl -X GET "http://localhost:3689/api/library/files?directory=/music/srv"
|
||||
}
|
||||
```
|
||||
|
||||
### Add an item to the library
|
||||
|
||||
This endpoint currently only supports addind RSS feeds.
|
||||
|
||||
**Endpoint**
|
||||
|
||||
```http
|
||||
POST /api/library/add
|
||||
```
|
||||
|
||||
**Query parameters**
|
||||
|
||||
| Parameter | Value |
|
||||
| --------------- | ----------------------------------------------------------- |
|
||||
| url | URL of the RSS to add |
|
||||
|
||||
**Response**
|
||||
|
||||
On success returns the HTTP `200 OK` success status response code.
|
||||
|
||||
**Example**
|
||||
|
||||
```shell
|
||||
curl -X POST "http://localhost:3689/api/library/add?url=http%3A%2F%2Fmyurl.com%2Flink.rss"
|
||||
```
|
||||
|
||||
### Trigger rescan
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user