API

Now

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/{org_slug}/pages/now load Organization Now page contract

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:

now, err := client.Now(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(now)

Lua

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

local now, err = client:Now():load({ organization_id = "example" })

PHP

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

$now = $client->Now()->load(["organization_id" => "example"]);

Python

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

now = client.Now().load({"organization_id": "example"})

Ruby

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

now = client.Now.load({ "organization_id" => "example" })

TypeScript

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

const now = await client.Now().load({ organization_id: "example" })

Fields

Field Type Required Description
needs_attention array Yes Needs Attention
pagination object Yes Pagination
recently_landed array Yes Recently Landed
shipping_now array Yes Shipping Now
summary object Yes Summary

load

GET /api/v1/organizations/{org_slug}/pages/now

Operation ID: api_v1_pages_now.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
org_slug path string Yes
page query integer No

Responses

200: Organization Now page contract

application/json

Property Type Required Description
needs_attention array of object Yes
needs_attention[].change object Yes
needs_attention[].change.author object Yes
needs_attention[].change.author.email string No
needs_attention[].change.author.id string Yes
needs_attention[].change.author.name string No
needs_attention[].change.author.picture_url string No
needs_attention[].change.id string Yes
needs_attention[].change.number integer Yes
needs_attention[].change.reference string Yes
needs_attention[].change.title string Yes
needs_attention[].checks_status enum: pending, passing, failing, stale, missing Yes
needs_attention[].completed_at string Yes
needs_attention[].completed_at_label string Yes
needs_attention[].created_at string Yes
needs_attention[].github_pr_number integer Yes
needs_attention[].id string Yes
needs_attention[].kind enum: change, github_pr Yes
needs_attention[].member_count integer Yes
needs_attention[].member_count_label string Yes
needs_attention[].queue_length integer Yes
needs_attention[].queue_rank integer Yes
needs_attention[].recovery object Yes
needs_attention[].recovery.action_kind enum: open_checks, open_change, open_integration, open_queue Yes
needs_attention[].recovery.action_required_by enum: author, repo_admin, vex Yes
needs_attention[].recovery.kind enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... Yes
needs_attention[].recovery.next_step string Yes
needs_attention[].recovery.summary string Yes
needs_attention[].repo object Yes
needs_attention[].repo.name string Yes
needs_attention[].repo.slug string Yes
needs_attention[].repo.target_branch string Yes
needs_attention[].state enum: queued, validating, ready, merging, merged, ejected, ... Yes
needs_attention[].updated_at string Yes
pagination object Yes
pagination.count integer Yes
pagination.count_label string Yes
pagination.last integer Yes
pagination.limit integer Yes
pagination.next integer No
pagination.page integer Yes
pagination.previous integer No
pagination.series array of integer or string Yes
recently_landed array of object Yes
recently_landed[].change object Yes
recently_landed[].change.author object Yes
recently_landed[].change.author.email string No
recently_landed[].change.author.id string Yes
recently_landed[].change.author.name string No
recently_landed[].change.author.picture_url string No
recently_landed[].change.id string Yes
recently_landed[].change.number integer Yes
recently_landed[].change.reference string Yes
recently_landed[].change.title string Yes
recently_landed[].checks_status enum: pending, passing, failing, stale, missing Yes
recently_landed[].completed_at string Yes
recently_landed[].completed_at_label string Yes
recently_landed[].created_at string Yes
recently_landed[].github_pr_number integer Yes
recently_landed[].id string Yes
recently_landed[].kind enum: change, github_pr Yes
recently_landed[].member_count integer Yes
recently_landed[].member_count_label string Yes
recently_landed[].queue_length integer Yes
recently_landed[].queue_rank integer Yes
recently_landed[].recovery object Yes
recently_landed[].recovery.action_kind enum: open_checks, open_change, open_integration, open_queue Yes
recently_landed[].recovery.action_required_by enum: author, repo_admin, vex Yes
recently_landed[].recovery.kind enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... Yes
recently_landed[].recovery.next_step string Yes
recently_landed[].recovery.summary string Yes
recently_landed[].repo object Yes
recently_landed[].repo.name string Yes
recently_landed[].repo.slug string Yes
recently_landed[].repo.target_branch string Yes
recently_landed[].state enum: queued, validating, ready, merging, merged, ejected, ... Yes
recently_landed[].updated_at string Yes
shipping_now array of object Yes
shipping_now[].change object Yes
shipping_now[].change.author object Yes
shipping_now[].change.author.email string No
shipping_now[].change.author.id string Yes
shipping_now[].change.author.name string No
shipping_now[].change.author.picture_url string No
shipping_now[].change.id string Yes
shipping_now[].change.number integer Yes
shipping_now[].change.reference string Yes
shipping_now[].change.title string Yes
shipping_now[].checks_status enum: pending, passing, failing, stale, missing Yes
shipping_now[].completed_at string Yes
shipping_now[].completed_at_label string Yes
shipping_now[].created_at string Yes
shipping_now[].github_pr_number integer Yes
shipping_now[].id string Yes
shipping_now[].kind enum: change, github_pr Yes
shipping_now[].member_count integer Yes
shipping_now[].member_count_label string Yes
shipping_now[].queue_length integer Yes
shipping_now[].queue_rank integer Yes
shipping_now[].recovery object Yes
shipping_now[].recovery.action_kind enum: open_checks, open_change, open_integration, open_queue Yes
shipping_now[].recovery.action_required_by enum: author, repo_admin, vex Yes
shipping_now[].recovery.kind enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... Yes
shipping_now[].recovery.next_step string Yes
shipping_now[].recovery.summary string Yes
shipping_now[].repo object Yes
shipping_now[].repo.name string Yes
shipping_now[].repo.slug string Yes
shipping_now[].repo.target_branch string Yes
shipping_now[].state enum: queued, validating, ready, merging, merged, ejected, ... Yes
shipping_now[].updated_at string Yes
summary object Yes
summary.landed_count integer Yes
summary.needs_attention_count integer Yes
summary.shipping_count integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway