Video Channels

List activities of a video channel

GET
https://peertube2.cpy.re/api/v1/video-channels/{channelHandle}/activities

PeerTube >= 8.0

Parameters

channelHandlestringrequiredpath

The video channel handle

startinteger>= 0query

Offset used to paginate results

countinteger[1, 100]15query

Number of items to return

sortstringquery

Sort column

Response

successful operation

Response fields application/json
totalinteger
Example
1
dataArray<object>
Show child attributes
idinteger

The account may have been deleted

Show child attributes
idinteger
namestring
displayNamestring
urlstring<url>
hoststring<hostname>
Show child attributes
pathstring | nulldeprecated

Deprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.

fileUrlstring

PeerTube >= 7.1

widthinteger
heightinteger

PeerTube >= 7.3

createdAtstring<date-time>
updatedAtstring<date-time>
actionobject
Show child attributes

The activity action:

  • CREATE: 1
  • UPDATE: 2
  • DELETE: 3
  • UPDATE_CAPTIONS: 4
  • UPDATE_CHAPTERS: 5
  • UPDATE_PASSWORDS: 6
  • CREATE_STUDIO_TASKS: 7
  • UPDATE_SOURCE_FILE: 8
  • UPDATE_ELEMENTS: 9
  • REMOVE_CHANNEL_OWNERSHIP: 10
  • CREATE_CHANNEL_OWNERSHIP: 11
labelstring
targetTypeobject
Show child attributes

The activity target:

  • VIDEO: 1,
  • PLAYLIST: 2,
  • CHANNEL: 3,
  • CHANNEL_SYNC: 4,
  • VIDEO_IMPORT: 5
labelstring
detailsobject
createdAtstring<date-time>
channelobject
Show child attributes
idid>= 1
Example
42
namestring
displayNamestring
urlstring<url>
videoobject | null
Show child attributes
idid>= 1
Example
42
namestring
Example
9c9de5e8-0a1e-484a-b099-e80766180a6d
shortUUIDshortUUID

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example
2y84q2MQUMWPbiEcxNXMgC
urlstring<url>
isLiveboolean
videoImportobject | null
Show child attributes
idid>= 1
Example
42
namestring
Example
9c9de5e8-0a1e-484a-b099-e80766180a6d
shortUUIDshortUUID

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example
2y84q2MQUMWPbiEcxNXMgC
urlstring<url>
targetUrlstring<uri>
playlistobject | null
Show child attributes
idid>= 1
Example
42
namestring
Example
9c9de5e8-0a1e-484a-b099-e80766180a6d
shortUUIDshortUUID

translation of a uuid v4 with a bigger alphabet to have a shorter uuid

Example
2y84q2MQUMWPbiEcxNXMgC
urlstring<url>
channelSyncobject | null
Show child attributes
idid>= 1
Example
42
externalChannelUrlstring<uri>