|
@@ -2085,6 +2085,31 @@ export interface ServerInfoResponseDto {
|
|
*/
|
|
*/
|
|
'diskAvailable': string;
|
|
'diskAvailable': string;
|
|
}
|
|
}
|
|
|
|
+/**
|
|
|
|
+ *
|
|
|
|
+ * @export
|
|
|
|
+ * @interface ServerMediaTypesResponseDto
|
|
|
|
+ */
|
|
|
|
+export interface ServerMediaTypesResponseDto {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {Array<string>}
|
|
|
|
+ * @memberof ServerMediaTypesResponseDto
|
|
|
|
+ */
|
|
|
|
+ 'video': Array<string>;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {Array<string>}
|
|
|
|
+ * @memberof ServerMediaTypesResponseDto
|
|
|
|
+ */
|
|
|
|
+ 'image': Array<string>;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {Array<string>}
|
|
|
|
+ * @memberof ServerMediaTypesResponseDto
|
|
|
|
+ */
|
|
|
|
+ 'sidecar': Array<string>;
|
|
|
|
+}
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
@@ -9711,6 +9736,35 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
+
|
|
|
|
+ return {
|
|
|
|
+ url: toPathString(localVarUrlObj),
|
|
|
|
+ options: localVarRequestOptions,
|
|
|
|
+ };
|
|
|
|
+ },
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getSupportedMediaTypes: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ const localVarPath = `/server-info/media-types`;
|
|
|
|
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
|
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
|
|
+ let baseOptions;
|
|
|
|
+ if (configuration) {
|
|
|
|
+ baseOptions = configuration.baseOptions;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
|
|
+ const localVarHeaderParameter = {} as any;
|
|
|
|
+ const localVarQueryParameter = {} as any;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9786,6 +9840,15 @@ export const ServerInfoApiFp = function(configuration?: Configuration) {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStats(options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStats(options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ async getSupportedMediaTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerMediaTypesResponseDto>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportedMediaTypes(options);
|
|
|
|
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -9829,6 +9892,14 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas
|
|
getStats(options?: AxiosRequestConfig): AxiosPromise<ServerStatsResponseDto> {
|
|
getStats(options?: AxiosRequestConfig): AxiosPromise<ServerStatsResponseDto> {
|
|
return localVarFp.getStats(options).then((request) => request(axios, basePath));
|
|
return localVarFp.getStats(options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getSupportedMediaTypes(options?: AxiosRequestConfig): AxiosPromise<ServerMediaTypesResponseDto> {
|
|
|
|
+ return localVarFp.getSupportedMediaTypes(options).then((request) => request(axios, basePath));
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -9877,6 +9948,16 @@ export class ServerInfoApi extends BaseAPI {
|
|
return ServerInfoApiFp(this.configuration).getStats(options).then((request) => request(this.axios, this.basePath));
|
|
return ServerInfoApiFp(this.configuration).getStats(options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ * @memberof ServerInfoApi
|
|
|
|
+ */
|
|
|
|
+ public getSupportedMediaTypes(options?: AxiosRequestConfig) {
|
|
|
|
+ return ServerInfoApiFp(this.configuration).getSupportedMediaTypes(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|