Sebastian Marcet d1d8fb73f4 PUT /api/v1/summits/{id}/locations/{location_id}/banners/{banner_id}
Payload

* title (sometimes|string)
* content (sometimes|string)
* type (sometimes|in:Primary,Secondary)
* enabled (sometimes|boolean)
* class_name (sometimes|in:SummitLocationBanner,ScheduledSummitLocationBanner)

Payload part for ScheduledSummitLocationBanner

* start_date (sometimes|date_format:U)
* end_date (required_with:start_date|date_format:U|after:start_date)

Required Scopes

* '%s/summits/write'
* '%s/locations/write'
* '%s/locations/banners/write'

Change-Id: I1b60fae02b3d74532ee0f77c98ac783f9a0e23cb
2018-03-08 08:27:18 -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