User:LukasLalinsky/WS: Difference between revisions

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 edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Status|This is a feature proposal. It isn't implemented yet.}}

== Calls ==
== Calls ==


Line 11: Line 13:
=== Authentication ===
=== Authentication ===


* mb.auth.checkToken
* [[/mb.auth.checkToken|mb.auth.checkToken]]
* mb.auth.getFrob
* [[/mb.auth.getFrob|mb.auth.getFrob]]
* mb.auth.getToken
* [[/mb.auth.getToken|mb.auth.getToken]]


=== Artist ===
=== Artist ===

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