LiquidPlanner Classic Forum

Ask a Question
Back to All

Avoid Request Throttling

Posted on behalf of Jorn Smits. Original post date 2014-05-02

Hi,

I'm using the Liquidplanner api to create a dashboard. On this dashboard I would like to display the logged tasks with their linked folder(s) and project of the current week for each member in my workspace. I'm using the timesheet entries for this. But the problem is, that for most of my members the 30 requests per 15 seconds limit is reached. Is there any possible way to avoid this, or an easier way to get the folders and projects above the task.

My current process is:

  1. Retrieving the timesheet entries from the current week with the following url

    https://app.liquidplanner.com/api/workspaces/:workspaceId/timesheet_entries?start_date=2014-04-21&end_date=2014-04-24&member_id=:memberId

  2. With each item idea found in a timesheet entry, I retrieve the task with the following url

    https://app.liquidplanner.com/api/workspaces/:workspaceId/tasks/:taskId

  3. Because it is possible that there's no folder above the task, I need to retrieve all folders and all projects with the following urls

    https://app.liquidplanner.com/api/workspaces/:workspaceId/folders

    https://app.liquidplanner.com/api/workspaces/:workspaceId/projects

Many thanks in advance.