Feed /environment/feed

The news feed of the current person.

Reading

GET /environment/feed HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) with user_environment and user_speaking permissions is required.

Fields

An array of Activities objects.

Publishing

POST /environment/feed HTTP/1.1
Host: localhost:3000

Permissions

  • An access token with publish_speaking permission is required.

Fields

Name Description Type

message

The message of the post.

string

Response

If successful :

{
    "success" : true,
    "_id" : "..."
}

Otherwise a relevant error message will be returned.

Updating

You can't update activities but you can update posts at which activities are attached by using the /post edge.

Deleting

You can't delete activities but you can delete posts at which activities are attached by using the /post edge.