API

ProjectOverviewPullRequest

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/pages/overview_pull_requests list ProjectOverviewPullRequestsPage

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

project_overview_pull_requests, err := client.ProjectOverviewPullRequest(nil).List(map[string]any{"organization_id": "example", "project_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(project_overview_pull_requests)

Lua

Construct client as shown in the Lua setup, then call the operations:

local project_overview_pull_requests, err = client:ProjectOverviewPullRequest():list({ organization_id = "example", project_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$project_overview_pull_requests = $client->ProjectOverviewPullRequest()->list(["organization_id" => "example", "project_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

project_overview_pull_requests = client.ProjectOverviewPullRequest().list({"organization_id": "example", "project_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

project_overview_pull_requests = client.ProjectOverviewPullRequest.list({ "organization_id" => "example", "project_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const project_overview_pull_requests = await client.ProjectOverviewPullRequest().list({ organization_id: "example", project_id: "example" })

Fields

Field Type Required Description
base_sha string Yes Base Sha
can_verify boolean Yes Can Verify
comment_url one,string,null Yes Comment Url
draft boolean Yes Draft
github_repository one,string,null Yes GitHub owner/repository associated with this pull request.
github_url one,string,null Yes Github Url
head_sha string Yes Head Sha
id string Yes Id
latest_created_at one,string,null Yes Latest Created At
latest_current boolean Yes Latest Current
latest_head_sha one,string,null Yes Latest Head Sha
latest_reason one,string,null Yes Latest Reason
latest_run_id one,string,null Yes Latest Run Id
latest_state one,string,null Yes Latest State
number integer Yes Number
project_id one,string,null Yes Project Id
project_slug one,string,null Yes Project Slug
provider string Yes Provider
repository_id string Yes Repository Id
request_label string Yes Request Label
source_branch one,string,null Yes Source Branch
source_repository one,string,null Yes Source Repository
source_url one,string,null Yes Source Url
state string Yes State
title string Yes Title
updated_at string Yes Updated At
web_path string Yes Web Path

list

GET /api/v1/organizations/{organization_id}/verification/projects/{project_id}/pages/overview_pull_requests

Operation ID: api_v1_verification_project_pages_overview_pull_requests.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes

Responses

200: ProjectOverviewPullRequestsPage

application/json

Property Type Required Description
pull_requests array of object and object Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway