1 import { HttpStatusCode } from '@shared/models'
2 import { AbstractCommand, OverrideCommandOptions } from '../shared'
4 export class ServicesCommand extends AbstractCommand {
6 getOEmbed (options: OverrideCommandOptions & {
12 const path = '/services/oembed'
14 url: options.oembedUrl,
15 format: options.format,
16 maxheight: options.maxHeight,
17 maxwidth: options.maxWidth
20 return this.getRequest({
26 defaultExpectedStatus: HttpStatusCode.OK_200