19.58. Payloads Details RPC
Requests the details (file listing) of a known payload by its identifier.
rpc Details (PayloadsDetailsRequest) returns (stream PayloadsDetailsResponse);
19.58.1.Messages
PayloadsDetailsRequest
PayloadsDetailsRequest
message PayloadsDetailsRequest {
RequestHeader header = 1;
Identifier payload_id = 2;
}
19.59.1.Properties
19.59.1.1.header
type: message
Standard RPC request header.
See RequestHeader for details.
19.59.1.2.payload_id
type: message
Unique identifier of the payload to query.
Required. If the identifier value is omitted from the request or does not match any known payload identifier, Clara Deploy SDK will be unable to fulfill the request.
See Identifier for details.
message PipelineDetailsResponse {
ResponseHeader header = 1;
Identifier payload_id = 2;
PayloadFileDetails file = 3;
map<string, string> metadata = 4;
}
Clara Deploy SDK Payloads service will respond to any details request with a PayloadsDetailsResponse message. Requestors can use the response message to determine the result of their request.
19.60.1.Properties
19.60.1.1.header
type: message
Standard RPC response header.
See ResponseHeader for details.
19.60.1.2.payload_id
type: message
Unique identifier of the payload.
See Identifier for details.
19.60.1.3.file
type: message
Details of a file contained in the payload.
Note that this response is streamed. The response will contain one chunk for each file in the payload.
See PayloadFileDetails for details.
19.60.1.4.metadata
type: map
Metadata (set of key/value pairs) associated with the payload.
Key and Value are string types.