Difference between revisions of "User:LukasLalinsky/WS"

From MusicBrainz Wiki
(Authentication)
 
Line 1: Line 1:
 +
{{Status|This is a feature proposal. It isn't implemented yet.}}
 +
 
== Calls ==
 
== Calls ==
  

Latest revision as of 08:44, 7 September 2009

Status: This is a feature proposal. It isn't implemented yet.

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

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

Related Links