...
bookmark_id(optional)
Bookmark to modify
Parameters
channel_id (optional)
Channel id to filter results on, always trumps channel_id in payload
Json Object
Code Block |
---|
{ String channel_id, String bookmark_id, String event_id } |
Example
Code Block |
---|
curl -b cookies.txt -X GET "http://localhost:8185/bookmark" > response.txt curl -b cookies.txt -X GET "http://localhost:8185/bookmark?channel_id=531f3e50b8e0a93944925594" > response.txt curl -b cookies.txt -X GET "http://localhost:8185/bookmark/5331abfdb8e06221ba4a3b8a" > response.txt curl -b cookies.txt -X GET -d '{"channel_id":"531f3e50b8e0a93944925594"}' "http://localhost:8185/bookmark" > response.txt curl -b cookies.txt -X POST -d '{"event_id":"528896d9e4b09b7449f3ffe1", "channel_id":"531f3e50b8e0a93944925594"}' "http://localhost:8185/bookmark" > response.txt curl -b cookies.txt -X PUT -d '{"event_id":"528896d9e4b09b7449f3ffe1", "channel_id":"531f3e50b8e0a93944925594"}' "http://localhost:8185/bookmark" > response.txt curl -b cookies.txt -X DELETE "http://localhost:8185/bookmark/5331abfdb8e06221ba4a3b8a" > response.txt curl -b cookies.txt -X DELETE -d '{"channel_id":"531f3e50b8e0a93944925594"}' "http://localhost:8185/bookmark" > response.txt |
...