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

Update stats documentation for specification version 3.0.0 #37

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

lawrence-forooghian
Copy link
Collaborator

This PR updates the documentation to reflect the changes made in ably/specification#149.

The spec changes are currently sitting on the integration/3.0.0 branch, so we probably don’t want to merge this PR until that branch is merged into main (which I intend to do once a couple of outstanding things are resolved), but I'd appreciate a review so that I can crack on with getting these docstrings added to ably-js for ably/ably-js#1269.

See commit messages for more details.

Resolves #34 (that issue says that we need to wait for the response documentation to be updated, but I think that the JSON schema means we can do without).

Reflects changes from spec commit a731d12.
Here’s where the text comes from:

- `schema`: looking at the value returned in the sandbox at time of
  writing (https://schemas.ably.com/json/app-stats-0.0.3.json)

- `entries`: noticing that the aforementioned schema describes all of
  the properties of `entries`

- `appId`: copied from aforementioned schema

- `inProgress`: copied from aforementioned schema
@lawrence-forooghian
Copy link
Collaborator Author

Does it look OK to you @m-hulbert?

Copy link
Contributor

@m-hulbert m-hulbert left a comment

Choose a reason for hiding this comment

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

Yep, LGTM!

@lawrence-forooghian lawrence-forooghian merged commit af4c267 into main Dec 5, 2023
@lawrence-forooghian lawrence-forooghian deleted the untyped-stats branch December 5, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add docstrings for untyped stats
3 participants