Get a tenant's OpenAPI document
Returns an OpenAPI 3.1 document that describes how to call the tenant’s lunas over HTTP. Luna generates it from the deployed version each time, so it always matches what is running. It has one operation for each handler a client can call, with the argument and return types the handler declares, one for each stream, the upload and download of each bucket, and one for each HTTP route, on the tenant’s route host. A tenant with nothing deployed gets a document with no paths. The call starts no worker, so it costs no compute.
/_luna/tenants/{tenant}/openapi.jsonAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
data:readtenantstringrequiredThe tenant, by its full name.
The tenant's OpenAPI document.
objectThe request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.