Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Fix terminology used to refer to REST API version#40

Merged
lawrence-forooghian merged 1 commit into
mainfrom
remove-mention-of-major-REST-api-version
Dec 5, 2024
Merged

Fix terminology used to refer to REST API version#40
lawrence-forooghian merged 1 commit into
mainfrom
remove-mention-of-major-REST-api-version

Conversation

@lawrence-forooghian
Copy link
Copy Markdown
Collaborator

There is no longer a concept of a "major" version; as of protocol version 2, the protocol version is a single integer (see spec point CSV2a).

Unfortunately, the linked ably.com REST API versioning documentation still refers to API versions 1.1 and 1.2, but that’s a separate issue — the REST API documentation needs to be versioned and updated for newer protocol versions, which Mark says is planned.

Relevant conversation in ably/ably-js#1670 (comment), where Mark says:

For the docstring I think we can drop "major" and just refer to it as "version" since this will be the case going forwards. We can leave the link in for now too even if it'll be a little wonky until we release the versioned REST API.

There is no longer a concept of a "major" version; as of protocol
version 2, the protocol version is a single integer (see spec point
CSV2a).

Unfortunately, the linked ably.com REST API versioning documentation
still refers to API versions 1.1 and 1.2, but that’s a separate issue —
the REST API documentation needs to be versioned and updated for newer
protocol versions, which Mark says is planned.

Relevant conversation in [1], where Mark says:

> For the docstring I think we can drop "major" and just refer to it as
> "version" since this will be the case going forwards. We can leave the
> link in for now too even if it'll be a little wonky until we release the
> versioned REST API.

[1] ably/ably-js#1670 (comment)
lawrence-forooghian added a commit to ably/ably-js that referenced this pull request Mar 20, 2024
Taken from sdk-api-reference commit 7cc5a28 (see [1], not merged yet).

[1] ably/sdk-api-reference#40
lawrence-forooghian added a commit to ably/ably-js that referenced this pull request Mar 20, 2024
Taken from sdk-api-reference commit 7cc5a28 (see [1], not merged yet).

[1] ably/sdk-api-reference#40
@lawrence-forooghian lawrence-forooghian merged commit cfc69c3 into main Dec 5, 2024
@lawrence-forooghian lawrence-forooghian deleted the remove-mention-of-major-REST-api-version branch December 5, 2024 17:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants