Skip to content

Get the project pull request list

GET /api/v5/repos/{owner}/{repo}/pulls

This endpoint retrieves the pull request list of the specified repository. You can filter by state, target branch, time range, sorting, and pagination, and you can also return only the merge request counts for each state.

Access token support

  • AtomGit user access tokens (AtomGit user access tokens)

Whether anonymous access is allowed

This endpoint allows anonymous access.

Request parameters

Parameter Location Type Required Description
owner path string Yes The namespace address the repository belongs to (the address path of an enterprise, organization, or personal namespace)
repo path string Yes Repository path (path)
state query string No Pull request state, enum: all / open / closed / locked / merged; defaults to all
base query string No Name of the target branch to which the pull request is submitted
since query string No Start of the update time; the time format must be ISO 8601, for example: 2024-11-20T13:00:21+08:00
direction query string No Sort direction: ascending/descending; defaults to desc (asc or desc)
sort query string No Sort field: created, updated; defaults to created
milestone_number query integer No Milestone ordinal number (id)
labels query string No Comma-separated list of label names
page query integer No Current page number; defaults to 1
per_page query integer No Number of items per page, up to 100; defaults to 20
author query string No Username of the PR creator
assignee query string No Username of the PR assignee
reviewer query string No Username of the PR reviewer
merged_after query string No Return merge requests merged after the specified time; the time format must be ISO 8601, for example: 2024-11-20T13:00:21+08:00
merged_before query string No Return merge requests merged before the specified time; the time format must be ISO 8601
only_count query boolean No If true, return only the merge request count; defaults to false
created_after query string No Return merge requests created after the specified time; the time format must be ISO 8601
created_before query string No Return merge requests created before the specified time; the time format must be ISO 8601
updated_before query string No Return merge requests updated before the specified time; the time format must be ISO 8601
updated_after query string No Return merge requests updated after the specified time; the time format must be ISO 8601

Response parameters

The response is an array of pull request objects; when only_count=true, the response is a merge request count object (see "only_count=true count response"). In the "Nullable" column of the table below, — means the reference documentation does not provide this information.

Field Type Always returned Nullable Description
number integer Yes — Pull request number
html_url string Yes — Web page address of the pull request
url string Yes — API address of the pull request
close_related_issue integer Yes — Number of associated issues closed
prune_branch boolean Yes — Whether to delete the source branch after merging
draft boolean Yes — Whether it is a draft
labels object[] Yes — Label list
user object Yes — PR creator information
assignees string[] Yes — List of assignee usernames
testers string[] Yes — List of tester usernames
head object Yes — Source branch (head) information
base object Yes — Target branch (base) information
id integer Yes — Database ID of the pull request
iid integer Yes — Pull request ordinal number in the project
project_id integer Yes — Project ID
title string Yes — Title
body string Yes — Description body
state string Yes — State: open / closed / locked / merged
assignees_number integer Yes — Number of assignees
testers_number integer Yes — Number of testers
created_at string Yes — Creation time
updated_at string Yes — Update time
merged_at string Yes Yes Merge time; null if not merged
closed_at string Yes Yes Close time; null if not closed
target_branch string Yes — Target branch name
source_branch string Yes — Source branch name
source_project_id integer Yes — Source project ID
force_remove_source_branch boolean Yes — Whether to force delete the source branch after merging
web_url string Yes — Web page address
merge_request_type string Yes — Merge request type
review_mode string Yes — Review mode
added_lines integer Yes — Number of added code lines
removed_lines integer Yes — Number of deleted code lines
diff_refs object Yes — Diff reference information
notes integer Yes — Number of comments
pipeline_status string Yes — Pipeline state
pipeline_status_with_code_quality string Yes — Pipeline state including code quality
source_git_url string Yes — Git address of the source repository
can_merge_check boolean Yes — This field is deprecated; to determine whether the pull request can be merged, call the pull request details endpoint
mergeable boolean Yes — Whether it can be merged
locked boolean Yes — Whether it is locked
closed_by object Yes Yes Closed-by information; null if not closed
visibility_reason string Yes — Visibility: public means publicly visible, other means visible only to project members
merged_by object No Yes Merged-by information

labels object

Field Type Always returned Nullable Description
labels.id integer Yes — Label ID
labels.name string Yes — Label name
labels.color string Yes — Label color
labels.created_at string Yes — Time the label was added
labels.updated_at string Yes — Label update time

user object

Field Type Always returned Nullable Description
user.id string Yes — User ID
user.user_id string Yes — User account ID
user.object_id string Yes — Object ID
user.login string Yes — Login name
user.name string Yes — User name
user.state string Yes — User state
user.avatar_url string Yes — Avatar URL
user.email string Yes — Email
user.name_cn string Yes — Chinese name
user.html_url string Yes — User home page URL

head object

Field Type Always returned Nullable Description
head.label string Yes — Source branch label (owner:branch)
head.ref string Yes — Source branch reference
head.sha string Yes — Source branch commit SHA
head.user object Yes — User the source branch belongs to
head.repo object Yes — Repository the source branch belongs to

head.user object

Field Type Always returned Nullable Description
head.user.id string Yes — User ID
head.user.login string Yes — Login name
head.user.name string Yes — User name
head.user.state string Yes — User state
head.user.avatar_url string Yes — Avatar URL
head.user.email string Yes — Email
head.user.name_cn string Yes — Chinese name
head.user.html_url string Yes — User home page URL

head.repo object

Field Type Always returned Nullable Description
head.repo.id integer Yes — Repository ID
head.repo.full_path string Yes — Full repository path
head.repo.full_name string Yes — Full repository name
head.repo.human_name string Yes — Repository display name
head.repo.name string Yes — Repository name
head.repo.path string Yes — Repository path
head.repo.description string Yes — Repository description
head.repo.owner object Yes — User the repository belongs to
head.repo.assigner object Yes — Repository assigner
head.repo.internal boolean Yes — Whether it is an internal repository
head.repo.html_url string Yes — Repository web page address

head.repo.owner object

Field Type Always returned Nullable Description
head.repo.owner.id string Yes — User ID
head.repo.owner.login string Yes — Login name
head.repo.owner.name string Yes — User name
head.repo.owner.state string Yes — User state
head.repo.owner.avatar_url string Yes — Avatar URL
head.repo.owner.email string Yes — Email
head.repo.owner.name_cn string Yes — Chinese name
head.repo.owner.html_url string Yes — User home page URL

head.repo.assigner object

Field Type Always returned Nullable Description
head.repo.assigner.id string Yes — User ID
head.repo.assigner.login string Yes — Login name
head.repo.assigner.name string Yes — User name
head.repo.assigner.state string Yes — User state
head.repo.assigner.avatar_url string Yes — Avatar URL
head.repo.assigner.email string Yes — Email
head.repo.assigner.name_cn string Yes — Chinese name
head.repo.assigner.html_url string Yes — User home page URL

base object

Field Type Always returned Nullable Description
base.label string Yes — Target branch label (owner:branch)
base.ref string Yes — Target branch reference
base.sha string Yes — Target branch commit SHA
base.user object Yes — User the target branch belongs to
base.repo object Yes — Repository the target branch belongs to

base.user object

Field Type Always returned Nullable Description
base.user.id string Yes — User ID
base.user.login string Yes — Login name
base.user.name string Yes — User name
base.user.state string Yes — User state
base.user.avatar_url string Yes — Avatar URL
base.user.email string Yes — Email
base.user.name_cn string Yes — Chinese name
base.user.html_url string Yes — User home page URL

base.repo object

Field Type Always returned Nullable Description
base.repo.id integer Yes — Repository ID
base.repo.full_path string Yes — Full repository path
base.repo.full_name string Yes — Full repository name
base.repo.human_name string Yes — Repository display name
base.repo.name string Yes — Repository name
base.repo.path string Yes — Repository path
base.repo.description string Yes — Repository description
base.repo.owner object Yes — User the repository belongs to
base.repo.assigner object Yes — Repository assigner
base.repo.internal boolean Yes — Whether it is an internal repository
base.repo.html_url string Yes — Repository web page address

base.repo.owner object

Field Type Always returned Nullable Description
base.repo.owner.id string Yes — User ID
base.repo.owner.login string Yes — Login name
base.repo.owner.name string Yes — User name
base.repo.owner.state string Yes — User state
base.repo.owner.avatar_url string Yes — Avatar URL
base.repo.owner.email string Yes — Email
base.repo.owner.name_cn string Yes — Chinese name
base.repo.owner.html_url string Yes — User home page URL

base.repo.assigner object

Field Type Always returned Nullable Description
base.repo.assigner.id string Yes — User ID
base.repo.assigner.login string Yes — Login name
base.repo.assigner.name string Yes — User name
base.repo.assigner.state string Yes — User state
base.repo.assigner.avatar_url string Yes — Avatar URL
base.repo.assigner.email string Yes — Email
base.repo.assigner.name_cn string Yes — Chinese name
base.repo.assigner.html_url string Yes — User home page URL

diff_refs object

Field Type Always returned Nullable Description
diff_refs.base_sha string Yes — Base commit SHA of the target branch
diff_refs.head_sha string Yes — Head commit SHA of the source branch
diff_refs.start_sha string Yes — Start commit SHA

closed_by object

Field Type Always returned Nullable Description
closed_by.id integer Yes — User ID
closed_by.name string Yes — User name
closed_by.username string Yes — Username
closed_by.iam_id string Yes — IAM ID
closed_by.nick_name string Yes — Nickname
closed_by.state string Yes — User state
closed_by.avatar_url string Yes — Avatar URL
closed_by.email string Yes — Email
closed_by.name_cn string Yes — Chinese name
closed_by.web_url string Yes — User home page URL

merged_by object

Field Type Always returned Nullable Description
merged_by.id string Yes — User ID
merged_by.login string Yes — Login name
merged_by.name string Yes — User name
merged_by.avatar_url string Yes — Avatar URL
merged_by.html_url string Yes — User home page URL

only_count=true count response

When only_count=true, the response is not an array of pull requests but the merge request counts for each state:

{
  "all": 1,
  "opened": 1,
  "closed": 0,
  "merged": 0,
  "locked": 0
}

Error responses

This endpoint allows anonymous access; if the access token provided is invalid or has expired, 401 is returned. The error response field names are subject to what the backend actually returns.

400 Bad request

{
  "error": "invalid_request",
  "message": "Invalid value for the state parameter",
  "field": "state"
}

401 Unauthenticated

{
  "error": "unauthorized",
  "message": "Missing or invalid access token"
}

HTTP response status codes

Status code Description
200 Success (OK)
400 Parameter error (Bad request)
401 Authentication required (Requires authentication)
404 Resource does not exist (Not found)
429 Too many requests (Rate limited)
500 Internal system error (Internal server error)

Request example

Parameter descriptions

The placeholders in the examples mean the following:

<owner> is replaced with the namespace address the repository belongs to (the address path of an enterprise, organization, or personal namespace); <repo> is replaced with the repository path (path).

This endpoint allows anonymous access, so the examples do not carry authentication information; to access as a signed-in user, you can include an AtomGit user access token.

cURL

curl -X GET 'https://api.atomgit.com/api/v5/repos/<owner>/<repo>/pulls?state=all&per_page=20' \
  -H 'Accept: application/json'

JavaScript

// Native fetch (Node.js 18+ / browser)
const response = await fetch(
  "https://api.atomgit.com/api/v5/repos/<owner>/<repo>/pulls?state=all&per_page=20",
  {
    headers: {
      "Accept": "application/json",
    },
  },
);

if (!response.ok) {
  throw new Error(`Request failed: ${response.status}`);
}

const data = await response.json();
console.log(data);

Python

import requests

resp = requests.get(
    "https://api.atomgit.com/api/v5/repos/<owner>/<repo>/pulls",
    params={"state": "all", "per_page": 20},
    headers={"Accept": "application/json"},
    timeout=10,
)
resp.raise_for_status()

print(resp.json())

Response example

Status code: 200

