27
docs/docs.go
27
docs/docs.go
@@ -975,6 +975,24 @@ const docTemplate = `{
|
||||
]
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Missing User ID / Unauthorized",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/utils.RespStatus"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Unauthorized / Missing User ID",
|
||||
"schema": {
|
||||
@@ -1721,15 +1739,6 @@ const docTemplate = `{
|
||||
"properties": {
|
||||
"event_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -973,6 +973,24 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Missing User ID / Unauthorized",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/utils.RespStatus"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Unauthorized / Missing User ID",
|
||||
"schema": {
|
||||
@@ -1719,15 +1737,6 @@
|
||||
"properties": {
|
||||
"event_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"role": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -104,12 +104,6 @@ definitions:
|
||||
properties:
|
||||
event_id:
|
||||
type: string
|
||||
role:
|
||||
type: string
|
||||
state:
|
||||
type: string
|
||||
user_id:
|
||||
type: string
|
||||
type: object
|
||||
service_user.UserInfoData:
|
||||
properties:
|
||||
@@ -681,6 +675,15 @@ paths:
|
||||
data:
|
||||
type: object
|
||||
type: object
|
||||
"401":
|
||||
description: Missing User ID / Unauthorized
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/utils.RespStatus'
|
||||
- properties:
|
||||
data:
|
||||
type: object
|
||||
type: object
|
||||
"403":
|
||||
description: Unauthorized / Missing User ID
|
||||
schema:
|
||||
|
||||
Reference in New Issue
Block a user