Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
first draw at spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lemieux committed Sep 15, 2013
1 parent a05203a commit a2f6043
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions README.md
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.

0 comments on commit a2f6043

Please sign in to comment.