Is there an OpenAPI or Swagger specification for the REST API? I’d like to have one to use to auto-generate SDKs using the OpenAPI Generator project:
I haven’t found one so far so I started working on one, along with a Go SDK.
Here’s my minimal OpenAPI 3.0 spec. We host our own metabase so I just put in an example.com URL in the spec which is designed to be overridden in the config of the SDK.
And my Go SDK so far:
If others are interested in working on this together, I can post this to its own repo.
I took a peek at the metabase code and I found that the openapi spec is available at /api/docs/openapi.json. You also get an interactive documentation at /api/docs/.