You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-07-15 01:34:30 +02:00
Main build (Jenkins)
This commit is contained in:
5
docs/en/data/S3/ListObjectVersions.json
Normal file
5
docs/en/data/S3/ListObjectVersions.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67...",
|
||||
"SecretKey": "NNhv+i9PrytpT8Tu0C1N..."
|
||||
}
|
5
docs/en/data/S3/ListObjects.json
Normal file
5
docs/en/data/S3/ListObjects.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67...",
|
||||
"SecretKey": "NNhv+i9PrytpT8Tu0C1N..."
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
Image_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary Data or Path to file
|
||||
|
||||
Image = New Map;
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Block = "13b82aa7-fc4e-81aa-bbc2-ea2c468b5ee3";
|
||||
Block = "14282aa7-fc4e-818d-80a0-d70aed13b0ff";
|
||||
|
||||
Result = OPI_Notion.DeleteBlock(Token, Block);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
|
||||
Title = "TestTitle";
|
||||
Description = "TestDescription";
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Page = "13b82aa7-fc4e-8147-b0a6-d235f67fc63e";
|
||||
Page = "14282aa7-fc4e-8122-b0f7-ec6b36b1a78b";
|
||||
Icon = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
Cover = "https://api.athenaeum.digital/test_data/picture2.jpg";
|
||||
Archive = False;
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
|
||||
Result = OPI_Notion.GetDatabase(Token, Base);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Page = "13b82aa7-fc4e-8147-b0a6-d235f67fc63e";
|
||||
Page = "14282aa7-fc4e-8122-b0f7-ec6b36b1a78b";
|
||||
|
||||
Result = OPI_Notion.GetPage(Token, Page);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Block = "13b82aa7-fc4e-81aa-bbc2-ea2c468b5ee3";
|
||||
Block = "14282aa7-fc4e-818d-80a0-d70aed13b0ff";
|
||||
|
||||
Result = OPI_Notion.ReturnChildBlocks(Token, Block);
|
||||
|
10
docs/en/examples/S3/ListObjectVersions.txt
Normal file
10
docs/en/examples/S3/ListObjectVersions.txt
Normal file
@ -0,0 +1,10 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Bucket = "opi-gpbucket3";
|
||||
Prefix = "pic";
|
||||
Result = OPI_S3.ListObjectVersions(Bucket, BasicData, Prefix);
|
9
docs/en/examples/S3/ListObjects.txt
Normal file
9
docs/en/examples/S3/ListObjects.txt
Normal file
@ -0,0 +1,9 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
||||
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
||||
|
||||
Bucket = "opi-gpbucket3";
|
||||
Result = OPI_S3.ListObjects(Bucket, BasicData);
|
@ -1,4 +1,4 @@
|
||||
URL = "storage-155.s3hoster.by";
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Block = "13b82aa7-fc4e-81aa-bbc2-ea2c468b5ee3";
|
||||
Block = "14282aa7-fc4e-818d-80a0-d70aed13b0ff";
|
||||
|
||||
Result = OPI_Notion.DeleteBlock(Token, Block);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Block = "13b82aa7-fc4e-81aa-bbc2-ea2c468b5ee3";
|
||||
Block = "14282aa7-fc4e-818d-80a0-d70aed13b0ff";
|
||||
|
||||
Result = OPI_Notion.ReturnChildBlocks(Token, Block);
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
|
||||
Title = "TestTitle";
|
||||
Description = "TestDescription";
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
|
||||
Result = OPI_Notion.GetDatabase(Token, Base);
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Base = "13b82aa7-fc4e-814d-8ae6-e88d83acc319";
|
||||
Base = "14282aa7-fc4e-8119-a1b2-f4099b7156b1";
|
||||
Image_ = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary Data or Path to file
|
||||
|
||||
Image = New Map;
|
||||
|
@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Page = "13b82aa7-fc4e-8147-b0a6-d235f67fc63e";
|
||||
Page = "14282aa7-fc4e-8122-b0f7-ec6b36b1a78b";
|
||||
Icon = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
Cover = "https://api.athenaeum.digital/test_data/picture2.jpg";
|
||||
Archive = False;
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
||||
Page = "13b82aa7-fc4e-8147-b0a6-d235f67fc63e";
|
||||
Page = "14282aa7-fc4e-8122-b0f7-ec6b36b1a78b";
|
||||
|
||||
Result = OPI_Notion.GetPage(Token, Page);
|
||||
```
|
||||
|
@ -76,4 +76,23 @@ Method at AWS documentation: [CreateBucket](https://docs.aws.amazon.com/AmazonS3
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:42 GMT",
|
||||
"Location": "/opi-gpbucket3",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "0757065d17b69556603743b9ea63f04bc7b9f349245bbff6b0ba901258e9c169",
|
||||
"X-Amz-Request-Id": "18090AE799CFD9AD",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -69,4 +69,21 @@ Method at AWS documentation: [DeleteBucketEncryption](https://docs.aws.amazon.co
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 204,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:54 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "0757065d17b69556603743b9ea63f04bc7b9f349245bbff6b0ba901258e9c169",
|
||||
"X-Amz-Request-Id": "18090AEA2C6A5E6A",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -76,4 +76,21 @@ Method at AWS documentation: [DeleteBucketTagging](https://docs.aws.amazon.com/A
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 204,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:52 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "e602da57d0c30b8c7034fcfe129917205f80f7bab979408e71da5d1441c85e79",
|
||||
"X-Amz-Request-Id": "18090AE9A510DF93",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -76,4 +76,21 @@ Method at AWS documentation: [DeleteBucket](https://docs.aws.amazon.com/AmazonS3
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 204,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:59 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
|
||||
"X-Amz-Request-Id": "18090AEBD12DBD9F",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -76,4 +76,37 @@ Method at AWS documentation: [GetBucketTagging](https://docs.aws.amazon.com/Amaz
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {
|
||||
"Tagging": {
|
||||
"TagSet": {
|
||||
"Tag": [
|
||||
{
|
||||
"Key": "MyTag1",
|
||||
"Value": "SomeValue"
|
||||
},
|
||||
{
|
||||
"Key": "MyTag2",
|
||||
"Value": "AnotherOne"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "141",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:47 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "0757065d17b69556603743b9ea63f04bc7b9f349245bbff6b0ba901258e9c169",
|
||||
"X-Amz-Request-Id": "18090AE8F494F5B0",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -76,4 +76,26 @@ Method at AWS documentation: [GetBucketVersioning](https://docs.aws.amazon.com/A
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {
|
||||
"VersioningConfiguration": {
|
||||
"Status": "Enabled"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "123",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:59 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "93c576aa54c960b355da9e2934476635fe3243f5df9dbb4db8b7c0d94bec7cd1",
|
||||
"X-Amz-Request-Id": "18090AEBC790BCB1",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -72,4 +72,22 @@ Method at AWS documentation: [HeadBucket](https://docs.aws.amazon.com/AmazonS3/l
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:42 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "e602da57d0c30b8c7034fcfe129917205f80f7bab979408e71da5d1441c85e79",
|
||||
"X-Amz-Request-Id": "18090AE7EBF86AE0",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Prefix | --prefix | String | ✖ | Filtering by the beginning of the name, if necessary |
|
||||
| Prefix | --prefix | String | ✖ | Filtering by prefix, if necessary |
|
||||
| Region | --region | String | ✖ | Selection by bucket region, if necessary |
|
||||
| PageToken | --ctoken | String | ✖ | Page token if pagination is used |
|
||||
| Headers | --headers | Map Of KeyAndValue | ✖ | Additional request headers, if necessary |
|
||||
@ -64,4 +64,49 @@ Method at AWS documentation: [ListBuckets](https://docs.aws.amazon.com/AmazonS3/
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {
|
||||
"ListAllMyBucketsResult": {
|
||||
"Owner": {
|
||||
"ID": "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4",
|
||||
"DisplayName": "minio"
|
||||
},
|
||||
"Buckets": {
|
||||
"Bucket": [
|
||||
{
|
||||
"Name": "newbucket2",
|
||||
"CreationDate": "2024-11-13T18:59:09.139Z"
|
||||
},
|
||||
{
|
||||
"Name": "opi-dirbucket3",
|
||||
"CreationDate": "2024-11-18T10:58:38.381Z"
|
||||
},
|
||||
{
|
||||
"Name": "opi-gpbucket3",
|
||||
"CreationDate": "2024-11-18T10:58:41.537Z"
|
||||
},
|
||||
{
|
||||
"Name": "opi-newbucket2",
|
||||
"CreationDate": "2024-11-14T06:04:12.769Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "658",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:42 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
|
||||
"X-Amz-Request-Id": "18090AE7E500E96B",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -85,4 +85,22 @@ Setting up a new set removes all existing bucket tags
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:47 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
|
||||
"X-Amz-Request-Id": "18090AE86EE0F1C5",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -81,4 +81,22 @@ Method at AWS documentation: [PutBucketVersioning](https://docs.aws.amazon.com/A
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:58:59 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "e602da57d0c30b8c7034fcfe129917205f80f7bab979408e71da5d1441c85e79",
|
||||
"X-Amz-Request-Id": "18090AEB32B43479",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -62,4 +62,12 @@ import TabItem from '@theme/TabItem';
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"URL": "storage-155.s3hoster.by",
|
||||
"AccessKey": "BRN5RKJE67YCVDZRRQVI",
|
||||
"SecretKey": "***",
|
||||
"Region": "BTC",
|
||||
"Service": "s3"
|
||||
}
|
||||
```
|
||||
|
@ -52,4 +52,28 @@ Method at AWS documentation: [CopyObject](https://docs.aws.amazon.com/AmazonS3/l
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {
|
||||
"CopyObjectResult": {
|
||||
"LastModified": "2024-11-18T10:59:09.271Z",
|
||||
"ETag": "\"9e0176f87f6565a22f78e0f9b39a4d78\""
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "232",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:09 GMT",
|
||||
"Etag": "\"9e0176f87f6565a22f78e0f9b39a4d78\"",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
|
||||
"X-Amz-Request-Id": "18090AEDE0DBCF83",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -48,4 +48,21 @@ Method at AWS documentation: [DeleteObjectTagging](https://docs.aws.amazon.com/A
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 204,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:13 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "057275ee0636b36a8256f409a6ff665de46bfaa1f0d5faf2d1b4f312e55c34fa",
|
||||
"X-Amz-Request-Id": "18090AEE7B0324F4",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -72,4 +72,21 @@ Method at AWS documentation: [DeleteObject](https://docs.aws.amazon.com/AmazonS3
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 204,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:13 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "0757065d17b69556603743b9ea63f04bc7b9f349245bbff6b0ba901258e9c169",
|
||||
"X-Amz-Request-Id": "18090AEF155A93B6",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -48,4 +48,37 @@ Method at AWS documentation: [GetObjectTagging](https://docs.aws.amazon.com/Amaz
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {
|
||||
"Tagging": {
|
||||
"TagSet": {
|
||||
"Tag": [
|
||||
{
|
||||
"Key": "MyTag1",
|
||||
"Value": "SomeValue"
|
||||
},
|
||||
{
|
||||
"Key": "MyTag2",
|
||||
"Value": "AnotherOne"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "180",
|
||||
"Content-Type": "application/xml",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:11 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "93c576aa54c960b355da9e2934476635fe3243f5df9dbb4db8b7c0d94bec7cd1",
|
||||
"X-Amz-Request-Id": "18090AEE7A5CC2EA",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -74,4 +74,24 @@ Object metadata is contained in the headers
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "2114023",
|
||||
"Content-Type": "binary/octet-stream",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:08 GMT",
|
||||
"Etag": "\"9e0176f87f6565a22f78e0f9b39a4d78\"",
|
||||
"Last-Modified": "Mon, 18 Nov 2024 10:59:07 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "93c576aa54c960b355da9e2934476635fe3243f5df9dbb4db8b7c0d94bec7cd1",
|
||||
"X-Amz-Request-Id": "18090AEDDE701A46",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
50
docs/en/md/S3/Objects-managment/List-object-versions.mdx
Normal file
50
docs/en/md/S3/Objects-managment/List-object-versions.mdx
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
sidebar_position: 9
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# List object versions
|
||||
Gets a list of all versions of objects in the selected bucket
|
||||
|
||||
|
||||
|
||||
`Function ListObjectVersions(Val Bucket, Val BasicData, Val Prefix = "", Val Version = "", Val Headers = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Bucket | --bucket | String | ✔ | Bucket name |
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Prefix | --prefix | String | ✖ | Filtering by prefix, if necessary |
|
||||
| Version | --ver | String | ✖ | Version ID for the beginning of the list |
|
||||
| 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: [ListObjectVersions](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.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);
|
||||
|
||||
Bucket = "opi-gpbucket3";
|
||||
Prefix = "pic";
|
||||
Result = OPI_S3.ListObjectVersions(Bucket, BasicData, Prefix);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
49
docs/en/md/S3/Objects-managment/List-objects.mdx
Normal file
49
docs/en/md/S3/Objects-managment/List-objects.mdx
Normal file
@ -0,0 +1,49 @@
|
||||
---
|
||||
sidebar_position: 8
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# List objects
|
||||
Gets the list of objects in the selected bucket
|
||||
|
||||
|
||||
|
||||
`Function ListObjects(Val Bucket, Val BasicData, Val Prefix = "", Val PageToken = "", Val Headers = Undefined) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Bucket | --bucket | String | ✔ | Bucket name |
|
||||
| BasicData | --basic | Structure of KeyAndValue | ✔ | Basic request data. See GetBasicDataStructure |
|
||||
| Prefix | --prefix | String | ✖ | Filtering by prefix, if necessary |
|
||||
| PageToken | --ctoken | String | ✖ | Page token if pagination is used |
|
||||
| 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: [ListObjectsV2](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.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);
|
||||
|
||||
Bucket = "opi-gpbucket3";
|
||||
Result = OPI_S3.ListObjects(Bucket, BasicData);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ Setting up a new set removes all existing object tags
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "storage-155.s3hoster.by";
|
||||
URL = "storage-155.s3hoster.by";
|
||||
AccessKey = "BRN5RKJE67...";
|
||||
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
|
||||
Region = "BTC";
|
||||
@ -55,4 +55,22 @@ Setting up a new set removes all existing object tags
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:11 GMT",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "e602da57d0c30b8c7034fcfe129917205f80f7bab979408e71da5d1441c85e79",
|
||||
"X-Amz-Request-Id": "18090AEE369EC35F",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -76,4 +76,23 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
</Tabs>
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"status": 200,
|
||||
"response": {},
|
||||
"headers": {
|
||||
"Accept-Ranges": "bytes",
|
||||
"Content-Length": "0",
|
||||
"Content-Type": "text/plain; charset=utf-8",
|
||||
"Date": "Mon, 18 Nov 2024 10:59:08 GMT",
|
||||
"Etag": "\"9e0176f87f6565a22f78e0f9b39a4d78\"",
|
||||
"Server": "MinIO",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
|
||||
"Vary": "Origin,Accept-Encoding",
|
||||
"X-Amz-Id-2": "e602da57d0c30b8c7034fcfe129917205f80f7bab979408e71da5d1441c85e79",
|
||||
"X-Amz-Request-Id": "18090AED38C4BAA8",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-Xss-Protection": "1; mode=block"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user