This request allows you to upload a zip file package to the site backup location. Packages are created when you run the following requests:
Use the PUT method to upload packages with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3
-
Resource path: /Sites('<Site Name>')/Packages
Resource path strings are case-sensitive.
Sample URI
PUT
https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite01')/Packages
JSON request setting
In the body of the request, do the following:
-
Click the form-data option.
-
In the KEY field, select the File option.
-
In the VALUE field, a command, Select Files, is displayed.
Send the request
-
In the request, click the Body tab.
-
Click the form-data option.
-
Click the Select Files command.
-
In the dialog box that opens, navigate to the folder where the package you want to upload (.zip file) is located and select the file.
The file name appears beside the command:
-
Click Send.