metageo-social-api

provides an API for social events

metageo-social-api

provides the social event API social events are planned events that will happen in the future (in most cases). Most often when you are sharing an event that is being planned the purpose of sharing is so that other people can participate in that event and therefore they are "social" events.

Installation

Inside your metageo directory run npm install git+https://github.com/craveprogramminginc/metageo-social-api Then add it to you configuration file under plugins

plugins:
  metageo-social-api: {}
 

API End Points

POST: api/event/social

Create a social event. Requires Authentication.

Retrieves a social event.

Updates a social event. Requires Authentication.

Deletes a social event. Requires Authentication.

Schema

Parameter Format Description
id string
title required string
start required ISO 8601 when the event begins
end ISO 8601 when the event ends
actor string the ID of the user who created this event
content required string
address string
collections string
lat required if not using geojson cooridate the latitude of the event
lng required if not using geojson cooridate the longitude of the event
geometry required if not using lat, lng cooridnate pairs geoJSON the location of the event
objectType "social" (string) what type of event is this
published ISO 8601 when was the event