Api
The API class is a generic container for API routes, models and collections and is used to run our REST API. You can find our API setup in kirby/config/api.php
.
- $api->authenticate()
- $api->authentication()
- $api->call()
- $api->clone()
- $api->collection()
- $api->collections()
- $api->data()
- $api->debug()
- $api->hasData()
- $api->model()
- $api->models()
- $api->render()
- $api->requestBody()
- $api->requestData()
- $api->requestFiles()
- $api->requestHeaders()
- $api->requestMethod()
- $api->requestQuery()
- $api->resolve()
- $api->responseFor200()
- $api->responseFor400()
- $api->responseFor404()
- $api->responseForException()
- $api->routes()
- $api->upload()
- new Api()