Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7648,6 +7648,17 @@
}
}
},
"PayloadExternalPayloadDetails": {
"type": "object",
"properties": {
"sizeBytes": {
"type": "string",
"format": "int64",
"title": "Size in bytes of the externally stored payload"
}
},
"description": "Describes an externally stored object referenced by this payload."
},
"PendingActivityInfoPauseInfo": {
"type": "object",
"properties": {
Expand Down
7 changes: 7 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9823,6 +9823,13 @@ components:
Represents some binary (byte array) data (ex: activity input parameters or workflow result) with
metadata which describes this binary data (format, encoding, encryption, etc). Serialization
of the data may be user-defined.
Payload_ExternalPayloadDetails:
type: object
properties:
sizeBytes:
type: string
description: Size in bytes of the externally stored payload
description: Describes an externally stored object referenced by this payload.
Payloads:
type: object
properties:
Expand Down
8 changes: 8 additions & 0 deletions temporal/api/common/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ message Payloads {
message Payload {
map<string,bytes> metadata = 1;
bytes data = 2;
// Details about externally stored payloads associated with this payload.
repeated ExternalPayloadDetails external_payloads = 3;

// Describes an externally stored object referenced by this payload.
message ExternalPayloadDetails {
// Size in bytes of the externally stored payload
int64 size_bytes = 1;
}
}

// A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows.
Expand Down
Loading