Observed since 21 Oct, 10:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A simple web service with file operations and instance management
A simple web service with file operations, authentication and instance management.
http.serverpip install aidesk
Start the web service:
aidesk
aidesk --host 0.0.0.0 --port 8080
aidesk --debug
Once the service is running, you can access the API documentation at http://localhost:8000
Default credentials:
POST /api/login
Parameters:
username: Your usernamepassword: Your passwordExample:
curl -X POST http://localhost:8000/api/login
-d "username=admin&password=admin"
POST /api/logout
Example:
curl -X POST http://localhost:8000/api/logout
-b "session_id=your_session_id"
POST /api/generate-file (Requires authentication)
Parameters:
filename: Name of the file to generatecontent: Multi-line text content for the fileExample:
curl -X POST http://localhost:8000/api/generate-file
-b "session_id=your_session_id"
-d "filename=example.txt&content=First line%0ASecond line%0AThird line"
POST /api/upload-file (Requires authentication)
Parameters:
Example:
curl -X POST http://localhost:8000/api/upload-file
-b "session_id=your_session_id"
-F "file=@localfile.txt"
POST /api/instances/register (No authentication required)
Registers another aidesk instance with this server.
Parameters:
hostname: Instance hostnameip: Instance IP addressport: Instance port numberstart_time: Instance start time (ISO format)Example:
curl -X POST http://localhost:8000/api/instances/register
-d "hostname=worker1&ip=192.168.1.100&port=8001&start_time=$(date -Iseconds)"
POST /api/instances/ping (No authentication required)
Updates instance status (heartbeat).
Parameters:
instance_id: ID of the instance (format: ip:port)Example:
curl -X POST http://localhost:8000/api/instances/ping
-d "instance_id=192.168.1.100:8001"
GET /api/instances (Requires authentication)
Gets all registered instances.
Example:
curl -X GET http://localhost:8000/api/instances
-b "session_id=your_session_id"
DELETE /api/instances/{instance_id} (Requires authentication)
Removes a registered instance.
Example:
curl -X DELETE http://localhost:8000/api/instances/192.168.1.100:8001
-b "session_id=your_session_id"
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.0 | 5 Aug 2025 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:07b85ab1b504d6869a32fd65913f7404c8ab493925e8070d615ae271f54be5d1