ListChannels(), GetChannel(), ListUserSubscriptions(), ListChannelSubscriptions(), GetSubscription(), CancelSubscription()

This commit is contained in:
2022-11-19 17:07:30 +01:00
parent 85bfe79115
commit 5c2877bdb8
11 changed files with 456 additions and 58 deletions

View File

@@ -91,7 +91,7 @@
}
}
},
"/api-v2/user/": {
"/api-v2/users/": {
"post": {
"summary": "Create a new user",
"operationId": "api-user-create",
@@ -127,7 +127,7 @@
}
}
},
"/api-v2/user/{uid}": {
"/api-v2/users/{uid}": {
"get": {
"summary": "Get a user",
"operationId": "api-user-get",
@@ -221,7 +221,7 @@
}
}
},
"/api-v2/user/{uid}/clients": {
"/api-v2/users/{uid}/clients": {
"get": {
"summary": "List all clients",
"operationId": "api-clients-list",
@@ -320,7 +320,7 @@
}
}
},
"/api-v2/user/{uid}/clients/{cid}": {
"/api-v2/users/{uid}/clients/{cid}": {
"get": {
"summary": "Get a single clients",
"operationId": "api-clients-get",

View File

@@ -340,7 +340,7 @@ paths:
schema:
$ref: '#/definitions/ginresp.apiError'
summary: Send a new message
/api-v2/user/:
/api-v2/users/:
post:
operationId: api-user-create
parameters:
@@ -363,7 +363,7 @@ paths:
schema:
$ref: '#/definitions/ginresp.apiError'
summary: Create a new user
/api-v2/user/{uid}:
/api-v2/users/{uid}:
get:
operationId: api-user-get
parameters:
@@ -425,7 +425,7 @@ paths:
schema:
$ref: '#/definitions/ginresp.apiError'
summary: (Partially) update a user
/api-v2/user/{uid}/clients:
/api-v2/users/{uid}/clients:
get:
operationId: api-clients-list
parameters:
@@ -491,7 +491,7 @@ paths:
schema:
$ref: '#/definitions/ginresp.apiError'
summary: Delete a client
/api-v2/user/{uid}/clients/{cid}:
/api-v2/users/{uid}/clients/{cid}:
get:
operationId: api-clients-get
parameters: