API

PagesProjectRun

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/runs list ProjectRunsPage

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:

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

Lua

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

local pages_project_runs, err = client:PagesProjectRun():list({ organization_id = "example", project_id = "example" })

PHP

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

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

Python

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

pages_project_runs = client.PagesProjectRun().list({"organization_id": "example", "project_id": "example"})

Ruby

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

pages_project_runs = client.PagesProjectRun.list({ "organization_id" => "example", "project_id" => "example" })

TypeScript

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

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

Fields

Field Type Required Description
archived_at one,string,null Yes Archived At
browser_seconds one,number,null Yes Browser Seconds
can_archive boolean Yes Can Archive
can_restore boolean Yes Can Restore
cleanup_state string Yes Cleanup State
commit_sha one,string,null Yes Commit Sha
created_at string Yes Created At
duration_seconds one,number,null Yes Duration Seconds
environment_name one,string,null Yes Environment Name
finished_at one,string,null Yes Finished At
id string Yes Id
outcome one,string,null Yes Outcome
pull_request any Yes Pull Request
pull_request_label one,string,null Yes Pull Request Label
scenario_count integer Yes Scenario Count
source_run one,object,null Yes Source Run
started_at one,string,null Yes Started At
state string Yes State
title string Yes Title
trigger_kind string Yes Trigger Kind
triggered_by one,string,null Yes Triggered By
web_path string Yes Web Path

list

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

Operation ID: api_v1_verification_project_pages_runs.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
page query integer No
status query enum: all, active, passed, failed, blocked, cancelled, ... No
trigger query enum: all, pull_request, writer, rerun, direct No
environment_id query string No
query query string No
environment_query query string No

Responses

200: ProjectRunsPage

application/json

Property Type Required Description
environment_query string Yes
environments array of object Yes
environments[].id string Yes
environments[].name string Yes
environments[].preview boolean Yes
environments[].target_kind string Yes
environments_has_more boolean Yes
pagination object Yes
pagination.count integer Yes
pagination.last integer Yes
pagination.limit integer Yes
pagination.next integer Yes
pagination.page integer Yes
pagination.previous integer Yes
pagination.series array of integer or string Yes
runs array of object and object Yes
selected_environment object Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway