Skip to content

TypeScript API / laikacms/json-api / apiInfoComponents

Function: apiInfoComponents() ​

ts
function apiInfoComponents(id): Record<string, OpenApiSchema>;

ApiInfoResource and ApiInfoResponse for the endpoint listing served at the API root. id is the resource id the handler reports (documents, storage, …).

Parameters ​

ParameterType
idstring

Returns ​

Record<string, OpenApiSchema>

Released under the MIT License.