getMyVideoImports (options: OverrideCommandOptions & {
sort?: string
+ targetUrl?: string
+ videoChannelSyncId?: number
+ search?: string
} = {}) {
- const { sort } = options
+ const { sort, targetUrl, videoChannelSyncId, search } = options
const path = '/api/v1/users/me/videos/imports'
- const query = {}
- if (sort) query['sort'] = sort
-
return this.getRequestBody<ResultList<VideoImport>>({
...options,
path,
- query: { sort },
+ query: { sort, targetUrl, videoChannelSyncId, search },
implicitToken: true,
defaultExpectedStatus: HttpStatusCode.OK_200
})