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
| Parameter | Type |
|---|---|
id | string |
Returns
Record<string, OpenApiSchema>