API

PagesRegistry

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/registry load Organization registry 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:

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

Lua

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

local pages_registry, err = client:PagesRegistry():load({ organization_id = "example" })

PHP

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

$pages_registry = $client->PagesRegistry()->load(["organization_id" => "example"]);

Python

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

pages_registry = client.PagesRegistry().load({"organization_id": "example"})

Ruby

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

pages_registry = client.PagesRegistry.load({ "organization_id" => "example" })

TypeScript

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

const pages_registry = await client.PagesRegistry().load({ organization_id: "example" })

Fields

Field Type Required Description
active_repository_count integer Yes Active Repository Count
error one,string,null Yes Error
pagination object Yes Pagination
repositories array Yes Repositories
repository_count integer Yes Repository Count

load

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

Operation ID: api_v1_pages_registry.

Authentication: bearer token (bearerAuth).

Parameters

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

Responses

200: Organization registry page contract

application/json

Property Type Required Description
active_repository_count integer Yes
error 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 Yes
pagination.page integer Yes
pagination.previous integer Yes
pagination.series array of integer or enum: gap Yes
repositories array of object Yes
repositories[].auth_configured boolean Yes
repositories[].created_at string (date-time) Yes
repositories[].created_at_label string Yes
repositories[].hosted_app_id string Yes
repositories[].id string Yes
repositories[].name string Yes
repositories[].organization_id string Yes
repositories[].provider_kind enum: oci, docker_registry Yes
repositories[].repository_path string Yes
repositories[].slug string Yes
repositories[].status enum: active, paused, archived Yes
repositories[].updated_at string (date-time) Yes
repositories[].updated_at_label string Yes
repositories[].visibility enum: private, internal, public Yes
repository_count integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway