Skip to content
Branch: master
Go to file
Code

Latest commit

Files

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

README.md

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.

You can’t perform that action at this time.