You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-07-03 00:58:12 +02:00
Main build (Jenkins)
This commit is contained in:
5
docs/en/data/S3/DeleteObjectTagging.json
Normal file
5
docs/en/data/S3/DeleteObjectTagging.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67...",
|
||||
"SecretKey": "NNhv+i9PrytpT8Tu0C1N..."
|
||||
}
|
5
docs/en/data/S3/GetObjectTagging.json
Normal file
5
docs/en/data/S3/GetObjectTagging.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67...",
|
||||
"SecretKey": "NNhv+i9PrytpT8Tu0C1N..."
|
||||
}
|
5
docs/en/data/S3/PutObjectTagging.json
Normal file
5
docs/en/data/S3/PutObjectTagging.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67...",
|
||||
"SecretKey": "NNhv+i9PrytpT8Tu0C1N..."
|
||||
}
|
11
docs/en/examples/S3/DeleteObjectTagging.txt
Normal file
11
docs/en/examples/S3/DeleteObjectTagging.txt
Normal file
@ -0,0 +1,11 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.DeleteObjectTagging(Name, Bucket, BasicData);
|
11
docs/en/examples/S3/GetObjectTagging.txt
Normal file
11
docs/en/examples/S3/GetObjectTagging.txt
Normal file
@ -0,0 +1,11 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.GetObjectTagging(Name, Bucket, BasicData);
|
16
docs/en/examples/S3/PutObjectTagging.txt
Normal file
16
docs/en/examples/S3/PutObjectTagging.txt
Normal file
@ -0,0 +1,16 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
TagStructure = New Structure;
|
||||
|
||||
TagStructure.Insert("MyTag1", "SomeValue");
|
||||
TagStructure.Insert("MyTag2", "AnotherOne");
|
||||
|
||||
Result = OPI_S3.PutObjectTagging(Name, Bucket, BasicData, TagStructure);
|
51
docs/en/md/S3/Objects-managment/Delete-object-tagging.mdx
Normal file
51
docs/en/md/S3/Objects-managment/Delete-object-tagging.mdx
Normal file
@ -0,0 +1,51 @@
|
||||
---
|
||||
sidebar_position: 7
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Delete object tagging
|
||||
Deletes an objects tag set
|
||||
|
||||
|
||||
|
||||
`Function DeleteObjectTagging(Val Name, Val Bucket, Val BasicData, Val Version = "", Val Headers = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Name | --name | String | ✔ | Object name |
|
||||
| Bucket | --bucket | String | ✔ | Bucket name |
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Version | --ver | String | ✖ | Token for deleting data of a specific version of an object |
|
||||
| Headers | --headers | Map Of KeyAndValue | ✖ | Additional request headers, if necessary |
|
||||
|
||||
|
||||
Returns: Structure of KeyAndValue - serialized JSON response from storage
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at AWS documentation: [DeleteObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.DeleteObjectTagging(Name, Bucket, BasicData);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
51
docs/en/md/S3/Objects-managment/Get-object-tagging.mdx
Normal file
51
docs/en/md/S3/Objects-managment/Get-object-tagging.mdx
Normal file
@ -0,0 +1,51 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get object tagging
|
||||
Gets the tag set of the object
|
||||
|
||||
|
||||
|
||||
`Function GetObjectTagging(Val Name, Val Bucket, Val BasicData, Val Version = "", Val Headers = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Name | --name | String | ✔ | Object name |
|
||||
| Bucket | --bucket | String | ✔ | Bucket name |
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Version | --ver | String | ✖ | Token for retrieving data of a specific version of an object |
|
||||
| Headers | --headers | Map Of KeyAndValue | ✖ | Additional request headers, if necessary |
|
||||
|
||||
|
||||
Returns: Structure of KeyAndValue - serialized JSON response from storage
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at AWS documentation: [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
Result = OPI_S3.GetObjectTagging(Name, Bucket, BasicData);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
58
docs/en/md/S3/Objects-managment/Put-object-tagging.mdx
Normal file
58
docs/en/md/S3/Objects-managment/Put-object-tagging.mdx
Normal file
@ -0,0 +1,58 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Put object tagging
|
||||
Sets the tag set of the object
|
||||
|
||||
|
||||
|
||||
`Function PutObjectTagging(Val Name, Val Bucket, Val BasicData, Val Tags, Val Headers = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Name | --name | String | ✔ | Object name |
|
||||
| Bucket | --bucket | String | ✔ | Bucket name |
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Tags | --tagset | Structure of KeyAndValue | ✔ | Set of tags (key and value) |
|
||||
| Headers | --headers | Map Of KeyAndValue | ✖ | Additional request headers, if necessary |
|
||||
|
||||
|
||||
Returns: Structure of KeyAndValue - serialized JSON response from storage
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Setting up a new set removes all existing object tags
|
||||
|
||||
Method at AWS documentation: [PutObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Name = "picture.jpg";
|
||||
Bucket = "opi-gpbucket3";
|
||||
|
||||
TagStructure = New Structure;
|
||||
|
||||
TagStructure.Insert("MyTag1", "SomeValue");
|
||||
TagStructure.Insert("MyTag2", "AnotherOne");
|
||||
|
||||
Result = OPI_S3.PutObjectTagging(Name, Bucket, BasicData, TagStructure);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user