Skip to content

Document PUT create for connections #1746 - #2542

Merged
thjaeckle merged 1 commit into
eclipse-ditto:masterfrom
AzazelSensei:docs-1746-put-create-connection
Nov 13, 2026
Merged

thjaeckle merged 1 commit into
eclipse-ditto:masterfrom
AzazelSensei:docs-1746-put-create-connection

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

POST /api/2/connections still generates the ID and rejects one in the body. I documented PUT /api/2/connections/{connectionId} with If-None-Match: * as the create-only path, and pointed the Hono page at that so the connection ID can be the tenant ID.

Fixes #1746

POST /api/2/connections still generates the ID. PUT with If-None-Match: *
is how you create a connection under a chosen ID, which Hono needs
when the connection ID is the tenant ID.

Fixes eclipse-ditto#1746

Signed-off-by: Abdullah <[email protected]>
@thjaeckle

Copy link
Copy Markdown
Member

Thanks for the documentation enhancement @AzazelSensei 👍
In order for us to be able to accept and merge this, you would need to sign an ECA (Eclipse Contributor Agreement) and link your email-address you used for the Git commit in your Eclipse profile as described in the https://github.com/eclipse-ditto/ditto/blob/master/CONTRIBUTING.md

@AzazelSensei

Copy link
Copy Markdown
Contributor Author

I'll sign the ECA and add this GitHub account to the Eclipse profile.

@thjaeckle thjaeckle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR - I just noticed that the ECA is now valid 👍
LGTM

@thjaeckle
thjaeckle merged commit 0834ee6 into eclipse-ditto:master Nov 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't create Hono connection via Connections HTTP API POST

2 participants