Pull Requests

List pull requests

Changed on

List pull requests that Sazabi opened, optionally filtered by status, repository, and requesting user.

get/pull-requests

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/pull-requests
  • Auth: none declared

Query parameters

projectIdstring uuid

Project to list pull requests for. Auto-filled from CLI and SDK context when omitted.

limitinteger

Maximum number of pull requests to return per page.

cursorstring

Opaque cursor from a previous response's nextCursor to fetch the next page. Pass it back verbatim; its format is not part of the API contract.

status'open' | 'merged' | 'closed'

Filter by pull request status (open, merged, or closed).

repositoryFullNamestring

Filter by repository full name, for example owner/repo. Case-insensitive.

requestedByUserIdstring

Filter by the Sazabi user who requested the pull request. Pass 'me' to filter to the authenticated user.

Response

OK

nextCursorstring nullable required

Opaque cursor to pass as 'cursor' to fetch the next page. Null when there are no more results.

Changes

    • breaking

      for the query request parameter cursor, the minLength was increased from 0 to 1

    • breaking

      the / response's property format changed from uuid to no format for status

    • info

      for the query request parameter cursor, the format was generalized from uuid to no format