Add attendance_list in service_event, add set user permission in user
update Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -85,6 +85,16 @@ definitions:
|
||||
refresh_token:
|
||||
type: string
|
||||
type: object
|
||||
service_event.AttendanceListResponse:
|
||||
properties:
|
||||
attendance_id:
|
||||
type: string
|
||||
kyc_info: {}
|
||||
kyc_type:
|
||||
type: string
|
||||
user_info:
|
||||
$ref: '#/definitions/service_user.UserInfoData'
|
||||
type: object
|
||||
service_event.CheckinQueryResponse:
|
||||
properties:
|
||||
checkin_at:
|
||||
@@ -487,6 +497,65 @@ paths:
|
||||
summary: Exchange Code for Token
|
||||
tags:
|
||||
- Authentication
|
||||
/event/attendance:
|
||||
get:
|
||||
description: Retrieves the list of attendees, including user info and decrypted
|
||||
KYC data for a specified event.
|
||||
parameters:
|
||||
- description: Event UUID
|
||||
in: query
|
||||
name: event_id
|
||||
required: true
|
||||
type: string
|
||||
- description: latest
|
||||
in: header
|
||||
name: X-Api-Version
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successful retrieval
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/utils.RespStatus'
|
||||
- properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/definitions/service_event.AttendanceListResponse'
|
||||
type: array
|
||||
type: object
|
||||
"400":
|
||||
description: Invalid Input
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/utils.RespStatus'
|
||||
- properties:
|
||||
data:
|
||||
type: object
|
||||
type: object
|
||||
"401":
|
||||
description: Unauthorized
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/utils.RespStatus'
|
||||
- properties:
|
||||
data:
|
||||
type: object
|
||||
type: object
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/utils.RespStatus'
|
||||
- properties:
|
||||
data:
|
||||
type: object
|
||||
type: object
|
||||
summary: Get Attendance List
|
||||
tags:
|
||||
- Event
|
||||
/event/checkin:
|
||||
get:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user