Welcome to the new Box Support website. Check out all the details here on what’s changed.

Task overview on a user level (Content API)

New post

Comments

3 comments

  • rocks

    Tasks can be returned if you already know the Task ID

    https://docs.box.com/reference#task-object

     

    How about using the Box Events stream to listen for all new event types "TASK_CREATE" & "TASK_ASSIGNMENT_CREATE"

     

    task_Create.png

    From the TASK_CREATE event you can see the source_item_id="53704104665" which is the file ID.  This would get around scanning all 300K files in Box for tasks.  You could also call the "Get Tasks for a File" endpoint to see all tasks for that file

     

    However, one of the easiest ways to display this type of information may to think about leveraging a 3rd party SIEM tool such as Splunk.  I added the "Splunk Add On for Box" and could immediatley start querying all Box data including EVENTS and TASK objects

     

    Splunk source api.png

     

    This can then be displayed visually in a dashboard along with other imported data sources.

    Splunk Task Events.png

    0
    Comment actions Permalink
  • steveb

    Hi Peter,

    Is there an underlying reason why the list of task_assignments associated with a user cannot be retrieved, similar to the way that a users group memberships can be retrieved?

    e.g. GET /users/USER_ID/assignments

    It seems like it should be there, but is there a reason why it cannot be implemented (other than insufficient round tuits)?

    I asked this once before (to the content-api-features mailbox) but never got an answer...

     

    0
    Comment actions Permalink
  • haivufeb

    Hi,

    I can see this topic was raised a few years ago and there has been no satisfactory answer.

    I also need to be able to use API to get a list of tasks assigned to a user. Similar to when I ( the user) check their tasks in Box Relay https://app.boxrelay.com/app/0/inbox

     

    Anyone has any suggestion on how this ?

    0
    Comment actions Permalink

Please sign in to leave a comment.