Skip to content

Commit ae12543

Browse files
authored
Added "SpeakersEmails" endpoint to openapi.yml
1 parent 83ed26e commit ae12543

File tree

1 file changed

+72
-25
lines changed

1 file changed

+72
-25
lines changed

openapi/openapi.yml

Lines changed: 72 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,35 @@ paths:
5858
items:
5959
$ref: '#/components/schemas/Speaker'
6060
deprecated: false
61+
/api/v2/{endpointId}/view/SpeakersEmails:
62+
get:
63+
tags:
64+
- "speakers"
65+
operationId: getAllSpeakersEmails
66+
description: 'Undocumented endpoint for retrieving the speaker-emails'
67+
parameters:
68+
- name: endpointId
69+
in: path
70+
required: true
71+
schema:
72+
type: string
73+
example: jl4ktls0
74+
- name: s
75+
in: query
76+
required: true
77+
schema:
78+
type: string
79+
description: 'Special key that is only available/retrievable for unlocked admins (Contacting Sessionize-Support is required)'
80+
responses:
81+
'200':
82+
description: Returned if the request is successful
83+
content:
84+
application/json:
85+
schema:
86+
type: array
87+
items:
88+
$ref: '#/components/schemas/SpeakerWithEmail'
89+
deprecated: false
6190
/api/v2/{endpointId}/view/Sessions:
6291
get:
6392
tags:
@@ -341,7 +370,7 @@ components:
341370
required:
342371
- id
343372
- name
344-
BaseSpeaker:
373+
BaseSpeakerEssential:
345374
type: object
346375
readOnly: true
347376
properties:
@@ -352,34 +381,41 @@ components:
352381
type: string
353382
lastName:
354383
type: string
355-
bio:
356-
type: string
357-
nullable: true
358-
tagLine:
359-
type: string
360-
nullable: true
361-
profilePicture:
362-
type: string
363-
format: uri
364-
nullable: true
365-
isTopSpeaker:
366-
type: boolean
367-
links:
368-
type: array
369-
items:
370-
$ref: '#/components/schemas/Link'
371-
fullName:
372-
type: string
373-
# categoryItems - Always empty; ignored
374-
# questionAnswers - Always empty; ignored
375384
required:
376385
- firstName
377-
- fullName
378386
- id
379-
- isTopSpeaker
380387
- lastName
381-
- links
382-
- tagLine
388+
BaseSpeaker:
389+
allOf:
390+
- $ref: '#/components/schemas/BaseSpeakerEssential'
391+
- type: object
392+
readOnly: true
393+
properties:
394+
bio:
395+
type: string
396+
nullable: true
397+
tagLine:
398+
type: string
399+
nullable: true
400+
profilePicture:
401+
type: string
402+
format: uri
403+
nullable: true
404+
isTopSpeaker:
405+
type: boolean
406+
links:
407+
type: array
408+
items:
409+
$ref: '#/components/schemas/Link'
410+
fullName:
411+
type: string
412+
# categoryItems - Always empty; ignored
413+
# questionAnswers - Always empty; ignored
414+
required:
415+
- fullName
416+
- isTopSpeaker
417+
- links
418+
- tagLine
383419
Speaker:
384420
allOf:
385421
- $ref: '#/components/schemas/BaseSpeaker'
@@ -404,6 +440,17 @@ components:
404440
type: integer # All Endpoint
405441
required:
406442
- sessions
443+
SpeakerWithEmail:
444+
allOf:
445+
- $ref: '#/components/schemas/BaseSpeakerEssential'
446+
- type: object
447+
readOnly: true
448+
properties:
449+
email:
450+
type: string
451+
format: email
452+
required:
453+
- email
407454
SpeakerMinimal:
408455
type: object
409456
readOnly: true

0 commit comments

Comments
 (0)