| CORE_ATTACHMENT_IMPORT | CORE Endpoint | |
| /rpc/core/?method=CORE_ATTACHMENT_IMPORT | ||
| This method allows you to 'import' a file from S3 into myDigitalStructure. i.e. it makes myDigitalStructure become awar of a file that already exists in S3, perhaps created by another system |
| PARAMETERS | TYPE | ||
| Bucket | Numeric | Mandatory. An Amazon S3 bucket as configured via SETUP_AWS_S3_BUCKET_MANAGE | |
| BucketFileName | Text (1000) | Mandatory | |
| Description | Text (2000) | ||
| FileType | Numeric | You define these yourself via SETUP_ATTACHMENT_TYPE_MANAGE | |
| Object | Numeric | Mandatory | |
| ObjectContext | Numeric | Mandatory | |
| PublicType | Numeric | 1=As Per Normal Object Rules [default],2=Public,3=Not Public | |
| Title | Text (250) | Title of the created attachment |
| RETURNS | ||
| notes | IMPORTED | |
| attachment | Numeric | |
| attachmentLink | Numeric |