openstackid-resources/app/Models/Foundation/Summit
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
..
Attendees added new endpoint to reassign attendee ticket to another member 2018-09-10 15:10:33 -03:00
CalendarSync Added new endpoint delete venue room 2018-03-06 23:42:49 -03:00
Defaults Fix added default summit event types 2018-06-20 07:34:55 -07:00
EntityEvents Added endpoint to add presentation category group 2018-03-27 19:08:16 -03:00
Events Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
Factories Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
Locations Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
PromoCodes added endpoint to create summit 2018-04-04 12:34:23 -03:00
Repositories Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
Speakers Added endpoints for Presentation Submission (CFP) 2018-07-31 15:13:18 -03:00
DefaultTrackTagGroup.php Added new endpoints for Track Tag Groups 2018-09-10 12:48:21 -03:00
DefaultTrackTagGroupAllowedTag.php Added new endpoints for Track Tag Groups 2018-09-10 12:48:21 -03:00
SelectionPlan.php Added endpoint to get my speaker presentations 2018-08-13 17:22:29 -03:00
Summit.php Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
SummitOwned.php Added endpoints to get track groups by summit 2018-03-26 13:59:35 -03:00
SummitPushNotification.php Added endpoint to create new summit push notification 2018-04-16 19:02:37 -03:00
SummitScheduleEmptySpot.php Endpoint get summit schedule empty spots 2017-12-08 19:26:18 -03:00
SummitTicketType.php Added get ticket types endpoints 2018-03-21 18:45:57 -03:00
SummitType.php Removed some entities from L2 cache 2017-03-15 04:02:20 -03:00
SummitWIFIConnection.php added endpoint to delete summit by id 2018-04-04 18:33:14 -03:00
TrackTagGroup.php Track Extra Questions Endpoints 2018-09-14 14:50:13 -03:00
TrackTagGroupAllowedTag.php Added new endpoints for Track Tag Groups 2018-09-10 12:48:21 -03:00