Skip to content

Commit

Permalink
Merge pull request #82 from OpenDroneMap/sprint
Browse files Browse the repository at this point in the history
Progress receiver class, stages information
  • Loading branch information
pierotofy authored May 23, 2019
2 parents 236dc10 + c43a723 commit 2779f73
Show file tree
Hide file tree
Showing 9 changed files with 1,007 additions and 874 deletions.
26 changes: 21 additions & 5 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REST API to access ODM

=== Version information
[%hardbreaks]
_Version_ : 1.5.0
_Version_ : 1.5.1


=== Contact information
Expand Down Expand Up @@ -180,12 +180,14 @@ _optional_|Token required for authentication (when authentication is required).|
_optional_|Amount of RAM available in bytes|integer
|*cpuCores* +
_optional_|Number of CPU cores (virtual)|integer
|*engine* +
_required_|Lowercase identifier of processing engine|string
|*engineVersion* +
_required_|Current version of processing engine|string
|*maxImages* +
_optional_|Maximum number of images allowed for new tasks or null if there's no limit.|integer
_required_|Maximum number of images allowed for new tasks or null if there's no limit.|integer
|*maxParallelTasks* +
_optional_|Maximum number of tasks that can be processed simultaneously|integer
|*odmVersion* +
_optional_|Current version of ODM|string
|*taskQueueCount* +
_required_|Number of tasks currently being processed or waiting to be processed|integer
|*totalMemory* +
Expand Down Expand Up @@ -594,6 +596,8 @@ Gets information about this task, such as name, creation date, processing time,
_required_|UUID of the task|string|
|*Query*|*token* +
_optional_|Token required for authentication (when authentication is required).|string|
|*Query*|*with_output* +
_optional_|Optionally retrieve the console output for this task. The parameter specifies the line number that the console output should be truncated from. For example, passing a value of 100 will retrieve the console output starting from line 100. By default no console output is added to the response.|integer|`"0"`
|*FormData*|*options* +
_optional_|Serialized JSON string of the options to use for processing, as an array of the format: [{name: option1, value: value1}, {name: option2, value: value2}, …]. For example, [{"name":"cmvs-maxImages","value":"500"},{"name":"time","value":true}]. For a list of all options, call /options|string|
|===
Expand Down Expand Up @@ -622,10 +626,12 @@ _required_|Number of images|integer
_required_|Name|string
|*options* +
_required_|List of options used to process this task|< <<_task_uuid_info_get_options,options>> > array
|*output* +
_optional_|Console output for the task (only if requested via ?output=<linenum>)|< string > array
|*processingTime* +
_required_|Milliseconds that have elapsed since the task started being processed.|integer
|*status* +
_required_|Status code (10 = QUEUED, 20 = RUNNING, 30 = FAILED, 40 = COMPLETED, 50 = CANCELED)|integer
_required_||<<_task_uuid_info_get_status,status>>
|*uuid* +
_required_|UUID|string
|===
Expand All @@ -642,6 +648,16 @@ _required_|Option name (example: "odm_meshing-octreeDepth")|string
_required_|Value (example: 9)|string
|===

[[_task_uuid_info_get_status]]
*status*

[options="header", cols=".^3,.^11,.^4"]
|===
|Name|Description|Schema
|*code* +
_required_|Status code (10 = QUEUED, 20 = RUNNING, 30 = FAILED, 40 = COMPLETED, 50 = CANCELED)|integer
|===


==== Tags

Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2779f73

Please sign in to comment.