HTTP Code | Description | Schema |
---|---|---|
200 |
LoginInformation |
Response 200
Name | Description | Schema |
---|---|---|
loginUrl |
URL (absolute or relative) where to make a POST request to obtain a token, or null if login is disabled. |
string |
message |
Message to be displayed to the user prior to login/registration. This might include instructions on how to register or login, or to communicate that authentication is not available. |
string |
registerUrl |
URL (absolute or relative) where to make a POST request to register a user, or null if registration is disabled. |
string |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
password |
Password |
string |
|
Body |
username |
Username |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Login Succeeded |
|
default |
Error |
Response 200
Name | Description | Schema |
---|---|---|
token |
Token to be passed as a query parameter to other API calls. |
string |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
password |
Password |
string |
|
Body |
username |
Username |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Response |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Info |
Response 200
Name | Description | Schema |
---|---|---|
availableMemory |
Amount of RAM available in bytes |
integer |
cpuCores |
Number of CPU cores (virtual) |
integer |
engine |
Lowercase identifier of processing engine |
string |
engineVersion |
Current version of processing engine |
string |
maxImages |
Maximum number of images allowed for new tasks or null if there’s no limit. |
integer |
maxParallelTasks |
Maximum number of tasks that can be processed simultaneously |
integer |
taskQueueCount |
Number of tasks currently being processed or waiting to be processed |
integer |
totalMemory |
Amount of total RAM in the system in bytes |
integer |
version |
Current API version |
string |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Options |
< Option > array |
Option
Name | Description | Schema |
---|---|---|
domain |
Valid range of values (for example, "positive integer" or "float > 0.0") |
string |
help |
Description of what this option does |
string |
name |
Command line option (exactly as it is passed to the OpenDroneMap process, minus the leading '–') |
string |
type |
Datatype of the value of this option |
enum (int, float, string, bool) |
value |
Default value of this option |
string |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
Body |
uuid |
UUID of the task |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Command Received |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Task List |
< Response 200 > array |
default |
Error |
Response 200
Name | Description | Schema |
---|---|---|
uuid |
UUID |
string |
Creates a new task and places it at the end of the processing queue. For uploading really large tasks, see /task/new/init instead.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
set-uuid |
An optional UUID string that will be used as UUID for this task instead of generating a random one. |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
FormData |
dateCreated |
An optional timestamp overriding the default creation date of the task. |
integer |
|
FormData |
images |
Images to process, plus optional files such as a GEO file (geo.txt), image groups file (image_groups.txt), GCP file (*.txt), seed file (seed.zip) or alignment files (align.las, align.laz, align.tif). If included, the GCP file should have .txt extension. If included, the seed archive pre-polulates the task directory with its contents. |
file |
|
FormData |
name |
An optional name to be associated with the task |
string |
|
FormData |
options |
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 |
|
FormData |
outputs |
An optional serialized JSON string of paths relative to the project directory that should be included in the all.zip result file, overriding the default behavior. |
string |
|
FormData |
skipPostProcessing |
When set, skips generation of point cloud tiles. |
boolean |
|
FormData |
webhook |
Optional URL to call when processing has ended (either successfully or unsuccessfully). |
string |
|
FormData |
zipurl |
URL of the zip file containing the images to process, plus an optional GEO file and/or an optional GCP file. If included, the GCP file should have .txt extension |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
default |
Error |
Response 200
Name | Description | Schema |
---|---|---|
uuid |
UUID of the newly created task |
string |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
uuid |
UUID of the task |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
default |
Error |
Response 200
Name | Description | Schema |
---|---|---|
uuid |
UUID of the newly created task |
string |
Initialize the upload of a new task. If successful, a user can start uploading files via /task/new/upload. The task will not start until /task/new/commit is called.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
set-uuid |
An optional UUID string that will be used as UUID for this task instead of generating a random one. |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
FormData |
dateCreated |
An optional timestamp overriding the default creation date of the task. |
integer |
|
FormData |
name |
An optional name to be associated with the task |
string |
|
FormData |
options |
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 |
|
FormData |
outputs |
An optional serialized JSON string of paths relative to the project directory that should be included in the all.zip result file, overriding the default behavior. |
string |
|
FormData |
skipPostProcessing |
When set, skips generation of point cloud tiles. |
boolean |
|
FormData |
webhook |
Optional URL to call when processing has ended (either successfully or unsuccessfully). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
default |
Error |
Response 200
Name | Description | Schema |
---|---|---|
uuid |
UUID of the newly created task |
string |
Adds one or more files to the task created via /task/new/init. It does not start the task. To start the task, call /task/new/commit.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
uuid |
UUID of the task |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
FormData |
images |
Images to process, plus optional files such as a GEO file (geo.txt), image groups file (image_groups.txt), GCP file (*.txt), seed file (seed.zip) or alignment files (align.las, align.laz, align.tif). If included, the GCP file should have .txt extension. If included, the seed archive pre-polulates the task directory with its contents. |
file |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
Body |
uuid |
UUID of the task |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Command Received |
Restarts a task that was previously canceled, that had failed to process or that successfully completed
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
Body |
options |
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. Overrides the previous options set for this task. |
string |
|
Body |
uuid |
UUID of the task |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Command Received |
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
asset |
Type of asset to download. Use "all.zip" for zip file containing all assets. |
enum (all.zip) |
|
Path |
uuid |
UUID of the task |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Asset File |
file |
default |
Error message |
Gets information about this task, such as name, creation date, processing time, status, command line options and number of images being processed. See schema definition for a full list.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
uuid |
UUID of the task |
string |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
|
Query |
with_output |
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 |
|
HTTP Code | Description | Schema |
---|---|---|
200 |
Task Information |
|
default |
Error |
TaskInfo
Name | Description | Schema |
---|---|---|
dateCreated |
Timestamp |
integer |
imagesCount |
Number of images |
integer |
name |
Name |
string |
options |
List of options used to process this task |
< options > array |
output |
Console output for the task (only if requested via ?output=<linenum>) |
< string > array |
processingTime |
Milliseconds that have elapsed since the task started being processed. |
integer |
status |
||
uuid |
UUID |
string |
progress |
The progress of this Task.From 0 to 100. |
integer |
options
Name | Description | Schema |
---|---|---|
name |
Option name (example: "odm_meshing-octreeDepth") |
string |
value |
Value (example: 9) |
string |
status
Name | Description | Schema |
---|---|---|
code |
Status code (10 = QUEUED, 20 = RUNNING, 30 = FAILED, 40 = COMPLETED, 50 = CANCELED) |
integer |
Retrieves the console output of the OpenDroneMap’s process. Useful for monitoring execution and to provide updates to the user.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
uuid |
UUID of the task |
string |
|
Query |
line |
Optional 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. Defaults to 0 (retrieve all console output). |
integer |
|
Query |
token |
Token required for authentication (when authentication is required). |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Console Output |
string |
default |
Error |