[
  {
    "number": 1,
    "html_url": "https://api.atomgit.com/owner/repo/pulls/1",
    "url": "https://api.atomgit.com/api/v5/repos/owner/repo/pulls/1",
    "close_related_issue": 0,
    "prune_branch": true,
    "draft": false,
    "labels": [
      {
        "id": 100,
        "name": "bug",
        "color": "#ee0701",
        "created_at": "2024-11-20T13:00:21+08:00",
        "updated_at": "2024-11-20T13:00:21+08:00"
      }
    ],
    "user": {
      "id": "1",
      "user_id": "1001",
      "object_id": "u_1001",
      "login": "octocat",
      "name": "octocat",
      "state": "active",
      "avatar_url": "https://api.atomgit.com/avatar.png",
      "email": "octocat@example.com",
      "name_cn": "Example User",
      "html_url": "https://api.atomgit.com/octocat"
    },
    "assignees": ["octocat"],
    "testers": [],
    "head": {
      "label": "octocat:feature",
      "ref": "feature",
      "sha": "abc123def456",
      "user": {
        "id": "1",
        "login": "octocat",
        "name": "octocat",
        "state": "active",
        "avatar_url": "https://api.atomgit.com/avatar.png",
        "email": "octocat@example.com",
        "name_cn": "Example User",
        "html_url": "https://api.atomgit.com/octocat"
      },
      "repo": {
        "id": 1,
        "full_path": "owner/repo",
        "full_name": "owner/repo",
        "human_name": "repo",
        "name": "repo",
        "path": "repo",
        "description": "Example repository",
        "owner": {
          "id": "1",
          "login": "owner",
          "name": "owner",
          "state": "active",
          "avatar_url": "https://api.atomgit.com/avatar.png",
          "email": "owner@example.com",
          "name_cn": "Example",
          "html_url": "https://api.atomgit.com/owner"
        },
        "assigner": {
          "id": "1",
          "login": "owner",
          "name": "owner",
          "state": "active",
          "avatar_url": "https://api.atomgit.com/avatar.png",
          "email": "owner@example.com",
          "name_cn": "Example",
          "html_url": "https://api.atomgit.com/owner"
        },
        "internal": false,
        "html_url": "https://api.atomgit.com/owner/repo"
      }
    },
    "base": {
      "label": "owner:main",
      "ref": "main",
      "sha": "def456abc789",
      "user": {
        "id": "1",
        "login": "owner",
        "name": "owner",
        "state": "active",
        "avatar_url": "https://api.atomgit.com/avatar.png",
        "email": "owner@example.com",
        "name_cn": "Example",
        "html_url": "https://api.atomgit.com/owner"
      },
      "repo": {
        "id": 1,
        "full_path": "owner/repo",
        "full_name": "owner/repo",
        "human_name": "repo",
        "name": "repo",
        "path": "repo",
        "description": "Example repository",
        "owner": {
          "id": "1",
          "login": "owner",
          "name": "owner",
          "state": "active",
          "avatar_url": "https://api.atomgit.com/avatar.png",
          "email": "owner@example.com",
          "name_cn": "Example",
          "html_url": "https://api.atomgit.com/owner"
        },
        "assigner": {
          "id": "1",
          "login": "owner",
          "name": "owner",
          "state": "active",
          "avatar_url": "https://api.atomgit.com/avatar.png",
          "email": "owner@example.com",
          "name_cn": "Example",
          "html_url": "https://api.atomgit.com/owner"
        },
        "internal": false,
        "html_url": "https://api.atomgit.com/owner/repo"
      }
    },
    "id": 1,
    "iid": 1,
    "project_id": 1,
    "title": "Example pull request",
    "body": "This is the pull request description.",
    "state": "open",
    "assignees_number": 1,
    "testers_number": 0,
    "created_at": "2024-11-20T13:00:21+08:00",
    "updated_at": "2024-11-20T13:00:21+08:00",
    "merged_at": null,
    "closed_at": null,
    "target_branch": "main",
    "source_branch": "feature",
    "source_project_id": 1,
    "force_remove_source_branch": true,
    "web_url": "https://api.atomgit.com/owner/repo/pulls/1",
    "merge_request_type": "merge",
    "review_mode": "standard",
    "added_lines": 120,
    "removed_lines": 30,
    "diff_refs": {
      "base_sha": "def456abc789",
      "head_sha": "abc123def456",
      "start_sha": "123456abcdef"
    },
    "notes": 3,
    "pipeline_status": "success",
    "pipeline_status_with_code_quality": "success",
    "source_git_url": "https://api.atomgit.com/octocat/repo.git",
    "can_merge_check": true,
    "mergeable": true,
    "locked": false,
    "closed_by": null,
    "visibility_reason": "public",
    "merged_by": {
      "id": "1",
      "login": "owner",
      "name": "owner",
      "avatar_url": "https://api.atomgit.com/avatar.png",
      "html_url": "https://api.atomgit.com/owner"
    }
  }
]

