Videos: list
Returns a list of videos that match the API request parameters.
HTTP request
The only mandatory input is user_id
. If you have a customized username on IndieLog, you can directly use your username.
count
is a query param, and it's optional. If not specified, default count is 10. If the total number of your videos is less than the count you specified. We will return all your videos.
Response
If successful, this method returns all videos in the following array:
Properties
The following table defines the properties that appear in the response:
Name | Description |
createdAt | The timestamp when the video was uploaded |
duration | The length of the video (in seconds) |
title | The title of the video |
description | The description of the video |
thumbnail | The thumbnail of the video |
gif | The gif thumbnail of the video |
videoURL | The video source you can put in any video player |
postURL | The video link redirected back to IndieLog |
Errors
We will return the follow error in some cases:
Error type | Error details | Fix |
500 Internal server error | Sorry count cannot exceed 100 | Reduce count number to be <= 100 |
500 Internal server error | No such user | Use correct user_id |
Last updated