This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
gti785-spec | ||
=========== | ||
Transfer protocol specification | ||
=============================== | ||
|
||
## General notes | ||
All returned output will be under this format : | ||
|
||
```xml | ||
<response> | ||
<data> | ||
... | ||
</data> | ||
<extra-data> | ||
... | ||
</extra-data> | ||
</response> | ||
``` | ||
|
||
The `<data>` tag is used to return main data (i.e, song list, etc.) and the `<extra-data>` tag is used to return extra information that your client and server will understand in the case you want to implement extra functionnality that might not be supported by other clients. | ||
|
||
|
||
## HTTP Endpoints | ||
Here are all HTTP endpoints needed to communicate with the server with the complete details. | ||
|
||
|
||
### Listing songs | ||
**URL :** /music/ | ||
**HTTP Method :** GET | ||
|
||
#### Expected input | ||
None | ||
|
||
#### Expected output | ||
The expected output should be a list of MP3 metadata that is given by VLC4J. | ||
|