RPG MusicTags

<back to all web services

Upload

REST Paths

The following REST paths are available for this service.

All Verbs /Upload

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/Upload HTTP/1.1 
Host: rpgmusictags.org 
Content-Type: application/json
Content-Length: length

{"TagsData":{"Languages":[{"ISO6391Code":"String","Id":0,"Names":[{"LanguageId":0,"Name":"String"}]}],"Categories":[{"Id":0,"Names":[{"LanguageId":0,"Name":"String"}]}],"Tags":[{"Id":0,"CategoryId":0,"Names":[{"LanguageId":0,"Name":"String"}]}],"Files":[{"Id":0,"Artist":"String","Album":"String","Title":"String","AcoustId":"String"}],"TagsForFiles":[{"FileId":0,"TagIds":[0]}],"RemovedTags":[{"FileId":0,"TagIds":[0]}]},"User":"String","IncludeLog":false,"Test":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Status":0,"ErrorMessage":"String","Log":"String"}