Available methods:
See also:
Contains posts from users the currently authenticated user is sharing with as well as posts tagged with tags which the currently authenticated user is following.
Required API scope: private:read
GET /api/v1/streams/main
[
{
"guid": "83d406e0b9b20133e40c406c8f31e210",
"created_at": "2016-02-20T03:46:57.955Z",
"post_type": "StatusMessage",
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a di...",
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor.",
"provider_display_name": "ExampleApp",
"public": true,
"nsfw": false,
"author": {
"guid": "f50ffc00b188013355e3705681972339",
"diaspora_id": "alice@example.com",
"name": "Alice Testing",
"avatar": "http://example.com/uploads/images/thumb_medium_83abe5319ef830c2bd84.jpg"
},
"interaction_counters": {
"comments": 3,
"likes": 1,
"reshares": 0
},
"own_interaction_state": {
"liked": false,
"reshated": false,
"subscribed": false
}
},
{
"guid": "466738b0b9c30133e40e406c8f31e210",
"created_at": "2016-02-20T05:47:02.694Z",
"post_type": "StatusMessage",
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a di...",
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. Donec et mollis dolor.",
"public": true,
"nsfw": false,
"author": {
"guid": "19103170b8cc0133e40d406c8f31e210",
"diaspora_id": "carol@example.com",
"name": "Carol Testing",
"avatar": "http://example.com/uploads/images/thumb_medium_2e1bc500b8cc0133e40d.jpg"
},
"interaction_counters": {
"comments": 14,
"likes": 42,
"reshares": 9
},
"own_interaction_state": {
"liked": false,
"reshated": false,
"subscribed": false
}
}
]
No specific errors for this API endpoint.
Contains all posts in some or all aspects. If aspect_ids
is empty, all aspects are considered.
Required API scope: private:read
GET /api/v1/streams/aspects
Name | Type | Description |
---|---|---|
aspect_ids | array | List of one or more aspect_id s. |
See Main Stream Response example.
No specific errors for this API endpoint.
Contains all posts on which the currently authenticated user interacted on, ordered by their last activity.
Required API scope: private:read
GET /api/v1/streams/activity
See Main Stream Response example.
No specific errors for this API endpoint.
Contains all posts in which the currently authenticated user is mentioned, ordered by their creation timestamp.
Required API scope: private:read
GET /api/v1/streams/mentions
See Main Stream Response example.
No specific errors for this API endpoint.
Contains posts tagged with one or more tags followed by the currently authenticated user.
Required API scopes: public:read
, tags:read
Optional API scopes: private:read
GET /api/v1/streams/tags
See Main Stream Response example.
No specific errors for this API endpoint.
Contains posts liked by the currently authenticated user.
Required API scope: private:read
GET /api/v1/streams/liked
See Main Stream Response example.
No specific errors for this API endpoint.
Contains posts commented by the currently authenticated user.
Required API scope: private:read
GET /api/v1/streams/commented
See Main Stream Response example.
No specific errors for this API endpoint.