-
Notifications
You must be signed in to change notification settings - Fork 6
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
Actions api paths changes #415
Commits on Sep 26, 2023
-
Use the following api paths model: /namespaces/<ns>/<kind>/<name>/<action>
Configuration menu - View commit details
-
Copy full SHA for 8ce034a - Browse repository at this point
Copy the full SHA 8ce034aView commit details -
Use a "object / <kind>" pattern for openapi handler tags.
Configuration menu - View commit details
-
Copy full SHA for 82a1e61 - Browse repository at this point
Copy the full SHA 82a1e61View commit details -
Change more object api handler paths
Expose in each object kind section this triplet of handlers: GET /namespaces/{namespace}/{kind}/{name} GET /namespaces/{namespace}/{kind}/{name}/config GET /namespaces/{namespace}/{kind}/{name}/file
Configuration menu - View commit details
-
Copy full SHA for 6bbdb1b - Browse repository at this point
Copy the full SHA 6bbdb1bView commit details -
Remove the 3 remaining "action/" subdir in api paths
New paths: * /cluster/freeze * /cluster/unfreeze * /node/drain
Configuration menu - View commit details
-
Copy full SHA for 0640100 - Browse repository at this point
Copy the full SHA 0640100View commit details -
Instance logs api handler classification
Add: * GET /namespaces/{namespace}/{kind}/{name}/instance/logs * GET /namespaces/{namespace}/{kind}/{name}/instance/backlogs Rename: * GET /object/logs => /instances/logs * GET /object/backlogs => /instances/backlogs
Configuration menu - View commit details
-
Copy full SHA for 1b380b4 - Browse repository at this point
Copy the full SHA 1b380b4View commit details -
Rename the daemon/daemonapi/get_object_logs.go file
So the filename shows its instances nature.
Configuration menu - View commit details
-
Copy full SHA for e69da37 - Browse repository at this point
Copy the full SHA e69da37View commit details -
Fix the /namespaces/{}/{}/{}/instance/*logs handlers query parms
They must not require the paths query parm, as the object path is passed from the path parms.
Configuration menu - View commit details
-
Copy full SHA for b5a2155 - Browse repository at this point
Copy the full SHA b5a2155View commit details -
Change the clear api handler path
to POST /namespaces/{namespace}/{kind}/{name}/instance/clear
Configuration menu - View commit details
-
Copy full SHA for fa9462e - Browse repository at this point
Copy the full SHA fa9462eView commit details -
Reduce the number of api handler
Use the same handler for different kinds. Use openapi handler tags to present the handler only in the supported kinds.
Configuration menu - View commit details
-
Copy full SHA for 15a7caa - Browse repository at this point
Copy the full SHA 15a7caaView commit details
Commits on Sep 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c09533c - Browse repository at this point
Copy the full SHA c09533cView commit details