kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Fixed docs
rodzic
858d62e042
commit
02cf251b02
|
@ -64,10 +64,10 @@ Retrieves login information for this node.
|
|||
[options="header", cols=".^3,.^11,.^4"]
|
||||
|===
|
||||
|Name|Description|Schema
|
||||
|*instructions* +
|
||||
_optional_|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
|
||||
|*loginUrl* +
|
||||
_required_|URL (absolute or relative) where to make a POST request to obtain a token, or null if login is disabled.|string
|
||||
|*message* +
|
||||
_required_|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* +
|
||||
_required_|URL (absolute or relative) where to make a POST request to register a user, or null if registration is disabled.|string
|
||||
|===
|
||||
|
|
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
|
@ -741,7 +741,7 @@ app.get('/info', authCheck, (req, res) => {
|
|||
* type: object
|
||||
* required: [message, loginUrl, registerUrl]
|
||||
* properties:
|
||||
* instructions:
|
||||
* message:
|
||||
* type: string
|
||||
* description: 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.
|
||||
* loginUrl:
|
||||
|
|
Ładowanie…
Reference in New Issue