-
Notifications
You must be signed in to change notification settings - Fork 10
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
Modeler API endpoints using wrong HTTP method(s) #269
Comments
Thanks for reporting this, and sorry that it is not working as expected. I will be pushing a fix for this tomorrow. |
jwulf
added a commit
that referenced
this issue
Oct 24, 2024
jwulf
added a commit
that referenced
this issue
Oct 24, 2024
fix(modeler): correct HTTP methods for file methods. fixes #269
jwulf
added a commit
that referenced
this issue
Oct 24, 2024
github-actions bot
pushed a commit
that referenced
this issue
Oct 24, 2024
## [8.6.15](v8.6.14...v8.6.15) (2024-10-24) ### Bug Fixes * **modeler:** correct HTTP methods for file methods. fixes [#269](#269) ([7819baa](7819baa))
github-actions bot
pushed a commit
that referenced
this issue
Oct 24, 2024
## [8.6.15](v8.6.14...v8.6.15) (2024-10-24) ### Bug Fixes * **modeler:** correct HTTP methods for file methods. fixes [#269](#269) ([7819baa](7819baa))
petar-slavov
pushed a commit
to petar-slavov/camunda-8-js-sdk
that referenced
this issue
Mar 14, 2025
## [8.6.15](camunda/camunda-8-js-sdk@v8.6.14...v8.6.15) (2024-10-24) ### Bug Fixes * **modeler:** correct HTTP methods for file methods. fixes [camunda#269](camunda#269) ([7819baa](camunda@7819baa))
petar-slavov
pushed a commit
to petar-slavov/camunda-8-js-sdk
that referenced
this issue
Mar 14, 2025
## [8.6.15](camunda/camunda-8-js-sdk@v8.6.14...v8.6.15) (2024-10-24) ### Bug Fixes * **modeler:** correct HTTP methods for file methods. fixes [camunda#269](camunda#269) ([7819baa](camunda@7819baa))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SDK Component
Modeler
Expected Behavior
I should be able to make use of all the API endpoints using the modeler client from this package.
Current Behavior
Specifically, when I want to make use of
searchFiles
andupdateFile
, errors are being thrown. Looking at the code forsearchFiles
for example, it usesGET
as its HTTP method. The Swagger UI however indicates that this specific endpoint makes use ofPOST
(link).Possible Solution
Change the functions to make use of the correct HTTP endpoints.
Steps to Reproduce
searchFiles
to query the respective API endpointThe
GETmethod cannot be used with a body
Context (Environment)
We are making use of the API endpoints in our deployment automation.
The text was updated successfully, but these errors were encountered: