Skip to content

Commit

Permalink
Update dev documentation websites
Browse files Browse the repository at this point in the history
  • Loading branch information
otoroshi-github-actions committed Jul 24, 2023
1 parent 8777093 commit c0ee32e
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 0 deletions.
120 changes: 120 additions & 0 deletions docs/devmanual/code/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -17867,6 +17867,66 @@
}
},
"/api/admins/simple/{username}" : {
"get" : {
"tags" : [ "admins" ],
"summary" : "???",
"operationId" : "otoroshi.controllers.adminapi.UsersController.findAdmin",
"parameters" : [ {
"name" : "username",
"in" : "path",
"schema" : {
"type" : "string"
},
"required" : true,
"description" : "the username parameter"
} ],
"security" : [ {
"otoroshi_auth" : [ ]
} ],
"responses" : {
"401" : {
"description" : "You have to provide an Api Key. Api Key can be passed with 'Otoroshi-Client-Id' and 'Otoroshi-Client-Secret' headers, or use basic http authentication",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"400" : {
"description" : "Bad resource format. Take another look to the swagger, or open an issue",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"404" : {
"description" : "Resource not found or does not exist",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"200" : {
"description" : "Successful operation",
"content" : {
"application/json" : {
"schema" : {
"description" : "unknown type",
"type" : "object"
}
}
}
}
}
},
"put" : {
"tags" : [ "admins" ],
"summary" : "???",
Expand Down Expand Up @@ -18119,6 +18179,66 @@
}
},
"/api/admins/webauthn/{username}" : {
"get" : {
"tags" : [ "admins" ],
"summary" : "???",
"operationId" : "otoroshi.controllers.adminapi.UsersController.findWebAuthnAdmin",
"parameters" : [ {
"name" : "username",
"in" : "path",
"schema" : {
"type" : "string"
},
"required" : true,
"description" : "the username parameter"
} ],
"security" : [ {
"otoroshi_auth" : [ ]
} ],
"responses" : {
"401" : {
"description" : "You have to provide an Api Key. Api Key can be passed with 'Otoroshi-Client-Id' and 'Otoroshi-Client-Secret' headers, or use basic http authentication",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"400" : {
"description" : "Bad resource format. Take another look to the swagger, or open an issue",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"404" : {
"description" : "Resource not found or does not exist",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/ErrorResponse"
}
}
}
},
"200" : {
"description" : "Successful operation",
"content" : {
"application/json" : {
"schema" : {
"description" : "unknown type",
"type" : "object"
}
}
}
}
}
},
"put" : {
"tags" : [ "admins" ],
"summary" : "???",
Expand Down
2 changes: 2 additions & 0 deletions docs/devmanual/install/setup-otoroshi.html
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,7 @@ <h3><a href="#reference-configuration" name="reference-configuration" class="anc
number = ${?INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
name = &quot;otoroshi&quot; # instance name
name = ${?OTOROSHI_INSTANCE_NAME} # instance name
logo = ${?OTOROSHI_INSTANCE_LOGO} # instance logo
zone = &quot;local&quot; # instance zone (optional)
zone = ${?OTOROSHI_INSTANCE_ZONE} # instance zone (optional)
region = &quot;local&quot; # instance region (optional)
Expand Down Expand Up @@ -2630,6 +2631,7 @@ <h2><a href="#reference-configuration-for-env-variables" name="reference-configu
number = ${?OTOROSHI_INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
number = ${?INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
name = ${?OTOROSHI_INSTANCE_NAME} # instance name
logo = ${?OTOROSHI_INSTANCE_LOGO} # instance logo
zone = ${?OTOROSHI_INSTANCE_ZONE} # instance zone (optional)
region = ${?OTOROSHI_INSTANCE_REGION} # instance region (optional)
dc = ${?OTOROSHI_INSTANCE_DATACENTER} # instance dc (optional)
Expand Down
1 change: 1 addition & 0 deletions docs/devmanual/snippets/reference-env.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ app {
number = ${?OTOROSHI_INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
number = ${?INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
name = ${?OTOROSHI_INSTANCE_NAME} # instance name
logo = ${?OTOROSHI_INSTANCE_LOGO} # instance logo
zone = ${?OTOROSHI_INSTANCE_ZONE} # instance zone (optional)
region = ${?OTOROSHI_INSTANCE_REGION} # instance region (optional)
dc = ${?OTOROSHI_INSTANCE_DATACENTER} # instance dc (optional)
Expand Down
1 change: 1 addition & 0 deletions docs/devmanual/snippets/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ app {
number = ${?INSTANCE_NUMBER} # the instance number. Can be found in otoroshi events
name = "otoroshi" # instance name
name = ${?OTOROSHI_INSTANCE_NAME} # instance name
logo = ${?OTOROSHI_INSTANCE_LOGO} # instance logo
zone = "local" # instance zone (optional)
zone = ${?OTOROSHI_INSTANCE_ZONE} # instance zone (optional)
region = "local" # instance region (optional)
Expand Down

0 comments on commit c0ee32e

Please sign in to comment.