Yandex Cloud Registry API, gRPC: ArtifactService.Get
Статья создана
Обновлена 26 ноября 2024 г.
Returns the specified artifact resource.
To get the list of available artifact resources, make RegistryService.ListArtifacts method call.
gRPC request
rpc Get (GetArtifactRequest) returns (Artifact)
GetArtifactRequest
{
"artifact_id": "string"
}
Field |
Description |
artifact_id |
string Required field. ID of the artifact resource to return. |
Artifact
{
"id": "string",
"path": "string",
"name": "string",
"kind": "Kind",
"status": "Status",
"created_at": "google.protobuf.Timestamp",
"modified_at": "google.protobuf.Timestamp"
}
A Artifact resource.
Field |
Description |
id |
string Output only. ID of the artifact. |
path |
string Path where the artifact is located. |
name |
string Name of the artifact. |
kind |
enum Kind Kind of the artifact.
|
status |
enum Status Output only. Status of the artifact.
|
created_at |
Output only. Creation timestamp in RFC3339 |
modified_at |
Output only. Modification timestamp in RFC3339 |