API endpoint for bookmarks?

One of our developers is trying to pull in bookmarks to a BI tool we use.  He is doing a GET with api.ashx/v2/bookmarks.xml  and no bookmarks are returned even though we know there are some in the community.  Does this endpoint get bookmarks for the entire community or just for a certain application?

  • Former Member
    0 Former Member

    Bookmark List APIs are limited to a single user, if a UserId is not provided in the query, the requesting user's bookmarks are returned.  

    The Interactions Report in Reporting does include bookmarks.  If you deselect all the options except bookmarks, you can export a csv of all the existing bookmarks.  The downside being their is no automated way to do this (someone would have to manually generate the CSV file).

  • Hi  .  Thanks for the info.  Just to clarify, there isn't an API endpoint that will return how many users (or which users) have bookmarked content within an application?  Also, this info isn't returned in the JSON for anything else already?  If that's true, is there a recommended approach to using a script to get a CSV file?

  • Hi Matt, what i might suggest as   mentioned is to script something with the API that basically does this

    List users = getAllVerintUsers()

    List bookmarks = null

    for user in users

         List userbookmarks = getUsersBookmarks
         bookmarks.add(userebookmarks)

    }

    Fake code obviously but since the bookmarks api needs user context, you'd have to get the bookmarks for each user one by one