IndieLog
Search…
Videos: list
Returns a list of videos that match the API request parameters.

HTTP request

1
GET https://indielog.com/api/videos/list/{user_id}?count={count}
Copied!
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:
1
[
2
{
3
"createdAt": 1597983421000,
4
"duration": 50.8,
5
"title": "Working on IndieLog APIs",
6
"description": "Not yet done, but made some progress today. 💪",
7
"videoURL": "https://stream.mux.com/JLXtEEXVQbRmb902k7OrWS3BBcYj01SyW0132W9E915KKk.m3u8",
8
"thumbnail": "https://image.mux.com/JLXtEEXVQbRmb902k7OrWS3BBcYj01SyW0132W9E915KKk/thumbnail.png",
9
"gif": "https://image.mux.com/JLXtEEXVQbRmb902k7OrWS3BBcYj01SyW0132W9E915KKk/animated.gif?width=350",
10
"postURL": "https://indielog.com/video/working-on-indielog-apis-51999ccf"
11
},
12
{
13
"createdAt": 1597896733000,
14
"duration": 119.911144,
15
"title": "Had a blast chat with Andrei",
16
"description": "Andrei helped me a lots when IndieLog was at its very early stage, though we are still very early😅\n\nThis is his profile: https://indielog.com/user/andreigaspar\n\nIf you want to get early access of Boardme, you can go to boardme.io and ask Andrei for it. ",
17
"videoURL": "https://stream.mux.com/R7OLK02xpk3RgRCYq3LtHRkSXSFi3hXcs7zc43P7kRB4.m3u8",
18
"thumbnail": "https://image.mux.com/R7OLK02xpk3RgRCYq3LtHRkSXSFi3hXcs7zc43P7kRB4/thumbnail.png?time=39.97038133333333",
19
"gif": "https://image.mux.com/R7OLK02xpk3RgRCYq3LtHRkSXSFi3hXcs7zc43P7kRB4/animated.gif?width=350",
20
"postURL": "https://indielog.com/video/had-a-blast-chat-with-andrei-d463be4b"
21
}
22
]
Copied!

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 modified 1yr ago