| Did you know ... | Search Documentation: |
| Pack asadb -- flaskserver/docs/FILE_API.md |
Requests are atomically placed in:
file-api/inbox/REQUEST_ID.request.json
The server moves them to processing, invokes the action, and writes:
file-api/outbox/REQUEST_ID.response.json
{
"id": "optional-client-id",
"action": "query",
"payload": {
"auth": {"token": "remote-bearer-token"},
"databaseId": "main",
"logicalDatabase": "app",
"sql": "SELECT * FROM users;"
}
}
Response:
{
"id": "file-...",
"ok": true,
"result": {},
"completedAt": "..."
}
query and metadata require authentication and RBAC.Producers must write a temporary file in the inbox filesystem and rename it to the final `*.request.json` filename. The included CLI follows this rule.
This API is filesystem IPC for same-host or shared-volume batch systems. It is not intended for arbitrary network filesystems with weak rename consistency.