Returns a specific User object.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The user id. If the user id is me the current authenticated user will be used. You can also specify @username as a user_id . |
{
"data": {
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": false,
},
"meta": {
"code": 200
}
}
Returns the User object of the user being followed.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
follow
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The user id to be followed. You can also specify @username as a user_id . |
{
"data": {
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": false,
},
"meta": {
"code": 200
}
}
Returns the User object of the user being unfollowed.
Remember, access tokens can not be passed in a HTTP body for DELETE
requests. Please refer to the authentication documentation.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
follow
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The user id to stop following. You can also specify @username as a user_id . |
{
"data": {
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": false,
"you_muted": false,
},
"meta": {
"code": 200
}
}
Returns an array of User objects the specified user is following. Please note that the pagination is not based on user or post ids.
This endpoint is currently migrated by the
response_envelope
andfollow_pagination
migrations. Please refer to the Migrations documentation for more info.
https://alpha-api.app.net/stream/0/users/[user_id]/following
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The user id. If the user id is me the current authenticated user will be used. You can also specify @username as a user_id . |
{
"data": [
{
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": false,
},
...
],
"meta": {
"code": 200,
"max_id": "2",
"min_id": "1",
"more": true
}
}
Returns an array of User objects for users following the specified user. Please note that the pagination is not based on user or post ids.
This endpoint is currently migrated by the
response_envelope
andfollow_pagination
migrations. Please refer to the Migrations documentation for more info.
https://alpha-api.app.net/stream/0/users/[user_id]/followers
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The user id. If the user id is me the current authenticated user will be used. You can also specify @username as a user_id . |
{
"data": [
{
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": false,
},
...
],
"meta": {
"code": 200,
"max_id": "2",
"min_id": "1",
"more": true
}
}
Hide all posts for a User in all streams. Note: if you still explicitly request a this User's stream or a Post from this user, it will not be hidden.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
follow
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The id of the User to mute. You can also specify @username as a user_id . |
{
"data": {
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": true,
},
"meta": {
"code": 200
}
}
Stop hiding all posts for a given user.
Remember, access tokens can not be passed in a HTTP body for DELETE
requests. Please refer to the authentication documentation.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
follow
Name | Required? | Type | Description |
---|---|---|---|
user_id |
Required | string | The id of the User to unmute. You can also specify @username as a user_id . |
{
"data": {
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": false,
},
"meta": {
"code": 200
}
}
List the users muted by the current user. Note: you can only request this list for the current user.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
None.
{
"data": [
{
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": true,
},
...
],
"meta": {
"code": 200
}
}
List all the Users who have starred a given Post.
This endpoint is currently migrated by the
response_envelope
migration. Please refer to the Migrations documentation for more info.
Name | Required? | Type | Description |
---|---|---|---|
post_id |
Required | string | The post id |
{
"data": [
{
"id": "1", // note this is a string
"username": "mthurman",
"name": "Mark Thurman",
"description": {
"text": "Hi, I'm Mark Thurman and I'm teaching you about the @appdotnet Stream #API.",
"html": "Hi, I'm Mark Thurman and I'm <a href=\"https://github.com/appdotnet/api_spec\" rel=\"nofollow\">teaching you</a> about the <span itemprop=\"mention\" data-mention-name=\"appdotnet\" data-mention-id=\"3\">@appdotnet</span> Stream #<span itemprop=\"hashtag\" data-hashtag-name=\"api\">API</span>.",
"entities": {
"mentions": [{
"name": "appdotnet",
"id": "3",
"pos": 52,
"len": 10
}],
"hashtags": [{
"name": "api",
"pos": 70,
"len": 4
}],
"links": [{
"text": "teaching you",
"url": "https://github.com/appdotnet/api-spec",
"pos": 29,
"len": 12
}]
}
},
"timezone": "US/Pacific",
"locale": "en_US",
"avatar_image": {
"height": 512,
"width": 512,
"url": "https://example.com/avatar_image.jpg"
},
"cover_image": {
"height": 118,
"width": 320,
"url": "https://example.com/cover_image.jpg"
},
"type": "human",
"created_at": "2012-07-16T17:23:34Z",
"counts": {
"following": 100,
"followers": 200,
"posts": 24
},
"app_data": {
"appdotnet": {...},
"rdio": {...}
},
"follows_you": false,
"you_follow": true,
"you_muted": true,
},
...
],
"meta": {
"code": 200
}
}