openstackid-resources/app/Events/TrackGroupUpdated.php
Sebastian Marcet eeab19f748 Added endpoint to add presentation category group
as long as endpoint to manage child collections
(associated tracks and allowed groups)

POST /api/v1/summits/{id}/track-groups

Payload

* class_name (PresentationCategoryGroup|PrivatePresentationCategoryGroup)
* name (required|string)
* description (sometimes|string)
* color (sometimes|hex_color)

Payload for private groups ( optional if class_name == 'PrivatePresentationCategoryGroup'

* submission_begin_date (sometimes|date_format:U)
* submission_end_date (sometimes|date_format:U|required_with:submission_begin_date|after:submission_begin_date)
* max_submission_allowed_per_user (sometimes|integer|min:1)

endpoints to manage tracks

PUT /api/v1/summits/{id}/track-groups/{track_group_id}/tracks/{track_id}
DELETE /api/v1/summits/{id}/track-groups/{track_group_id}/tracks/{track_id}

endpoints to manage allowed groups (only PrivatePresentationCategoryGroup)

PUT /api/v1/summits/{id}/track-groups/{track_group_id}/allowed-groups/{group_id}
DELETE /api/v1/summits/{id}/track-groups/{track_group_id}/allowed-groups/{group_id}

Change-Id: Icf97c9b014609b71d1668faa654a51044d5bb3ec
2018-03-27 19:08:16 -03:00

22 lines
738 B
PHP

<?php namespace App\Events;
/**
* Copyright 2018 OpenStack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* Class TrackGroupUpdate
* @package App\Events
*/
final class TrackGroupUpdated extends TrackGroupAction
{
}