1 import { HttpStatusCode } from '@shared/core-utils'
2 import { VideosOverview } from '@shared/models'
3 import { AbstractCommand, OverrideCommandOptions } from '../shared'
5 export class OverviewsCommand extends AbstractCommand {
7 getVideos (options: OverrideCommandOptions & {
10 const { page } = options
11 const path = '/api/v1/overviews/videos'
13 const query = { page }
15 return this.getRequestBody<VideosOverview>({
21 defaultExpectedStatus: HttpStatusCode.OK_200