You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1023 B
YAML
33 lines
1023 B
YAML
3 years ago
|
get:
|
||
|
tags:
|
||
|
- users
|
||
|
summary: get user emails
|
||
|
description: |
|
||
|
This operation lists all emails associated with the user.
|
||
|
This route is accessible to all users if the target user has elected to show their email publicly. Otherwise, it is only accessible to privileged users, or if the calling user is the same as the target user.
|
||
|
parameters:
|
||
|
- in: path
|
||
|
required: true
|
||
|
name: uid
|
||
|
schema:
|
||
|
type: number
|
||
|
description: A valid user id
|
||
|
example: 1
|
||
|
responses:
|
||
|
'200':
|
||
|
description: user emails successfully listed
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
type: object
|
||
|
properties:
|
||
|
status:
|
||
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
||
|
response:
|
||
|
type: object
|
||
|
properties:
|
||
|
emails:
|
||
|
type: array
|
||
|
items:
|
||
|
type: string
|
||
|
description: An email address
|