mStream/docs/API/db_search.md
IrosTheBeggar 3f740de916 Doc fixes
2017-06-29 01:26:57 -04:00

38 lines
451 B
Markdown

**Search DB**
----
Retrieves albums and artists that much a given string
* **URL**
/db/search
* **Method:**
`POST`
* **JSON Params**
**Required:**
`search` - String that will be searched for
* **JSON Example**
```
{
'search': 'The Offsp'
}
```
* **Success Response:**
* **Code:** 200 <br />
**Content:**
```
{
"albums":[album1, album2],
"artists":[artist1, artist2, artist3]
}
```