HTTP/1.1201CREATED{"data":{"type":"groups","id":"806b946cf5","attributes":{"id":"806b946cf5","name":"Sunlight","address":"Planet Earth","bio":"Give Sunlight to employees, friends and family for them to spend on education.","avatar-url":null,"cover-url":null,"about-url":"https://sunlight.is","privacy-setting":"admin-invite","manager-approval":true,"created-at":"2017-07-20T15:19:04.416Z","slack-config-url":null,"slack-url":null,"slack-token":null,"number-of-members":1},"links":{"self":"/groups/806b946cf5"},"relationships":{}},"included":[]}

Groups can be created via a POST to https://app.sunlight.is/api/groups, which accepts a JSON object describing the group.

Note that a group will always have at least one user associated. At the time of creating a group, that user will automatically be a member and administrator.

You can fetch a list of activities via a GET to https://app.sunlight.is/api/activities The activities list is sorted by the created-at field and by default is ordered descending, by most recently created first.

A user can see the activities of other users only if they belong to the same group.