Bug #4796
closed
Node API version 4 can only get Node details
Added by Nicolas CHARLES over 10 years ago.
Updated over 10 years ago.
Description
only function [GET] api/nodes/id works in version 4 of Nodes API.
This is because the api don't fall back to older functions
- Subject changed from The API url "latest/nodes" fails with "The Requested URL /rudder/api/latest/nodes was not found on this server" to Node APIv4 and latest can only get details from one Node
- Target version changed from 2.9.5 to 2.10.1
In 2.10, the problem is because of the apiV4 not using the fallback to version 3 for other function than getting node detail ...
In 2.9 there is typo in the url, "lastest" is expected instead of "latest" ...
- Status changed from 8 to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/504
- Status changed from Pending technical review to In progress
- Assignee changed from François ARMAND to Vincent MEMBRÉ
I don't understand what the pull resquest is for.
Please:
- add a link to other ticket if needed,
- explain what that ticket will take care of, and rewrite it's title/description accordingly,
And then, check the target of the pull request, I'm not sure it should be master.
Thanks,
- Subject changed from Node APIv4 and latest can only get details from one Node to Node API version 4 can only get Node details
- Description updated (diff)
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request changed from https://github.com/Normation/rudder/pull/504 to https://github.com/Normation/rudder/pull/512
In 2.9, fixing a typo in "latest" URL: #4800
In 2.10, APIV4 (and latest) does not fallback to old API if calling other methods.
It was done before, but lost in a rebase over architecture changes in 2.10 ( #4578 rebase over #4600).
Retargeted the PR to 2.10 in https://github.com/Normation/rudder/pull/512
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
Also available in: Atom
PDF