Skip to content

Conversation

@chrisballinger
Copy link
Member

@chrisballinger chrisballinger commented Oct 17, 2025

this PR adds support for managing images: https://developer.apple.com/documentation/retentionmessaging/upload-image

also updates the cli README examples to be more contextually appropriate

upstream PR here: apple#159

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Chris Ballinger seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

@hughbromund hughbromund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

Comment on lines +685 to +686
# Parse response for errors (successful uploads return 200 with no body)
if not (200 <= response.status_code < 300):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment doesn't seem to match the logic. We treat everything between 200 and 299 a success in the code. Could the API actually return something other than 200 for success?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably not! the docs only specify 200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants