- CollectionApiFp(configuration?): {
addToCollection(collectionId: string, ids: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
createCollection(name?: string, ids?: string[], parentId?: string, isLocked?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionCreationResult>)>;
removeFromCollection(collectionId: string, ids: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
} Returns {
addToCollection(collectionId: string, ids: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
createCollection(name?: string, ids?: string[], parentId?: string, isLocked?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionCreationResult>)>;
removeFromCollection(collectionId: string, ids: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
}
addToCollection:function
- addToCollection(collectionId, ids, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- collectionId: string
- ids: string[]
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
createCollection:function
- createCollection(name?, ids?, parentId?, isLocked?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionCreationResult>)>
Parameters
Optional
name: stringOptional
ids: string[]Optional
parentId: stringOptional
isLocked: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionCreationResult>)>
removeFromCollection:function
- removeFromCollection(collectionId, ids, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- collectionId: string
- ids: string[]
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
CollectionApi - functional programming interface
Export