https://rancher.com/ logo
Title
l

lively-businessperson-12524

10/26/2022, 8:13 AM
Hi everybody. I want to create a project with the v3 api of Rancher. Does anybody know how to do this? I can't find any documentation about the api spec.
s

stocky-account-63046

10/26/2022, 8:57 AM
Documentation for v3 is over at https://docs.ranchermanager.rancher.io/pages-for-subheaders/about-the-api. The UI will make use of the v3 api to create projects and that docs page contains a section on tracking it's requests. That way you can understand how to craft your own v3 requests
l

lively-businessperson-12524

10/26/2022, 9:22 AM
ok. thanks! i was wondering why isn't there a openapi spec of the full api? Json / YAML Then i can work with Swagger / Postman to create my api calls.
s

stocky-account-63046

10/26/2022, 10:13 AM
There's a more technical spec defined here, however Rancher is migrating away from a more custom API and towards manipulation of kube resources by the standard kube api. There's not much of an update i can give there, but it's something actively being discussed internally