Skip to content

API contract to GET /tasks (with query) #83

@ivinayakg

Description

@ivinayakg

This is to extend the ability of the GET /tasks API from the backend to also support filtering by parameters passed as queries.
The functioning would be as follows:-

  1. If no query parameters passed i.e limit or offset then the response will get all the tasks there are in the database or default to a no. of documents to return.
  2. If query parameters limit and offset is passed then it would return all the documents which are created after the created time of the <task_object> whose id = offset, plus would only return n no. of documents where n = limit and therefore would also work as a paginated API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions