feat(serverless): add endpoints show and workers show - #110
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Single-resource GET routes were already in the control-plane spec; list commands now have a show subcommand so an endpoint or worker can be inspected without paging the collection. Co-authored-by: Cursor <cursoragent@cursor.com>
d79d3a7 to
a908504
Compare
Summary
apps endpoints show <appId> <endpointId>wrappingGET /v1/apps/{appId}/endpoints/{endpointId}.apps workers show <appId> <workerId>wrappingGET /v1/apps/{appId}/workers/{workerId}.apps endpoints <appId>andapps workers <appId>(same pattern asapps tasks).Test plan
make lintmake testmake docsrunware serverless apps endpoints my-appstill listsrunware serverless apps endpoints show my-app <endpointId>shows Path, ID, App, Created, Updatedrunware serverless apps workers my-appstill listsrunware serverless apps workers show my-app <workerId>shows status, pod, GPU, version, and last seen