Response example when only_count=true:

{
  "all": 1,
  "opened": 1,
  "closed": 0,
  "merged": 0,
  "locked": 0
}

Error codes

Error code Description
400 Parameter error or the request cannot be parsed
401 Unauthenticated or invalid credentials (missing/invalid access credentials)
404 Request path does not exist or the resource does not exist
405 Request method not supported
429 Too many requests; rate limit triggered
500 Internal system error

OpenAPI

{"paths": {"/api/v5/repos/{owner}/{repo}/pulls": {"get": {"tags": ["pull_requests"], "summary": "Get the project pull request list", "responses": {"200": {"content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "iid": {"type": "integer"}, "url": {"type": "string"}, "base": {"type": "object", "properties": {"ref": {"type": "string"}, "sha": {"type": "string"}, "repo": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "path": {"type": "string"}, "owner": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "assigner": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "html_url": {"type": "string"}, "internal": {"type": "boolean"}, "full_name": {"type": "string"}, "full_path": {"type": "string"}, "human_name": {"type": "string"}, "description": {"type": "string"}}}, "user": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "label": {"type": "string"}}}, "body": {"type": "string"}, "head": {"type": "object", "properties": {"ref": {"type": "string"}, "sha": {"type": "string"}, "repo": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "path": {"type": "string"}, "owner": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "assigner": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "html_url": {"type": "string"}, "internal": {"type": "boolean"}, "full_name": {"type": "string"}, "full_path": {"type": "string"}, "human_name": {"type": "string"}, "description": {"type": "string"}}}, "user": {"type": "object", "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "email": {"type": "string"}, "login": {"type": "string"}, "state": {"type": "string"}, "name_cn": {"type": "string"}, "user_id": {"type": "string"}, "html_url": {"type": "string"}, "object_id": {"type": "string"}, "avatar_url": {"type": "string"}}}, "draft": {"type": "boolean"}, "notes": {"type": "integer"}, "state": {"type": "string"}, "title": {"type": "string"}, "labels": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "color": {"type": "string"}, "created_at": {"type": "string", "description": "Time the label was added"}, "updated_at": {"type": "string"}}}}, "locked": {"type": "boolean"}, "number": {"type": "integer"}, "testers": {"type": "array", "items": {"type": "string"}}, "web_url": {"type": "string"}, "html_url": {"type": "string"}, "assignees": {"type": "array", "items": {"type": "string"}}, "closed_at": {"type": "string", "nullable": true}, "closed_by": {"type": "object", "nullable": true, "properties": {"id": {"type": "integer"}, "name": {"type": "string"}, "email": {"type": "string"}, "state": {"type": "string"}, "iam_id": {"type": "string"}, "name_cn": {"type": "string"}, "web_url": {"type": "string"}, "username": {"type": "string"}, "nick_name": {"type": "string"}, "avatar_url": {"type": "string"}}}, "diff_refs": {"type": "object", "properties": {"base_sha": {"type": "string"}, "head_sha": {"type": "string"}, "start_sha": {"type": "string"}}}, "mergeable": {"type": "boolean"}, "merged_at": {"type": "string", "nullable": true}, "merged_by": {"type": "object", "nullable": true, "properties": {"id": {"type": "string"}, "name": {"type": "string"}, "login": {"type": "string"}, "html_url": {"type": "string"}, "avatar_url": {"type": "string"}}}, "created_at": {"type": "string"}, "project_id": {"type": "integer"}, "updated_at": {"type": "string"}, "added_lines": {"type": "integer"}, "review_mode": {"type": "string"}, "prune_branch": {"type": "boolean"}, "removed_lines": {"type": "integer"}, "source_branch": {"type": "string"}, "target_branch": {"type": "string"}, "source_git_url": {"type": "string"}, "testers_number": {"type": "integer"}, "can_merge_check": {"type": "boolean", "description": "This field is deprecated; if needed, call the pull request details endpoint"}, "pipeline_status": {"type": "string"}, "assignees_number": {"type": "integer"}, "source_project_id": {"type": "integer"}, "visibility_reason": {"type": "string", "description": "Visibility: public means publicly visible, other means visible only to project members"}, "merge_request_type": {"type": "string"}, "close_related_issue": {"type": "integer"}, "force_remove_source_branch": {"type": "boolean"}, "pipeline_status_with_code_quality": {"type": "string"}}}}}}, "description": "Successful response"}}, "parameters": [{"in": "path", "name": "owner", "schema": {"type": "string"}, "required": true, "description": "The namespace address the repository belongs to (the address path of an organization or personal namespace)"}, {"in": "path", "name": "repo", "schema": {"type": "string"}, "required": true, "description": "Repository path (path)"}, {"in": "query", "name": "state", "schema": {"enum": ["all", "open", "closed", "locked", "merged"], "type": "string", "default": "all"}, "description": "Pull request state: all, open, closed, locked, merged; defaults to all"}, {"in": "query", "name": "base", "schema": {"type": "string"}, "description": "Name of the target branch to which the pull request is submitted"}, {"in": "query", "name": "since", "schema": {"type": "string"}, "description": "Start of the update time; the time format must be ISO 8601"}, {"in": "query", "name": "direction", "schema": {"enum": ["asc", "desc"], "type": "string", "default": "desc"}, "description": "Ascending/descending; defaults to desc (asc or desc)"}, {"in": "query", "name": "sort", "schema": {"enum": ["created", "updated"], "type": "string", "default": "created"}, "description": "Sort field: created, updated; defaults to created"}, {"in": "query", "name": "milestone_number", "schema": {"type": "integer"}, "description": "Milestone ordinal number (id)"}, {"in": "query", "name": "labels", "schema": {"type": "string"}, "description": "Comma-separated list of label names"}, {"in": "query", "name": "page", "schema": {"type": "integer", "default": 1}, "description": "Current page number; defaults to 1"}, {"in": "query", "name": "per_page", "schema": {"type": "integer", "default": 20}, "description": "Number of items per page, up to 100; defaults to 20"}, {"in": "query", "name": "author", "schema": {"type": "string"}, "description": "Username of the PR creator"}, {"in": "query", "name": "assignee", "schema": {"type": "string"}, "description": "Username of the PR assignee"}, {"in": "query", "name": "reviewer", "schema": {"type": "string"}, "description": "Username of the PR reviewer"}, {"in": "query", "name": "merged_after", "schema": {"type": "string"}, "description": "Return merge requests merged after the specified time; the time format must be ISO 8601"}, {"in": "query", "name": "merged_before", "schema": {"type": "string"}, "description": "Return merge requests merged before the specified time; the time format must be ISO 8601"}, {"in": "query", "name": "only_count", "schema": {"type": "boolean", "default": false}, "description": "If true, return only the merge request count; defaults to false"}, {"in": "query", "name": "created_after", "schema": {"type": "string"}, "description": "Return merge requests created after the specified time; the time format must be ISO 8601"}, {"in": "query", "name": "created_before", "schema": {"type": "string"}, "description": "Return merge requests created before the specified time; the time format must be ISO 8601"}, {"in": "query", "name": "updated_before", "schema": {"type": "string"}, "description": "Return merge requests updated before the specified time; the time format must be ISO 8601"}, {"in": "query", "name": "updated_after", "schema": {"type": "string"}, "description": "Return merge requests updated after the specified time; the time format must be ISO 8601"}], "description": "The user calls this endpoint to perform the get the project pull request list operation."}}}}

Markdown source: View on AtomGit·Content from the open-source project gitcode-dev/atomgit-api-doc