Read
1 min
Link Enterprise provides a web service endpoint that will allow you to retrieve a file metadata.
Included below are example of reading a files metadata.
Read (metadata)
Retrieve a file metadata by using s3 unique Id.
POST
https://localhost:82/scrud/read
Body Parameters
- cmsNamestringrequiredDescription
- idstringrequiredDescription
- selectedCMSstringrequiredDescription
- locationstringDescription
- getContentstringDescription
json
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"id":"unique s3 id specfic to folder/id",
"selectedCMS":"s3",
"location":"S3 Bucket Name"
}
200
{
"compid": "data24",
"content-length": "3000",
"contrep": "K2456",
"docid": "1234",
"scanperformed": "true"
}500
Read (content)
Retrieve a file metadata by using s3 unique Id.
POST
https://localhost:82/scrud/read
Body Parameters
- cmsNamestringrequiredDescription
- idstringrequiredDescription
- selectedCMSstringrequiredDescription
- locationstringDescription
- getContentstringrequiredDescription
json
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"id":"unique s3 id specfic to folder/id",
"selectedCMS":"s3",
"location":"S3 Bucket Name",
"getContent":true
}
200
{
"compid": "data24",
"content-length": "3000",
"contrep": "K2456",
"docid": "1234",
"scanperformed": "true"
}500