getUserBookmarks
- Home
- Bookmarks & Favorites
- SvcBookmarks
- getUserBookmarks
getUserBookmarks
Loads the bookmarks for the given user.
Parameters
Name | Description |
userID required | The user’s primary identifier |
page optional | The page of bookmarks to load |
perPage optional | How many items to displayed per page |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcBookmarks?action=getUserBookmarks&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
{ "service":"svcBookmarks", "action":"getUserBookmarks", "code":1, "message":"User Bookmarks Retrieved.", "page":1, "per_page":1, "total":1, "item":[ { "user_bookmark_id":"11353334", "name":"ONEsite", "user_id":"229928503", "url":"https://www.onesite.com", "description":"", "date_created":"2019-02-04 13:55:02" } ] } |
Service Information
Service | svcBookmarks |
Method | getUserBookmarks |
Type | REST |
Response Types | JSON, XML |