Optional
configuration: ConfigurationProtected
axiosProtected
baseProtected
configurationEnable 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.
An Atlas Project/Group ID.
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Optional
adminEnableDisableHostingRequest: AdminEnableDisableHostingRequestOptional
options: AxiosRequestConfig<any>Override http request option.
Enable/Disable Hosting
HostingApi
An Atlas Project/Group ID.
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Optional
options: AxiosRequestConfig<any>Override http request option.
List all hosted assets
HostingApi
The resource path of a hosted asset.
Optional
prefix: anyReturn only those assets where the resource path begins with the specified prefix.
Optional
options: AxiosRequestConfig<any>Override http request option.
Retrieve metadata for a specific hosted asset
HostingApi
Returns the current hosting configuration. Hosting is active if the response includes status: \"setup_ok\"
.
An Atlas Project/Group ID.
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Optional
options: AxiosRequestConfig<any>Override http request option.
Get Hosting Configuration
HostingApi
Move or copy a hosted asset to a new resource path.
An Atlas Project/Group ID.
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
The hosted asset file and its metadata. (Must use `Content-Type: multipart/mixed`)
Optional
options: AxiosRequestConfig<any>Override http request option.
Move or copy a hosted asset
HostingApi
Update the metadata attributes of a hosted asset at a specific resource path.
The resource path of a hosted asset.
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.
Update the metadata attributes of a hosted asset
HostingApi
Upload or replace a hosted asset at a specific resource path.
The resource path of a hosted asset.
The hosted asset file and its metadata. (Must use `Content-Type: multipart/mixed`)
Optional
options: AxiosRequestConfig<any>Override http request option.
Upload or replace a hosted asset
HostingApi
Generated using TypeDoc
HostingApi - object-oriented interface
Export