Instruments

Also see Instruments.

Users

Also see Users.

Resource representations

{
  "kind": "favorite",
  "instrument": instrument
}

Methods


GET /me/favorites
List favorite instruments of the specified user.

GET /users/:user_id/favorites
List favorite instruments of the specified user.

List favorite instruments of the specified user.

Response

favorite[]

PATCH /me/favorites/:id
Add an instrument to your favorites.

PUT /me/favorites/:id
Add an instrument to your favorites.

PATCH /users/:user_id/favorites/:id
Add an instrument to your favorites.

PUT /users/:user_id/favorites/:id
Add an instrument to your favorites.

Mark an instrument as a favorite of the autheticated user.

Params

Param Name Description
id
Required

The slug of the instrument.


Value:

Must be String


DELETE /me/favorites/:id
Remove an instrument from your favorites.

DELETE /users/:user_id/favorites/:id
Remove an instrument from your favorites.

Unmark an instrument as a favorite of the authenticated user.

Params

Param Name Description
id
Required

The slug of the instrument.


Value:

Must be String