Sebastian Marcet 3f91069e57 Added new endpoint get banners per location
GET /api/v1/summits/{id}/locations/{location_id}/banners

query string params

page

per_page

filter

* class_name ('==') ( possible values 'SummitLocationBanner', 'ScheduledSummitLocationBanner')
* title ('==', '=@')
* content ('=@')
* type ('==') ( possible values 'Primary', 'Secondary')
* enabled ('==') (boolean)
* start_date ('>', '<', '<=', '>=', '==') (epoch format summit local timezone)
* end_date ('>', '<', '<=', '>=', '==')  (epoch format summit local timezone)

order

Required Scopes

'%s/summits/read'
'%s/summits/read/all'

Change-Id: Ic7068117bb133301efc0d6ab38c1080b943b37b2
2018-03-07 19:32:53 -03:00
2015-08-18 13:48:13 -03:00
2016-11-04 17:07:57 -03:00
2015-08-18 13:48:13 -03:00
2015-04-22 19:55:53 +00:00
2017-12-11 14:34:50 -03:00
2015-08-18 13:48:13 -03:00
2018-02-15 13:30:39 -03:00
2015-08-18 13:48:13 -03:00
2015-08-18 13:48:13 -03:00
2015-08-18 13:48:13 -03:00
2017-11-23 16:01:54 -03:00

OpenStackId Resource Server

Prerequisites

* LAMP/LEMP environment
* PHP >= 5.4.0
* Redis
* composer (https://getcomposer.org/)

Install

run following commands on root folder

  • curl -s https://getcomposer.org/installer | php
  • php composer.phar install --prefer-dist
  • php composer.phar dump-autoload --optimize
  • php artisan migrate --env=YOUR_ENVIRONMENT
  • php artisan db:seed --env=YOUR_ENVIRONMENT
  • phpunit --bootstrap vendor/autoload.php
  • php artisan doctrine:generate:proxies
  • php artisan doctrine:clear:metadata:cache
  • php artisan doctrine:clear:query:cache
  • php artisan doctrine:clear:result:cache
  • php artisan doctrine:ensure:production
  • php artisan route:clear
  • php artisan route:cache
  • give proper rights to storage folder (775 and proper users)
  • chmod 777 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer

Permissions

Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server.

check SS schema

php artisan doctrine:schema:create --sql --em=ss > ss.sql

Description
RETIRED, Resource service for the OpenStack Foundation site
Readme 12 MiB