openstackid-resources/app/Models/Foundation/Summit/Events/Presentations
Sebastian Marcet 10e1b1c424 Track Extra Questions Endpoints
Get all track questions

GET /api/v1/track-question-templates

params

'page'     => 'integer|min:1'
'per_page' => 'required_with:page|integer|min:5|max:100'

filter

'name'  => ['=@', '==']
'label' => ['=@', '==']
'class_name' => ['==']

order

* id
* name
* label

expand
* tracks

scopes

%s/summits/read/all

Add track question

POST /api/v1/track-question-templates

payload

'name' => 'sometimes|alpha_dash|max:255'
'label' => 'sometimes|string'
'is_mandatory' => 'sometimes|boolean'
'is_read_only' => 'sometimes|boolean'
'tracks' => 'sometimes|int_array'

for
TrackCheckBoxQuestionTemplate and TrackTextBoxQuestionTemplate

'initial_value' => 'string|sometimes'

for
TrackDropDownQuestionTemplate

'is_multiselect' => 'sometimes|boolean'
'is_country_selector' => 'sometimes|boolean'

scopes

%s/summits/write
%s/track-question-templates/write

PUT /api/v1/track-question-templates/{track_question_template_id}

payload same as POST

scopes

%s/summits/write
%s/track-question-templates/write

delete track question

DELETE /api/v1/track-question-templates/{track_question_template_id}

scopes

%s/summits/write
%s/track-question-templates/write

get track question metadata

GET /api/v1/track-question-templates/metadata

scopes

%s/summits/read/all

add track question value

POST /api/v1/track-question-templates/{track_question_template_id}/values

payload

'value' => 'required|string|max:255'
'label' => 'required|string'

scopes

%s/summits/write
%s/track-question-templates/write

update track question value

/api/v1/track-question-templates/{track_question_template_id}/values/{track_question_template_value_id}

payload

'value' => 'sometimes|string|max:255'
'label' => 'sometimes|string'
'order' => 'sometimes|integer|min:1'

delete track question value

DELETE /api/v1/track-question-templates/{track_question_template_id}/values/{track_question_template_value_id}

scopes

%s/summits/write
%s/track-question-templates/write

get track question template value

GET /api/v1/track-question-templates/{track_question_template_id}/values/{track_question_template_value_id}

scopes

'%s/summits/read/all'

Change-Id: I663bccf3987cb0b7e337e0fe5b92f3723fac5cd6
2018-09-14 14:50:13 -03:00
..
Materials Added endpoints for Presentation Submission (CFP) 2018-07-31 15:13:18 -03:00
TrackQuestions Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
IPresentationType.php Fix added default summit event types 2018-06-20 07:34:55 -07:00
Presentation.php Added endpoints to add/remove speakers 2018-08-13 18:40:46 -03:00
PresentationCategory.php Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
PresentationCategoryGroup.php Added new endpoint to get track extra questions 2018-07-31 18:41:59 -03:00
PresentationCategoryGroupConstants.php Added endpoints to get track groups by summit 2018-03-26 13:59:35 -03:00
PresentationType.php added export event types csv 2018-02-20 14:13:43 -03:00
PrivatePresentationCategoryGroup.php added endpoint to retrieve track groups metadata 2018-04-19 11:42:10 -03:00
SpeakerPresentationLink.php Added new Endpoint getspeaker 2018-01-10 09:39:11 -03:00
SummitSelectedPresentation.php Added endpoint get RSVP by summit 2018-03-13 18:47:44 -03:00
SummitSelectedPresentationList.php Added get unpublished events endpoint 2017-11-27 23:01:14 -03:00