Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • gitkeep
  • dev protected
  • Issue/2072-wormResourceType
  • Sprint/2022-05
  • Issue/2001-extendAnalyticsLogger
  • Issue/1799-APCreationOptionOnResourceCreation
  • Issue/1913-ModificationsResourceMetadata
  • Issue/1870-publicPrivateVisibility
  • Sprint/2022-01
  • Issue/1804-fixedValueFix
  • Sprint/2021-22
  • Issue/43-saveButton
  • Issue/1762-renamingResourceTypes
  • Hotfix/64-releaseUDE
  • Sprint/2021-16
  • Product/1666-removeRadioButtons
  • Topic/1686-removeRadioButtons
  • Sprint/2021-14
  • Sprint/2021-12
  • v1.23.1
  • v1.23.0
  • v1.22.0
  • v1.21.0
  • v1.20.0
  • v1.19.0
  • v1.18.1
  • v1.18.0
  • v1.17.6
  • v1.17.5
  • v1.17.4
  • v1.17.3
  • v1.17.2
  • v1.17.1
  • v1.17.0
  • v1.16.1
  • v1.16.0
  • v1.15.1
  • v1.15.0
  • v1.14.1
40 results

Overview.vue

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    base.ts 1.58 KiB
    /* tslint:disable */
    /* eslint-disable */
    /**
     * Coscine.Api.Metadata
     * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
     *
     * The version of the OpenAPI document: 2.1.1
     * 
     *
     * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
     * https://openapi-generator.tech
     * Do not edit the class manually.
     */
    
    
    import { Configuration } from "./configuration";
    // Some imports not used depending on template conditions
    // @ts-ignore
    import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
    
    export const BASE_PATH = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Metadata".replace(/\/+$/, "");
    
    /**
     *
     * @export
     */
    export const COLLECTION_FORMATS = {
        csv: ",",
        ssv: " ",
        tsv: "\t",
        pipes: "|",
    };
    
    /**
     *
     * @export
     * @interface RequestArgs
     */
    export interface RequestArgs {
        url: string;
        options: any;
    }
    
    /**
     *
     * @export
     * @class BaseAPI
     */
    export class BaseAPI {
        protected configuration: Configuration | undefined;
    
        constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
            if (configuration) {
                this.configuration = configuration;
                this.basePath = configuration.basePath || this.basePath;
            }
        }
    };
    
    /**
     *
     * @export
     * @class RequiredError
     * @extends {Error}
     */
    export class RequiredError extends Error {
        name: "RequiredError" = "RequiredError";
        constructor(public field: string, msg?: string) {
            super(msg);
        }
    }