API

VersionLog

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}/verify/binaries/{binary_id}/versions/{id}/logs list Safe project-scoped binary response

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:

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

Lua

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

local version_logs, err = client:VersionLog():list({ binary_id = "example", organization_id = "example", version_id = "example", project_id = "example" })

PHP

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

$version_logs = $client->VersionLog()->list(["binary_id" => "example", "organization_id" => "example", "version_id" => "example", "project_id" => "example"]);

Python

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

version_logs = client.VersionLog().list({"binary_id": "example", "organization_id": "example", "version_id": "example", "project_id": "example"})

Ruby

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

version_logs = client.VersionLog.list({ "binary_id" => "example", "organization_id" => "example", "version_id" => "example", "project_id" => "example" })

TypeScript

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

const version_logs = await client.VersionLog().list({ binary_id: "example", organization_id: "example", version_id: "example", project_id: "example" })

Fields

Field Type Required Description
base_image string Yes Base Image
failure_phase one,string,null Yes Failure Phase
id string Yes Id
image_digest one,string,null Yes Image Digest
image_reference one,string,null Yes Image Reference
installer_version string Yes Installer Version
ready_at one,string,null Yes Ready At
receipt one,object,null Yes Receipt
safe_error one,string,null Yes Safe Error
started_at one,string,null Yes Started At
status string Yes Status

list

GET /api/v1/organizations/{organization_id}/verify/binaries/{binary_id}/versions/{id}/logs

Operation ID: logs_api_v1_binary_version.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
binary_id path string Yes
id path string Yes
project_id query string Yes

Responses

200: Safe project-scoped binary response

application/json

Property Type Required Description
operations array of object Yes
operations[].base_image string Yes
operations[].failure_phase string,null Yes
operations[].id string Yes
operations[].image_digest string,null Yes
operations[].image_reference string,null Yes
operations[].installer_version string Yes
operations[].ready_at string,null Yes
operations[].receipt object,null Yes
operations[].safe_error string,null Yes
operations[].started_at string,null Yes
operations[].status enum: queued, acquiring, preparing, ready, failed, canceled Yes
version_id string Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway