- Previous: Deep Links
- Up: Viddy Documentation
- Next:
User Endpoints
/v1/users/{user_id}/following
/v1/users/me/following
/v1/users/list/popular
/v1/users/{user_id}/followers
/v1/users/me/followers
/v1/users/users/user_id
/v1/users/me
/v1/users/user_id/media
/v1/users/me/media
/v1/media/favorite
/v1/media/{user_id}/favorite
User Following - /v1/users/{user_id}/following
HTTP Verb (GET)
Returns a list of users that a particular user follows. The returned list is ordered from newest to oldest and contains relevant data (e.g. full name, profile picture) on the user’s following list. This is the same list that users see when they login to Viddy and view their following list.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
user_id |
N |
A user id |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
0 if the user is not following the particular user, 1 otherwise |
Current User Following - /v1/users/me/following
HTTP Verb (GET)
Returns a list of users that the current user follows. The returned list is ordered from newest to oldest and contains relevant data (e.g. full name, profile picture) on the current user’s following list.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
Auth token |
|
older_than |
Y |
if specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entry to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
0 if the user is not following the current user, 1 otherwise |
User Followers - /v1/users/{user_id}/followers
HTTP Verb (GET)
Returns a list of followers for a particular user. The returned list is ordered from newest to oldest and contains relevant data (e.g. full name, profile picture) on the user’s followers. This is the same list that users see when they login to Viddy and view their followers.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
user_id |
N |
A user id |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
1 if the particular user is also following the user, 0 otherwise |
Current User Followers - /v1/users/me/followers
HTTP Verb (GET)
Returns a list of followers for the current user. The returned list is ordered from newest to oldest and contains relevant data (e.g. full name, profile picture) on the current user’s followers.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
1 if the current user is also following the user, 0 otherwise |
Popular Users - v1/users/list/popular
HTTP Verb (GET)
Returns a list of popular users. The returned list of users ranked based on a popularity algorithm.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
0 if the user is not following the particular user, 1 otherwise |
User Information - /v1/users/users/user_id
HTTP Verb (GET)
Returns the profile information for a particular user. This endpoint should be invoked when the details of a particular user profile (e.g. name, profile picture) is needed.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
user_id |
N |
A user id |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
|
N |
true if current user is also following that user |
|
N |
1 if the current user is also following the user, 0 otherwise |
Current User Information - /v1/users/me
HTTP Verb (GET)
Returns the profile information for the current user. This method should be invoked when the details of the current user profile (e.g. name, profile picture) is needed.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
follow-users[] |
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A link to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
The number of followers this user has |
|
|
N |
The e-mail address of this user |
|
N |
The Facebook id of this user |
|
N |
The Twitter id of this user |
|
N |
The number of users that this user is following |
|
N |
The number of active videos this user has uploaded |
User Videos - /v1/users/user_id/media
HTTP Verb (GET)
Returns the list of videos for a particular user. The returned list is ordered from newest to oldest and contains relevant data (e.g. like count, thumbnail object) on each video in the list.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
user_id |
N |
A user id |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
medias[] |
N |
|
|
N |
Media id |
|
N |
Media type |
|
N |
Media title |
|
N |
A media thumbnail object |
|
N |
A url to the media file |
|
N |
A url to link to the web player for the video |
|
N |
Comment count |
|
N |
Likes count |
|
N |
Tags count |
|
N |
Flag count |
|
N |
|
|
N |
Location name |
|
N |
Latitude |
|
N |
Longitude |
|
N |
Altitude |
|
N |
City |
|
N |
State |
|
N |
Zip |
|
N |
Country |
|
N |
Status of the user: active or inactive |
|
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A url to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
Production pack used on that video |
|
N |
Shortened url to media |
|
N |
Description of the video submitted by creator |
|
N |
The visibility of the video: public, private, followers |
|
N |
The ID of the effect that has been applied to the video. |
|
N |
The FB location ID |
|
N |
The duration of the video |
Current User Videos - /v1/users/me/media
HTTP Verb (GET)
Returns the list of videos for the current user. The returned list is ordered from newest to oldest and contains relevant data (e.g. like count, thumbnail object) on each video in the list.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
medias[] |
N |
|
|
N |
Media id |
|
N |
Media type |
|
N |
Media title |
|
N |
A media thumbnail object |
|
N |
A url to the media file |
|
N |
A url to link to the web player for the video |
|
N |
Comment count |
|
N |
Likes count |
|
N |
Tags count |
|
N |
Flag count |
|
N |
|
|
N |
Location name |
|
N |
Latitude |
|
N |
Longitude |
|
N |
Altitude |
|
N |
City |
|
N |
State |
|
N |
Zip |
|
N |
Country |
|
N |
Status of the user: active or inactive |
|
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A url to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
Production pack used on that video |
|
N |
Shortened url to media |
|
N |
Description of the video submitted by creator |
|
N |
The visibility of the video: public, private, followers |
|
N |
The ID of the effect that has been applied to the video. |
|
N |
The FB location ID |
|
N |
The duration of the video |
User Videos - /v1/media/user_id/favorite
HTTP Verb (GET)
Returns the list of videos liked by a particular user. The returned list is ordered from newest to oldest and contains relevant data (e.g. like count, thumbnail object) on each video in the list.
If the request fails, an error description will be returned.
Input Parameters
|
Input |
Optional |
Description |
|
access_token |
N |
A valid authority token |
|
user_id |
N |
A user id |
|
older_than |
Y |
If specified, the returned entries will be older than this UTC timestamp |
|
count |
Y |
Number of entries to return |
Output Parameters
|
Output |
Optional |
Description |
|
result |
N |
result code |
|
desc |
Y |
error description if result != 0 |
|
medias[] |
N |
|
|
N |
Media id |
|
N |
Media type |
|
N |
Media title |
|
N |
A media thumbnail object |
|
N |
A url to the media file |
|
N |
A url to link to the web player for the video |
|
N |
Comment count |
|
N |
Likes count |
|
N |
Tags count |
|
N |
Flag count |
|
N |
|
|
N |
Location name |
|
N |
Latitude |
|
N |
Longitude |
|
N |
Altitude |
|
N |
City |
|
N |
State |
|
N |
Zip |
|
N |
Country |
|
N |
Status of the user: active or inactive |
|
N |
|
|
N |
user ID |
|
N |
username |
|
N |
First and last name |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
A url to the users Viddy profile |
|
N |
The users profile picture thumbnail object |
|
N |
The users profile picture object |
|
N |
Activity timestamp (unix timestamp 64-bit int) |
|
N |
Activity timestamp (unix timestamp 32-bit int) |
|
N |
Production pack used on that video |
|
N |
Shortened url to media |
|
N |
Description of the video submitted by creator |
|
N |
The visibility of the video: public, private, followers |
|
N |
The ID of the effect that has been applied to the video. |
|
N |
The FB location ID |
|
N |
The duration of the video |
- Previous: Deep Links
- Up: Viddy Documentation
- Next:
0 Comments
Please sign in to post a comment.