mStream/docs/API/db_status.md
2017-03-04 02:50:06 -05:00

29 lines
378 B
Markdown

**DB Status**
----
Checks if a scan is in progress.
* **URL**
/db/status
* **Method:**
`GET`
* **Success Response:**
* **Code:** 200 <br />
**Content:**
```
{
locked: false,
totalFileCount: 150,
dbType: 'default'
}
```
`locked` will be true if a scan is in progress.
`dbType` will either be `default` or `beets`