Compare commits

...

2 Commits

3 changed files with 10 additions and 0 deletions

View File

@ -314,6 +314,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) {
Email: acct.Email,
FirstName: acct.FirstName,
LastName: acct.LastName,
Verified: acct.Verified,
})
}

View File

@ -53,6 +53,7 @@ type AccountInfoResponse struct {
Email string `json:"email"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Verified bool `json:"verified"`
}
type UploadLimitResponse struct {

View File

@ -318,6 +318,12 @@ components:
type: string
AccountInfoResponse:
type: object
required:
- id
- first_name
- last_name
- email
- verified
properties:
id:
type: number
@ -327,6 +333,8 @@ components:
type: string
email:
type: string
verified:
type: boolean
UploadLimitResponse:
type: object
properties: