Skip to content

Versions_ListMaterializationArtifacts

GET
/v1/accounts/{account}/datasets/{dataset}/versions/{version}/materializations/{materialization}/artifacts
curl --request GET \
--url https://dev-api.qualiastudios.dev/v1/accounts/example/datasets/example/versions/example/materializations/example/artifacts \
--header 'X-API-Key: <X-API-Key>'

A rendered dataset’s files in path order, each with a fresh signed URI. FAILED_PRECONDITION until the materialization has SUCCEEDED.

account
required
string

The account id.

dataset
required
string

The dataset id.

version
required
string

The version id.

materialization
required
string

The materialization id.

pageSize
integer format: int32

At most this many; 0 means 128, the maximum is 512.

pageToken
string

From a previous response’s next_page_token. A token from before a new renderer took over is refused (FAILED_PRECONDITION): list again from the start.

OK

Media type application/json

Response for Versions.ListMaterializationArtifacts.

object
materializationArtifacts

One page of files, in path order.

Array<object>

One file of a rendered dataset.

object
name

…/materializations/{materialization}/artifacts/{artifact}; {artifact} is its position in the listing, from 0.

string
path

Where it goes in the dataset’s directory, e.g. “meta/info.json”.

string
role

What it holds.

string format: enum
Allowed values: ROLE_UNSPECIFIED META DATA VIDEO
sizeBytes

Its size in bytes.

string
sha256

Lowercase hex SHA-256 of its bytes, to check a download against.

string
episode

Accounts/{account}/datasets/{dataset}/episodes/{episode}: the episode it was rendered from, when it holds one episode only.

string
camera

The camera key, for a video.

string
uri

Signed GET URI of its bytes; honours HTTP Range. Valid until expire_time.

string
expireTime

When uri stops working; list again for a fresh one.

string format: date-time
nextPageToken

Empty on the last page.

string
Example
{
"materializationArtifacts": [
{
"role": "ROLE_UNSPECIFIED"
}
]
}

Default error response

Media type application/json

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

object
code

The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

integer format: int32
message

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.

string
details

A list of messages that carry the error details. There is a common set of message types for APIs to use.

Array<object>

Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

object
@type

The type of the serialized message.

string
key
additional properties
any
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}