Append multiple parts
If a database is larger than 500 MB, use this API call to upload a database divided into multiple parts, where most parts can be uploaded at the same time. On the host, each part is appended to the previous part.
Call this API to upload the first part. When it is finished, you can make multiple calls to upload each part between the first and the last part at the same time. When those parts are finished, make a call to upload the last part.
For example, if a file has seven parts, call this API seven times in these three stages:
-
Stage 1: Call this API to upload the first part.
-
Stage 2: After stage 1 is complete, call this API to upload parts two to six at the same time.
-
Stage 3: After stage 2 is complete, call this API to upload part seven.
HTTP method |
PUT |
HOST URL |
https://instance-name |
API call URL |
/fmws/{db-upload-uri or rc-upload-uri}/DatabaseFilename Use the URIs returned from the "getdatabaseuploadinfo" API call for db-upload-uri or rc-upload-uri. |
HTTP header |
|
Body | The file to upload |
Parameters | None |
Response |
The API call result code. For example:
|
Response header |
Check the response header for any error codes. For example: Copy
|