Get a user
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
Live Test Server (live data - latest nightly version)
https://peertube2.cpy.re/api/v1
GET
/users/{id}
Users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://peertube2.cpy.re/api/v1/users/'
Response Response Example
{
"account": {
"avatar": {
"createdAt": "2019-08-24T14:15:22Z",
"path": "string",
"updatedAt": "2019-08-24T14:15:22Z"
},
"createdAt": "2019-08-24T14:15:22Z",
"followersCount": 0,
"followingCount": 0,
"host": "example.com",
"hostRedundancyAllowed": true,
"id": 42,
"name": "chocobozzz",
"updatedAt": "2019-08-24T14:15:22Z",
"url": "string",
"description": "string",
"displayName": "string",
"userId": {}
},
"autoPlayNextVideo": true,
"autoPlayNextVideoPlaylist": true,
"autoPlayVideo": true,
"blocked": true,
"blockedReason": "string",
"createdAt": "string",
"email": "user@example.com",
"emailVerified": true,
"id": 42,
"lastLoginDate": "2019-08-24T14:15:22Z",
"noInstanceConfigWarningModal": true,
"noWelcomeModal": true,
"nsfwPolicy": "display",
"pluginAuth": "string",
"role": 2,
"roleLabel": "User",
"theme": "string",
"username": "chocobozzz",
"videoChannels": [
{
"description": "Videos made with <3 by Framasoft",
"displayName": "Videos of Framasoft",
"id": 42,
"isLocal": true,
"ownerAccount": {
"id": 0,
"uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d"
},
"support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"videoQuota": -1,
"videoQuotaDaily": -1,
"webtorrentEnabled": true
}
Request
Path Params
id
stringÂ
required
Query Params
withStats
stringÂ
optional
Responses
Modified at 2022-09-10 22:29:49