Last updated 2 years ago
Was this helpful?
API contracts to manage files e.g. images, PDF, XLS etc
Search file url.
Unique id for a tenant.
Unique filestoreids.
A list of values
GET /filestore/v1/files/url?tenantId=text&fileStoreIds=text HTTP/1.1 Host: Accept: */*
List of urls to access the uploaded file which is map to particular fielstoreid.
{ "filestoreId": [ "text" ] }
tag name.
GET /filestore/v1/files/tag?tenantId=text&tag=text HTTP/1.1 Host: Accept: */*
List of urls to access the uploaded file which is map to particular tag name.
{ "files": [ { "url": "text", "contetntType": "text" } ] }
metadata of file.
Unique fileStoreId.
Response data cobtains details of files.
GET /filestore/v1/files/metaData?tenantId=text&fileStoreId=text HTTP/1.1 Host: Accept: */*
Metadata of file map to particulare filestoreId.
{ "fileName": "text", "contetntType": "text", "tenantId": "text", "resource": "text", "fileSize": "text" }
fileStore id.
GET /filestore/v1/files/id?tenantId=text&fileStoreId=text HTTP/1.1 Host: Accept: */*
Return file binary.
No content
The endpoint for uploading file in the system.
The file to upload.
Unique ulb identifier.
module name.
POST /filestore/v1/files HTTP/1.1 Host: Content-Type: multipart/form-data Accept: */* Content-Length: 64 { "file": "binary", "tenantId": "text", "module": "text", "tag": "text" }
Success response with filestoreid and tenantid.
{ "files": [ { "fileStoreId": "text", "tenantId": "text" } ] }