Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: list major data of list_canister_snapshots returns #3833

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterpeterparker
Copy link
Member

Motivation

When I added support for snapshots in Juno, I was confused about the size information returned by list_canister_snapshots. I wasn’t sure if it was measured in bytes or another unit, as the Candid file only specifies a byte array and there were no additional references in the documentation.

This is why I submit this PR to clarify that the size is measured in bytes and to mention that the result includes a unique ID.

Note that I explicitly omitted the timestamp because the sentence structure I provided here ensures maintainability—meaning we wouldn’t need to update the description every time new self-explanatory fields are added.

@peterpeterparker peterpeterparker requested a review from a team as a code owner December 3, 2024 10:52
Copy link
Member

@Dfinity-Bjoern Dfinity-Bjoern left a comment

Choose a reason for hiding this comment

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

Thanks, David!

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