Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/REGOVAR/Pirus
Browse files Browse the repository at this point in the history
  • Loading branch information
ikit committed Oct 24, 2016
2 parents a051420 + 915bbd1 commit ccfe321
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions docs/restapi.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
REST Api
########


Ressources
==========

Expand Down Expand Up @@ -28,7 +32,6 @@ Ressources
**Run :**
- **pipeline_id :** unique id of the *Pipeline*
- **id :** unique id of the run
- **celery_id :** "81b003c3-73db-483d-b6e8-d636b7def10e
- **progress :**
- **value :** value of the progress
- **label :** label displayed in the progress bar
Expand Down Expand Up @@ -62,6 +65,33 @@ Runs
----
``GET /run/``
Description of the get run
Response example ::
{
data:
{
progress:
{
value: "100",
label: "100 / 100",
max: "100",
min: "0"
},
end: null,
name: "t2",
config: "<json serialized>",
inputs: [
"580897120e95cb2d349fd3ce"
],
id: "5808a28b0e95cb328c35c5c3",
status: "DONE",
outputs: null,
pipe_id: "5808a25a0e95cb328c35c5c2",
start: "1476960907.384298"
},
success: true
}


``POST /run/``
Description of the get run
Expand All @@ -75,10 +105,10 @@ Runs
``GET /run/{run_id}/config``
Description of the get run

``GET /run/{run_id}/stdout { limit }``
``GET /run/{run_id}/stdout``
Description of the get run

``GET /run/{run_id}/stderr { limit }``
``GET /run/{run_id}/stderr``
Description of the get run

``GET /run/{run_id}/log { limit }``
Expand Down

0 comments on commit ccfe321

Please sign in to comment.