mirror of
https://github.com/openziti/zrok.git
synced 2025-08-19 04:06:18 +02:00
'register' endpoint spec (#50)
This commit is contained in:
@@ -12,6 +12,9 @@ securityDefinitions:
|
||||
name: x-token
|
||||
|
||||
paths:
|
||||
#
|
||||
# identity
|
||||
#
|
||||
/account:
|
||||
post:
|
||||
tags:
|
||||
@@ -119,6 +122,26 @@ paths:
|
||||
schema:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
|
||||
/register:
|
||||
post:
|
||||
tags:
|
||||
- identity
|
||||
operationId: register
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
schema:
|
||||
$ref: "#/definitions/registerRequest"
|
||||
responses:
|
||||
200:
|
||||
description: account created
|
||||
404:
|
||||
description: request not found
|
||||
500:
|
||||
description: internal server error
|
||||
schema:
|
||||
$ref: "#/definitions/errorMessage"
|
||||
|
||||
/tunnel:
|
||||
post:
|
||||
tags:
|
||||
@@ -301,6 +324,14 @@ definitions:
|
||||
token:
|
||||
type: string
|
||||
|
||||
registerRequest:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
|
||||
services:
|
||||
type: array
|
||||
items:
|
||||
|
Reference in New Issue
Block a user