Difference between revisions of "User:LukasLalinsky/WS"
From MusicBrainz Wiki
Jump to navigationJump to search (New page: == Calls == To call an API method, send a GET (or POST, for methods that modify data) request to <code><nowiki>http://musicbrainz.org/ws/2.0/</nowiki></code> with the <code>method</code> ...) |
(No difference)
|
Revision as of 13:25, 6 September 2009
Calls
To call an API method, send a GET (or POST, for methods that modify data) request to http://musicbrainz.org/ws/2.0/
with the method
parameter set to the method name. Other HTTP parameters are used as the method's arguments. When doing a POST request, parameters in the request body should be encoded using the application/x-www-form-urlencoded MIME type.
For example, to call the mb.test.echo method with argument name
set to value
, send a GET request to the following URL:
http://musicbrainz.org/ws/2.0/?method=mb.test.echo&name=value
API Methods
Authentication
- mb.auth.checkToken
- mb.auth.getFrob
- mb.auth.getToken
Artist
- mb.artist.setTags
- mb.artist.getTags
- mb.artist.getTopTags
- mb.artist.search
Label
- mb.label.setTags
- mb.label.getTags
- mb.label.getTopTags
- mb.label.search
Recording
- mb.recording.setTags
- mb.recording.getTags
- mb.recording.getTopTags
- mb.recording.search
Release
- mb.release.search
Release Group
- mb.releaseGroup.setTags
- mb.releaseGroup.getTags
- mb.releaseGroup.getTopTags
- mb.releaseGroup.search
Tag
- mb.tag.getRelated
- mb.tag.search
Test
- mb.test.echo
Work
- mb.work.setTags
- mb.work.getTags
- mb.work.getTopTags
- mb.work.search