kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Updated docs with token info
rodzic
2d7944c18b
commit
787571e6a0
|
@ -50,6 +50,16 @@ _Schemes_ : HTTP
|
||||||
Retrieves information about this node
|
Retrieves information about this node
|
||||||
|
|
||||||
|
|
||||||
|
==== Parameters
|
||||||
|
|
||||||
|
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|
||||||
|
|===
|
||||||
|
|Type|Name|Description|Schema|Default
|
||||||
|
|*Query*|*token* +
|
||||||
|
_optional_|Token required for authentication (when authentication is required).|string|
|
||||||
|
|===
|
||||||
|
|
||||||
|
|
||||||
==== Responses
|
==== Responses
|
||||||
|
|
||||||
[options="header", cols=".^2,.^14,.^4"]
|
[options="header", cols=".^2,.^14,.^4"]
|
||||||
|
@ -95,6 +105,16 @@ _required_|Current API version|string
|
||||||
Retrieves the command line options that can be passed to process a task
|
Retrieves the command line options that can be passed to process a task
|
||||||
|
|
||||||
|
|
||||||
|
==== Parameters
|
||||||
|
|
||||||
|
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|
||||||
|
|===
|
||||||
|
|Type|Name|Description|Schema|Default
|
||||||
|
|*Query*|*token* +
|
||||||
|
_optional_|Token required for authentication (when authentication is required).|string|
|
||||||
|
|===
|
||||||
|
|
||||||
|
|
||||||
==== Responses
|
==== Responses
|
||||||
|
|
||||||
[options="header", cols=".^2,.^14,.^4"]
|
[options="header", cols=".^2,.^14,.^4"]
|
||||||
|
|
File diff suppressed because one or more lines are too long
14
index.js
14
index.js
|
@ -610,6 +610,13 @@ app.post('/task/restart', urlEncodedBodyParser, authCheck, uuidCheck, (req, res,
|
||||||
* /options:
|
* /options:
|
||||||
* get:
|
* get:
|
||||||
* description: Retrieves the command line options that can be passed to process a task
|
* description: Retrieves the command line options that can be passed to process a task
|
||||||
|
* parameters:
|
||||||
|
* -
|
||||||
|
* name: token
|
||||||
|
* in: query
|
||||||
|
* description: 'Token required for authentication (when authentication is required).'
|
||||||
|
* required: false
|
||||||
|
* type: string
|
||||||
* tags: [server]
|
* tags: [server]
|
||||||
* responses:
|
* responses:
|
||||||
* 200:
|
* 200:
|
||||||
|
@ -653,6 +660,13 @@ app.get('/options', authCheck, (req, res) => {
|
||||||
* /info:
|
* /info:
|
||||||
* get:
|
* get:
|
||||||
* description: Retrieves information about this node
|
* description: Retrieves information about this node
|
||||||
|
* parameters:
|
||||||
|
* -
|
||||||
|
* name: token
|
||||||
|
* in: query
|
||||||
|
* description: 'Token required for authentication (when authentication is required).'
|
||||||
|
* required: false
|
||||||
|
* type: string
|
||||||
* tags: [server]
|
* tags: [server]
|
||||||
* responses:
|
* responses:
|
||||||
* 200:
|
* 200:
|
||||||
|
|
Ładowanie…
Reference in New Issue