smarcet 5b449860d0 Added new public endpoints
Endpoints autodiscovery

GET .well-known/endpoints

get speakers by summit

GET api/public/v1/summits/{id}/speakers

get speaker by id by summit

GET api/public/v1/summits/{id}/speakers/{speaker_id}

Change-Id: Id735692693097a62e87dc178423711e1736100d5
Signed-off-by: smarcet <smarcet@gmail.com>
2020-02-28 00:58:55 -03:00

27 lines
1.1 KiB
PHP

<?php namespace App\ModelSerializers\ResourceServer;
/**
* Copyright 2020 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.
**/
use Libs\ModelSerializers\AbstractSerializer;
/**
* Class ApiScopeSerializer
* @package App\ModelSerializers\ResourceServer
*/
final class ApiScopeSerializer extends AbstractSerializer
{
protected static $array_mappings = [
'Id' => 'id:json_int',
'Name' => 'name:json_string',
'Description' => 'description:json_string',
'Active' => 'active:json_boolean',
];
}