API/Favorites Protocol/removeFavorite

From ickStream Wiki
Jump to: navigation, search

Remove a favorite

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "removeFavorite",
    "params": {
        "id": <The globally unique identity of the favorite to remove>,
    }
}

Specific information:

  • If a favorite have other favorites which refers to it with a parentId, the whole tree will be removed.

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": <true if success or not existing, else false>
}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox