action cpy_get_videos { label: "List videos" provider: cpy method: GET path: "/api/v1/videos" encoding: json output: { properties: { data: { type: "array" items: { properties: { account: { properties: { avatars: { type: "array" items: { properties: { createdAt: { type: "string" format: "date-time" } path: { type: "string" } updatedAt: { type: "string" format: "date-time" } width: { type: "integer" } } } } displayName: { type: "string" } host: { type: "string" format: "hostname" } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "url" } } } blacklisted: { type: "boolean" } blacklistedReason: { type: "string" } category: { description: "category in which the video is classified" type: "object" } channel: { properties: { avatars: { type: "array" items: { type: "object" additionalProperties: true } } displayName: { type: "string" } host: { type: "string" format: "hostname" } id: { type: "integer" } name: { type: "string" } url: { type: "string" format: "url" } } } createdAt: { type: "string" format: "date-time" description: "time at which the video object was first drafted" } description: { type: "string" description: "truncated description of the video, written in Markdown.\nResolve `descriptionPath` to get the full description of maximum `10000` characters.\n" } dislikes: { type: "integer" } duration: { type: "integer" format: "seconds" description: "duration of the video in seconds" } embedPath: { type: "string" } id: { description: "object id for the video" type: "object" } isLive: { type: "boolean" } isLocal: { type: "boolean" } language: { description: "main language used in the video" type: "object" } licence: { description: "licence under which the video is distributed" type: "object" } likes: { type: "integer" } name: { type: "string" description: "title of the video" } nsfw: { type: "boolean" } originallyPublishedAt: { type: "string" format: "date-time" description: "used to represent a date of first publication, prior to the practical publication date of `publishedAt`" } previewPath: { type: "string" } privacy: { description: "privacy policy used to distribute the video" type: "object" } publishedAt: { type: "string" format: "date-time" description: "time at which the video was marked as ready for playback (with restrictions depending on `privacy`). Usually set after a `state` evolution." } scheduledUpdate: { type: "object" } shortUUID: { type: "object" } state: { description: "represents the internal state of the video processing within the PeerTube instance" type: "object" } thumbnailPath: { type: "string" } updatedAt: { type: "string" format: "date-time" description: "last time the video's metadata was modified" } userHistory: { type: "object" properties: { currentTime: { type: "integer" } } } uuid: { description: "universal identifier for the video, that can be used across instances" type: "object" } views: { type: "integer" } waitTranscoding: { type: "boolean" } } } } total: { type: "integer" } } } }