HostingApi - interface

Export

HostingApi

Hierarchy

  • HostingApiInterface

Implemented by

Methods

  • Enable or disable App Services Hosting for your app. Changes to hosting can take up to 15 minutes to take effect. This endpoint does not notify you when the changes have taken effect, only that the change operation was successfully received by the server. You can see if the hosting enablement/disablement is complete by calling the Get Hosting Configuration endpoint.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Enable/Disable Hosting

    Throws

    Memberof

    HostingApiInterface

  • Parameters

    Returns AxiosPromise<any>

    Summary

    List all hosted assets

    Throws

    Memberof

    HostingApiInterface

  • Parameters

    • path: any

      The resource path of a hosted asset.

    • Optional prefix: any

      Return only those assets where the resource path begins with the specified prefix.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns AxiosPromise<HostedAssetMetadata>

    Summary

    Retrieve metadata for a specific hosted asset

    Throws

    Memberof

    HostingApiInterface

  • Move or copy a hosted asset to a new resource path.

    Parameters

    Returns AxiosPromise<void>

    Summary

    Move or copy a hosted asset

    Throws

    Memberof

    HostingApiInterface

  • Update the metadata attributes of a hosted asset at a specific resource path.

    Parameters

    • path: any

      The resource path of a hosted asset.

    • adminUpdateHostedAssetRequest: AdminUpdateHostedAssetRequest

      The new metadata attributes for the hosted asset. These attributes replace all existing attributes for the file.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns AxiosPromise<void>

    Summary

    Update the metadata attributes of a hosted asset

    Throws

    Memberof

    HostingApiInterface

  • Upload or replace a hosted asset at a specific resource path.

    Parameters

    • path: any

      The resource path of a hosted asset.

    • adminUploadHostedAssetRequest: AdminUploadHostedAssetRequest

      The hosted asset file and its metadata. (Must use `Content-Type: multipart/mixed`)

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns AxiosPromise<void>

    Summary

    Upload or replace a hosted asset

    Throws

    Memberof

    HostingApiInterface

Generated using TypeDoc