Repository navigation
feat: the audience schedule and the app's default channel - #23
Merged
Merged
Conversation
`apps.channels.audience.get` takes `progression_rollout_percent` and `progression_step_minimum_update_count`. With both, the API adds the warning `progression_step_too_small` when a step adds fewer devices than the applied updates it waits for. `AudienceWarning.code` accepts the new code, and a contract test holds its values to the snapshot. A list of integers now goes out as a repeated query parameter, as a list of strings does. The snapshot follows the live API document. It also brings the `defaultChannel` embed of the app read, so `App` gains `default_channel`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
robingenz
marked this pull request as ready for review
November 20, 2026 20:07
`apps.get` takes `relations=["defaultChannel"]` and then answers the app with `default_channel` set. `AppRelation` names the value. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two additions that follow the live API document, mirroring the Node client:
The schedule on the audience preview
apps.channels.audience.gettakesprogression_rollout_percentandprogression_step_minimum_update_count. One is valid only beside the other. With both, the API adds the warningprogression_step_too_smallwhen a step adds fewer devices than the applied updates it waits for.models.py:AudienceWarning.codeacceptsprogression_step_too_small, and a new contract test holds its values to the snapshot._http.py: a list of integers is typed and sent as a repeated query parameter, as a list of strings is.The default channel on the app read
apps.gettakesrelations=["defaultChannel"]and then answers the app withdefault_channelset.AppRelationnames the value and is exported.The snapshot
openapi.jsonfollows the live API document and stays identical to the Node client's snapshot.Verification
🤖 Generated with Claude Code