Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
module OpenapiClient
# Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics and stats include a non-empty metrics array. For value include a string or number in value; strings preserve currency, units, and other formatting. For alert include message. For timer include duration_seconds for countdowns, or set counts_down false without duration_seconds for an open-ended elapsed timer. Optional icon is supported by all Live Activity types. Optional badge is supported by alert, progress, segmented_progress, and value. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.
class ContentStateStart
# Title shown on the Live Activity. Send an empty string to show no title.
attr_accessor :title

attr_accessor :subtitle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
module OpenapiClient
# Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics and stats include a non-empty metrics array. For value include a string or number in value; strings preserve currency, units, and other formatting. For alert include message. For timer, omit duration_seconds to preserve the current timer window or send duration_seconds to reset the timer from the update request time. Optional icon is supported by all Live Activity types. Optional badge is supported by alert, progress, segmented_progress, and value. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.
class ContentStateUpdate
# Title shown on the Live Activity. Send an empty string to show no title.
attr_accessor :title

attr_accessor :subtitle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
module OpenapiClient
# Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, metrics, stats, alert, timer, and value types. For timer, send duration_seconds to start or reset a bounded timer; omit duration_seconds on later updates to preserve the existing timer window.
class StreamContentState
# Title shown on the Live Activity. Send an empty string to show no title.
attr_accessor :title

attr_accessor :subtitle
Expand Down
4 changes: 2 additions & 2 deletions generated/openapi-source.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"repository": "ActivitySmithHQ/activitysmith-backend",
"commit": "15ba559268fc8a9faa46ac73ed6c5fdc96f7e4f7",
"commit": "95c03a26e9a152c5370fbcfa0be781bc943023a6",
"path": "openapi.json",
"sha256": "1964b1e64ee810e2dd4cadb41916e59b836720b8607ef60c298e3f990aeb9cb8"
"sha256": "6d91e66c8f7fc1f438c00934e68949e6815b135deed4e6dc96fcec75373b37f9"
}
Loading