Skip to main content

AddS3Bucket

Description

Usage

Request parametersPOST
URLiapi/v1/AddS3Bucket?session=
datanone

Parameters

NameTypeParameter mandatoryDescription
part
nIndex
strAccessKey
strSecretKey
strRegionName
strBucketName
strEndpoint
update

Response

NameTypeDescription

Examples

https://192.168.100.161:16445iapi/v1/AddS3Bucket?session=c1782caf-b670-42d8-ba90-2244d0b0ee83
data:
{
"part":
​ {
​ "nIndex": 1,
​ "strAccessKey": "bMoLv2fz1sGTmeNGwYcy",
​ "strSecretKey": "XVfpS6Ps6CniOtfsvFtDu8Jn2r0Ryycc7Ye2uy1I",
​ "strRegionName": "region-a",
​ "strBucketName": "bucket-a",
​ "strEndpoint": "http://10.168.1.193:9001/"
​ },
"update": false
}

response:
{
"code": "HPRO_CODE_OK",
"msg": "Success"
}