POST /api/v1/summits/{id}/locations
POST /api/v1/summits/{id}/locations/venues
POST /api/v1/summits/{id}/locations/external-locations
POST /api/v1/summits/{id}/locations/hotels
POST /api/v1/summits/{id}/locations/airports
Required Scopes
'%s/summits/write'
'%s/locations/write'
Payload For SummitVenue
* class_name = SummitVenue
* name (required|string:max:255)
* description (sometimes|string)
* address1 (string|required_without:lng,lat)
* address2 (sometimes|string)
* zip_code (sometimes|string)
* city (string|required_without:lng,lat)
* state (string|required_without:lng,lat)
* country (string|required_without:lng,lat)
* lng (geo_longitude|required_with:lat|required_without:address1,city,state,country)
* lat (geo_latitude|required_with:lng|required_without:address1,city,state,country)
* website_url (sometimes|url)
* display_on_site (sometimes|boolean)
* details_page (sometimes|boolean)
* location_message (sometimes|string)
* is_main (sometimes|boolean)
Payload For SummitHotel
* class_name = SummitHotel
* name (required|string:max:255)
* description (sometimes|string)
* address1 (string|required_without:lng,lat)
* address2 (sometimes|string)
* zip_code (sometimes|string)
* city (string|required_without:lng,lat)
* state (string|required_without:lng,lat)
* country (string|required_without:lng,lat)
* lng (geo_longitude|required_with:lat|required_without:address1,city,state,country)
* lat (geo_latitude|required_with:lng|required_without:address1,city,state,country)
* website_url (sometimes|url)
* display_on_site (sometimes|boolean)
* details_page (sometimes|boolean)
* location_message (sometimes|string)
* capacity (sometimes|integer:min:0)
* hotel_type (sometimes|in:Primary,Alternate)
* sold_out (sometimes|boolean)
* booking_link (sometimes|url)
Payload For SummitAirport
* class_name = SummitAirport
* name (required|string:max:255)
* description (sometimes|string)
* address1 (string|required_without:lng,lat)
* address2 (sometimes|string)
* zip_code (sometimes|string)
* city (string|required_without:lng,lat)
* state (string|required_without:lng,lat)
* country (string|required_without:lng,lat)
* lng (geo_longitude|required_with:lat|required_without:address1,city,state,country)
* lat (geo_latitude|required_with:lng|required_without:address1,city,state,country)
* website_url (sometimes|url)
* display_on_site (sometimes|boolean)
* details_page (sometimes|boolean)
* location_message (sometimes|string)
* capacity (sometimes|integer:min:0)
* airport_type (sometimes|in:International,Domestic)
Payload For SummitExternalLocation
* class_name = SummitExternalLocation
* name (required|string:max:255)
* description (sometimes|string)
* address1 (string|required_without:lng,lat)
* address2 (sometimes|string)
* zip_code (sometimes|string)
* city (string|required_without:lng,lat)
* state (string|required_without:lng,lat)
* country (string|required_without:lng,lat)
* lng (geo_longitude|required_with:lat|required_without:address1,city,state,country)
* lat (geo_latitude|required_with:lng|required_without:address1,city,state,country)
* website_url (sometimes|url)
* display_on_site (sometimes|boolean)
* details_page (sometimes|boolean)
* location_message (sometimes|string)
* capacity (sometimes|integer:min:0)
Change-Id: Ie52d6e4864e2cdb1af100e2c325e02e92f1de9bd
71 lines
1.4 KiB
Plaintext
71 lines
1.4 KiB
Plaintext
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_KEY=SomeRandomString
|
|
APP_URL=http://localhost
|
|
APP_OAUTH_2_0_CLIENT_ID=clientid
|
|
APP_OAUTH_2_0_CLIENT_SECRET=clientsecret
|
|
APP_OAUTH_2_0_AUTH_SERVER_BASE_URL=http://localhost
|
|
|
|
DB_HOST=localhost
|
|
DB_DATABASE=homestead
|
|
DB_USERNAME=homestead
|
|
DB_PASSWORD=secret
|
|
|
|
SS_DB_HOST=localhost
|
|
SS_DB_DATABASE=homestead
|
|
SS_DB_USERNAME=homestead
|
|
SS_DB_PASSWORD=secret
|
|
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PORT=port
|
|
REDIS_DB=0
|
|
REDIS_PASSWORD=
|
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=redis
|
|
SESSION_COOKIE_DOMAIN=
|
|
SESSION_COOKIE_SECURE=false
|
|
|
|
QUEUE_DRIVER=sync
|
|
|
|
MAIL_DRIVER=smtp
|
|
MAIL_HOST=mailtrap.io
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=null
|
|
MAIL_PASSWORD=null
|
|
|
|
CORS_ALLOWED_HEADERS=origin, content-type, accept, authorization, x-requested-with
|
|
CORS_ALLOWED_METHODS=GET, POST, OPTIONS, PUT, DELETE
|
|
CORS_USE_PRE_FLIGHT_CACHING=true
|
|
CORS_MAX_AGE=3200
|
|
CORS_EXPOSED_HEADERS=
|
|
|
|
CURL_TIMEOUT=3600
|
|
CURL_ALLOWS_REDIRECT=false
|
|
CURL_VERIFY_SSL_CERT=false
|
|
|
|
ASSETS_BASE_URL=http://www.openstack.org
|
|
SSL_ENABLED=true
|
|
DB_LOG_ENABLED=true
|
|
ACCESS_TOKEN_CACHE_LIFETIME=300
|
|
API_RESPONSE_CACHE_LIFETIME=600
|
|
|
|
LOG_EMAIL_TO=smarcet@gmail.com
|
|
LOG_EMAIL_FROM=smarcet@gmail.com
|
|
LOG_LEVEL=info
|
|
|
|
EVENTBRITE_OAUTH2_PERSONAL_TOKEN=
|
|
SS_ENCRYPT_KEY=
|
|
SS_ENCRYPT_CYPHER=AES-256-CBC
|
|
|
|
GOOGLE_CLIENT_ID=""
|
|
GOOGLE_CLIENT_SECRET=""
|
|
GOOGLE_SCOPES=""
|
|
|
|
SSH_USER=
|
|
SSH_PUBLIC_KEY=
|
|
SSH_PRIVATE_KEY=
|
|
SCP_HOST=
|
|
SCP_REMOTE_BASE_PATH=/tmp
|
|
GOOGLE_GEO_CODING_API_KEY= |