Agnostic Guides
...
S3 Endpoints
Upload
1 min
link enterprise provides an endpoint to upload files to this is strictly for uploading files, and if you require metadata to be transferred following up with an update endpoint call is required { "tab" "request", "url" "https //localhost 82/scrud/upload", "name" "upload", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "cmsname", "type" "string", "description" "name of the content management system configured in link enterprise " }, { "kind" "optional", "name" "location", "type" "string", "description" "s3 bucket name by default, bucket name under s3 configuration in ini file is considered " }, { "kind" "optional", "name" "content type", "type" "string", "description" "multipart/form data; boundary=(insert boundary)\n\nexample is included in code examples" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "81evm7wxdgryfdwshyjw6", "code" "success example\n{\n\t\\"id\\" \\"pospaper cod 04 pdf\\",\n\t\\"result\\" \\"success\\"\n}\n\nfailed example\n{\n\t\\"id\\" null \n\t\\"result\\" \\"fail\\"\n}", "language" "200" }, { "id" "6u9gw gsaoldqs3wcfi9t", "code" "", "language" "500" } ], "selectedlanguageid" "81evm7wxdgryfdwshyjw6" }, "examples" { "languages" \[ { "id" "xy6nlyt bp3jeey jkb3", "code" "post /scrud/upload http/1 1\ncookie vertx web session=135e85c919328477ec243e270a692c4d\nuser agent insomnia/2023 5 8\ncmsname blob\nlocation dflow123\naccept / \nauthorization basic ywrtaw46ywrtaw4=\ncontent type multipart/form data; boundary= 011000010111000001101001\nhost localhost 82\ncontent length 172\n\n 011000010111000001101001\ncontent disposition form data; name=\\"\\"; filename=\\"pospaper cod 04 pdf\\"\ncontent type application/pdf\n\n\n 011000010111000001101001 ", "language" "none" } ], "selectedlanguageid" "xy6nlyt bp3jeey jkb3" }, "description" "upload a file using http multi part form data http headers specifying location, and the content system named must be specified ", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }