kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Quick fix on API docs
rodzic
98ff96e928
commit
0eb14d6af8
|
@ -66,15 +66,15 @@ Retrieves the command line options that can be passed to process a task
|
||||||
|===
|
|===
|
||||||
|Name|Description|Schema
|
|Name|Description|Schema
|
||||||
|*domain* +
|
|*domain* +
|
||||||
_optional_|Valid range of values (for example, "positive integer" or "float > 0.0")|string
|
_required_|Valid range of values (for example, "positive integer" or "float > 0.0")|string
|
||||||
|*help* +
|
|*help* +
|
||||||
_optional_|Description of what this option does|string
|
_required_|Description of what this option does|string
|
||||||
|*name* +
|
|*name* +
|
||||||
_optional_|Command line option (exactly as it is passed to the OpenDroneMap process, minus the leading '–')|string
|
_required_|Command line option (exactly as it is passed to the OpenDroneMap process, minus the leading '–')|string
|
||||||
|*type* +
|
|*type* +
|
||||||
_optional_|Datatype of the value of this option|enum (int, float, string, bool)
|
_required_|Datatype of the value of this option|enum (int, float, string, bool)
|
||||||
|*value* +
|
|*value* +
|
||||||
_optional_|Default value of this option|string
|
_required_|Default value of this option|string
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
1
index.js
1
index.js
|
@ -417,6 +417,7 @@ app.post('/task/restart', uuidCheck, (req, res) => {
|
||||||
* items:
|
* items:
|
||||||
* title: Option
|
* title: Option
|
||||||
* type: object
|
* type: object
|
||||||
|
* required: [name, type, value, domain, help]
|
||||||
* properties:
|
* properties:
|
||||||
* name:
|
* name:
|
||||||
* type: string
|
* type: string
|
||||||
|
|
Ładowanie…
Reference in New Issue