- Getting started
- Introduction
- Requirements
- Installation
- Modules
- Collections
- Forms
- Reference
- Configuration
- Fieldtypes
- Docker
- CLI
- Backend Language
- API
- API Token
- Cockpit
- Collections
- Forms
- Singletons
- Webhooks
Singletons
/api/singletons/get/{singletonname}
Get singleton data.
fetch('/api/singletons/get/{singletonname}?token=xxtokenxx')
.then(data => data.json())
.then(data => console.log(data));
/api/singletons/listSingletons
Get all singletons
fetch('/api/singletons/listSingletons?token=xxtokenxx')
.then(singletons => singletons.json())
.then(singletons => console.log(singletons));