Skip to content

aluminiumgeek/organic

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Organic

Distributed task farming system with RESTful API, authentication and web interface.
Demo version: http://farm.0x80.ru (username & password: admin)

Requirements

API methods

Note: user token must be sent with Authorization header:
Authorization: Bearer <token>

POST /api/user/auth
Authenticate user, create session and return token.
Parameters: username, password

POST /api/users
Create new user.
Parameters: username, password, is_staff

GET /api/users
Get list of users.

GET /api/tasks
Get list of tasks.

GET /api/workers
Get list of workers.

POST /api/task
Create task.
Parameters (JSON encoded): items (list), priority

GET /api/task/:task_id
Get task status.

GET /api/result/:task_id
Get task result.