1 import { HttpStatusCode, VideosOverview } from '@shared/models'
2 import { AbstractCommand, OverrideCommandOptions } from '../shared'
4 export class OverviewsCommand extends AbstractCommand {
6 getVideos (options: OverrideCommandOptions & {
9 const { page } = options
10 const path = '/api/v1/overviews/videos'
12 const query = { page }
14 return this.getRequestBody<VideosOverview>({
20 defaultExpectedStatus: HttpStatusCode.OK_200