createBookmark

Creates or updates a bookmark.

http://your-server/rest/createBookmark Since 1.9.0

Creates or updates a bookmark (a position within a media file). Bookmarks are personal and not visible to other users.

Parameters

ParameterReq.OpenS.DefaultComment
idYesID of the media file to bookmark. If a bookmark already exists for this file it will be overwritten.
positionYesThe position (in milliseconds) within the media file.
commentNoA user-defined comment.

Example

Result

An empty subsonic-response element on success.

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "type": "AwesomeServerName",
    "serverVersion": "0.1.3 (tag)",
    "openSubsonic": true
  }
}
{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1"
  }
}