pagination
default

Compute the balanced pagination plan for `/filter/pull_requests`.

Changed on
post/paginate/pull_requests

Request

Request body

batchinteger required

Target batch size. The returned ranges do not guarantee the exact match.

Example request

{
  "request": {
    "account": 1,
    "date_from": "2020-01-23",
    "date_to": "2020-05-23",
    "exclude_inactive": true,
    "in": [
      "{1}",
      "github.com/athenianco/athenian-webapp"
    ],
    "stages": [
      "wip"
    ],
    "with": {
      "author": [
        "github.com/vmarkovtsev"
      ]
    }
  },
  "batch": 100
}

Response

Identifier of the created repository set.

updatedstring[]

Split borders in descending order.

Example response

{
  "updated": [
    "2020-10-08",
    "2020-10-07",
    "2020-10-01"
  ]
}

Changes