Agnostic Guides
...
S3 Endpoints
Update
1 min
link enterprise provides a web service endpoint that will allow you to update a document or folders metadata { "tab" "request", "url" "https //localhost 82/scrud/update", "name" "update file metadata", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "kind" "required", "name" "id", "type" "string", "description" "unique id of s3 file " }, { "kind" "required", "name" "cmsname", "type" "string", "description" "name of the s3 system configured in link enterprise " }, { "kind" "required", "name" "selectedcms", "type" "string", "description" "value should always be set to \\"s3\\" to let link enterprise know which configured content system to search " }, { "kind" "required", "name" "mdarray", "type" "array", "description" "a json array where each index is a json object with the keys \\"md1\\" and \\"md2\\" where md1 is the column name, and md2 is the value to be inserted in that column " }, { "name" "location", "kind" "required", "type" "string", "description" "s3 bucket name where you want to update the document ", "children" \[] } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "np6 jkluvfkwgt7zc9anv", "code" "\\"completed\\"", "language" "200" }, { "id" "2qv2iy q0df7ncsx i60q", "code" "", "language" "500" } ], "selectedlanguageid" "np6 jkluvfkwgt7zc9anv" }, "examples" { "languages" \[ { "id" "jlncgo8tqxpnzqxn2xt04", "code" "{\n \\"cmsname\\" \\"insertproductionsystemname (located in link enterprise gui)\\",\n \\"id\\" \\"unique s3 id\\",\n \\"location\\" \\"s3 bucket name\\",\n \\"mdarray\\" \[\n {\n \\"md1\\" \\"somecolumntobeupdated\\",\n \\"md2\\" \\"newvalue\\"\n }\n ],\n \\"selectedcms\\" \\"s3\\"\n\n}", "language" "json" } ], "selectedlanguageid" "jlncgo8tqxpnzqxn2xt04" }, "description" "", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }