Feed /user/{user-id}/feed

The feed of an user.

Reading

GET /user/{user-id}/feed HTTP/1.1
Host: localhost:3000

Permissions

  • The applied permissions to retrieve the parent user are required.

Fields

An array of Post objects attached to the parent user and whose its retrieve permissions are granted.

Publishing

POST /user/{user-id}/feed HTTP/1.1
Host: localhost:3000

Permissions

  • An access token (pointing to an user) with publish_speaking permission is required.
  • The current person must be attached to the workspace at witch is attached the parent user.

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 update posts by using the /post edge.

Deleting

You can delete posts by using the /post edge.