Get basic data structure
Returns the basic data for request in structured form
Function GetBasicDataStructure(Val URL, Val AccessKey, Val SecretKey, Val Region, Val Service = "s3") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| URL | --url | String | ✔ | URL: domain for common methods or full URL with parameters for direct request sending |
| AccessKey | --access | String | ✔ | Access key for authorization |
| SecretKey | --secret | String | ✔ | Secret key for authorization |
| Region | --region | String | ✔ | Service region |
| Service | --service | String | ✖ | Type of service, if different from s3 |
Returns: Structure Of KeyAndValue - Basic request data structure
1C:Enterprise/OneScript code example
URL = "s3.openintegrations.dev";
AccessKey = "bayselo...";
SecretKey = "12we34...";
Region = "BTC";
Result = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
- Bash
- CMD/Bat
oint s3 GetBasicDataStructure \
--url "s3.openintegrations.dev" \
--access "bayselonarrend" \
--secret "***" \
--region "BTC"
oint s3 GetBasicDataStructure ^
--url "s3.openintegrations.dev" ^
--access "bayselonarrend" ^
--secret "***" ^
--region "BTC"
Result
{
"URL": "s3.openintegrations.dev",
"AccessKey": "***",
"SecretKey": "***",
"Region": "BTC",
"Service": "s3"
}