Skip to main content

build_logs

Creates, updates, deletes, gets or lists a build_logs resource.

Overview

Namebuild_logs
TypeResource
Iddeno.deployment.build_logs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
levelstring (example: info)
messagestring (example: Downloaded https://deno.land/std@0.202.0/testing/asserts.ts (2/3))

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_build_logsselectdeploymentIdThis API returns build logs of the specified deployment. It's useful to watch
the build progress, figure out what went wrong in case of a build failure,
and so on.

The response format can be controlled by the Accept header; if
application/x-ndjson is specified, the response will be a stream of
newline-delimited JSON objects. Otherwise it will be a JSON array of
objects.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deploymentIdstringDeployment ID

SELECT examples

This API returns build logs of the specified deployment. It's useful to watch
the build progress, figure out what went wrong in case of a build failure,
and so on.

The response format can be controlled by the Accept header; if
application/x-ndjson is specified, the response will be a stream of
newline-delimited JSON objects. Otherwise it will be a JSON array of
objects.

SELECT
level,
message
FROM deno.deployment.build_logs
WHERE deploymentId = '{{ deploymentId }}' -- required
;