mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
27 lines
376 B
Markdown
27 lines
376 B
Markdown
**Ping**
|
|
----
|
|
Used to check if the user is logged in. Also used to get the vPath
|
|
|
|
* **URL**
|
|
|
|
/ping
|
|
|
|
* **Method:**
|
|
|
|
`GET`
|
|
|
|
* **Success Response:**
|
|
|
|
```
|
|
{
|
|
vpaths: ['path1', 'path2'],
|
|
guest: false
|
|
}
|
|
```
|
|
|
|
Returns whether user is a guest or not. Guest accounts don't have write access
|
|
|
|
* **Error Response:**
|
|
|
|
Forwards to `/login-failed` if not logged in
|