API Reference
This section provides detailed documentation for the App Services API, including methods, parameters, return values, and usage examples. Explore the various functionalities to integrate App Services into your applications effectively.
Core Services
The core services provide fundamental building blocks for managing and interacting with your application's data and logic.
Data Management API
| Method | Description | Parameters | Return Type |
|---|---|---|---|
createRecord |
Creates a new record in the specified data store. |
|
Promise<Record> |
getRecordById |
Retrieves a single record by its unique identifier. |
|
Promise<Record | null> |
queryRecords |
Retrieves a collection of records based on specified criteria. |
|
Promise<Record[]> |
updateRecord |
Updates an existing record. |
|
Promise<Record> |
deleteRecord |
Deletes a record from the data store. |
|
Promise<void> |
User Authentication API
| Method | Description | Parameters | Return Type |
|---|---|---|---|
login |
Authenticates a user using credentials. |
|
Promise<UserSession> |
logout |
Ends the current user session. | None | Promise<void> |
getCurrentUser |
Retrieves information about the currently authenticated user. | None | Promise<User | null> |
Advanced Features
Explore powerful features for extending your application's capabilities.
Background Tasks
Schedule and manage background tasks to perform operations asynchronously.
Task Scheduling API
| Method | Description | Parameters | Return Type |
|---|---|---|---|
scheduleTask |
Schedules a new background task. |
|
Promise<TaskStatus> |
getTaskStatus |
Retrieves the status of a scheduled task. |
|
Promise<TaskStatus> |
Notifications
Implement real-time notifications for your users.
Notification API
| Method | Description | Parameters | Return Type |
|---|---|---|---|
sendNotification |
Sends a notification to a specific user or group. |
|
Promise<void> |
For more detailed information on specific endpoints, please refer to the full API schema documentation.