Skip to content

Handling pagination in TestRail API #39

Description

@ohenak

The pagination functionality is now in TestRail production API.

For instance, get_plan API used to return in older TestRail:

{
  "plans": [
    {
      "id": 505717,
      ...

Now in TestRail production (on cloud),

{
  "offset": 0,
  "limit": 250,
  "size": 250,
  "_links": {
    "next": "/api/v2/get_plans/4&limit=250&offset=250",
    "prev": null
  },
  "plans": [
    {
      "id": 505717,
      ...

How do you prefer to handle this change? We could introduce a class of ReceivableTestPlans that is similar to SendableTestPlans that the library already has.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions