List the lunas of a type
Returns a page of the lunas of one type, by their keys. With search, the page holds only the lunas whose key contains the text in any field. A search reads for a few seconds at most, so a page can come back short with a cursor to carry on from.
/_luna/tenants/{tenant}/lunas/{type}AuthorizationBearer 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 name.
typestringrequiredThe luna type, by its name.
afterstringThe cursor of the last page, as JSON, to read the next one.
limitinteger<int32>How many lunas to return. 100 when left out, 1000 at most.
searchstringText to look for in the keys.
A page of keys.
keysobject[]requiredThe key of each luna, with a value for every field of the type's key.
cursorobject | nullWhere the next page starts. Send it back as after. It is null on the last page.
The 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.