MAAS API Response Schema

Is there an API response schema for MAAS’ API?

We are trying to build a TypeScript API to interact with MAAS and it will be helpful to know what to expect from the API for TypeScript’s type system. The responses I’ve been getting from MAAS don’t have all fields populated, so it makes it difficult to know what all I can get.

I am on the snap type of MAAS v3.5.5 using version 2.0 of the MAAS API.

Hey there! For the current version of the API we only have maas-openapi-yaml/openapi.yaml at main · canonical/maas-openapi-yaml · GitHub but it’s missing all the requests and responses definition so you can’t use it to generate your SDK.

We are working on a new version of the API and we plan to provide also the SDKs for ts, python and go. We plan to release them as beta in one of the next releases. Also, the openapi schema will be complete so the community will also be able to generate other SDKs on top of it

1 Like