Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected appOptions

appOptions: IAppOptions

deleteRoute

deleteRoute: string = "media-vaults/{id}/{?height,width}"

findRoute

findRoute: string = "media-vaults/{?searchQuery,page,rpp,sort,embed,fields}"

getRoute

getRoute: string = "media-vaults/{id}/{?embed,fields}"

Protected mediaVaultBatchRoute

mediaVaultBatchRoute: MediaVaultBatchRoute

Protected mediaVaultProcessingProviderSettingsRoute

mediaVaultProcessingProviderSettingsRoute: MediaVaultProcessingProviderSettingsRoute

Protected mediaVaultSettingsRoute

mediaVaultSettingsRoute: MediaVaultSettingsRoute

Protected mediaVaultStreamsRoute

mediaVaultStreamsRoute: MediaVaultStreamsRoute

Protected modelMapper

modelMapper: ModelMapper

updateRoute

updateRoute: string = "media-vaults/{id}"

Protected utility

utility: Utility

Accessors

batch

processingProviderSettings

settings

streams

Methods

Protected baseCreate

  • baseCreate(route: string, data?: any): any
  • Parses get resource route which must be expanded with the Id of the previously created resource in the system.

    method
    example

    baseRoute.create();

    Parameters

    • route: string
    • Optional data: any

    Returns any

    get resource uri

Protected baseDelete

  • baseDelete(route: string, data: any, options?: IOptions, linkName?: string): any
  • Parses delete resource route.

    method
    example

    baseRoute.delete();

    Parameters

    • route: string
    • data: any
    • Optional options: IOptions
    • Optional linkName: string

    Returns any

    delete resource uri.

Protected baseFind

  • baseFind(route: string, options?: IOptions): any
  • Parses resources route which can be expanded with additional options. Supported items are:

    • searchQuery - A string value used to identify resources using the phrase search.
    • page - A value used to set the page number, i.e. to retrieve certain resource subset from the storage.
    • rpp - A value used to limit the size of result set per page.
    • sort - A string used to set the resource property to sort the result collection by.
    • embed - Comma separated list of resources to be contained within the current representation.
    method
    example

    baasicBaseDefinition.find();

    Parameters

    • route: string
    • Optional options: IOptions

    Returns any

    Query resources uri with search params

Protected baseGet

  • baseGet(route: string, id?: any, options?: any, propName?: string): any
  • Parses get resource route which must be expanded with the Id of the previously created resource in the system.

    method
    example

    baseRoute.get(route, id);

    Parameters

    • route: string
    • Optional id: any
    • Optional options: any
    • Optional propName: string

    Returns any

    get resource uri

Protected baseUpdate

  • baseUpdate(route: string, data: any, options?: IOptions, linkName?: string): any
  • Parses get resource route.

    method
    example

    baseRoute.update();

    Parameters

    • route: string
    • data: any
    • Optional options: IOptions
    • Optional linkName: string

    Returns any

    update resource uri

createParams

  • createParams(data: any, prop?: string): any
  • Parameters

    • data: any
    • Optional prop: string

    Returns any

delete

  • Parses delete route; this route should be expanded with the Id of media vault resource.

    method
    example

    mediaVaultRoute.delete({id: ''});

    Parameters

    • data: IMediaEntry

      Media vault object used to update specific Media vault resource in the system.

    • Optional options: Object

      Options object.

    Returns any

deleteParams

  • deleteParams(data: any): any
  • Parameters

    • data: any

    Returns any

find

  • Parses find route which can be expanded with additional options. Supported items are:

    • searchQuery - A string referencing media vault properties using the phrase search.
    • page - A value used to set the page number, i.e. to retrieve certain media vault subset from the storage.
    • rpp - A value used to limit the size of result set per page.
    • sort - A string used to set the media vault property to sort the result collection by.
    • embed - Comma separated list of resources to be contained within the current representation.
    method
    example

    mediaVaultRoute.find({searchQuery: ''});

    Parameters

    • Optional options: IOptions

      Query resource options object.

    Returns any

get

  • Parses get route; this route should be expanded with the Id of media vault resource.

    method
    example

    mediaVaultRoute.get({id: ''});

    Parameters

    • id: string

      Media vault id which uniquely identifies media vault resource that needs to be retrieved.

    • Optional options: IGetRequestOptions

      Query resource options object.

    Returns any

parse

  • parse(route: string): any
  • Parses and expands URI templates based on RFC6570 specifications. For more information please visit the project GitHub page.

    method
    example

    baseRoute.parse('/{?embed,fields,options}').expand({embed: ''});

    Parameters

    • route: string

    Returns any

update

  • Parses update route; this route should be expanded with the Id of media vault resource.

    method
    example

    mediaVaultRoute.get({id: ''});

    Parameters

    • data: IMediaEntry

      Media vault object used to update specific Media vault resource in the system.

    Returns any

updateParams

  • updateParams(data: any): any
  • Parameters

    • data: any

    Returns any

Generated using TypeDoc