- Introduced a new server package with Fastify for handling API requests and workflows. - Implemented user authentication and authorization with JWT and cookie management. - Added endpoints for managing workflows, runs, and user accounts. - Established a dashboard for monitoring workflow status and statistics. - Included a script sandbox for executing user-defined scripts securely. - Updated README with setup instructions and API documentation. - Configured database migrations for user management. - Enhanced logging capabilities for better traceability.
42 lines
763 B
HTTP
42 lines
763 B
HTTP
### Manual trigger (default owner)
|
|
POST http://localhost:9000/u/default/mt
|
|
Content-Type: application/json
|
|
|
|
0
|
|
|
|
###
|
|
POST http://localhost:9000/u/default/time-to-ntfy
|
|
Content-Type: application/json
|
|
|
|
{}
|
|
|
|
### Auth bootstrap
|
|
GET http://localhost:9000/api/auth/bootstrap
|
|
|
|
### Login
|
|
POST http://localhost:9000/api/auth/login
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "admin",
|
|
"password": "changeme1"
|
|
}
|
|
|
|
### Dashboard
|
|
GET http://localhost:9000/api/dashboard
|
|
|
|
### Runs
|
|
GET http://localhost:9000/api/runs?owner=default&limit=20
|
|
|
|
### Reregister
|
|
POST http://localhost:9000/api/workflows/reregister
|
|
Content-Type: application/json
|
|
|
|
{}
|
|
|
|
### Run workflow manually
|
|
POST http://localhost:9000/api/workflows/default/manual-trigger.yaml/run
|
|
Content-Type: application/json
|
|
|
|
{}
|