File Store
The endpoint for uploading file in the system.
The file to upload.
Unique ulb identifier.
module name.
tag name.
Success response with filestoreid and tenantid.
Error response in case of failures.
POST /filestore/v1/files HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 62
"file='text'&tenantId='text'&module='text'&tag='text'"
{
"files": [
{
"fileStoreId": "text",
"tenantId": "text"
}
]
}
Search file url.
Unique id for a tenant.
Unique filestoreids.
List of urls to access the uploaded file which is map to particular fielstoreid.
Error response in case of failures.
GET /filestore/v1/files/url?tenantId=null&fileStoreIds=text HTTP/1.1
Host:
Accept: */*
{
"filestoreId": [
"text"
]
}
Search file url.
Unique id for a tenant.
tag name.
List of urls to access the uploaded file which is map to particular tag name.
Error response in case of failures.
GET /filestore/v1/files/tag?tenantId=null&tag=text HTTP/1.1
Host:
Accept: */*
{
"files": [
{
"url": "text",
"contetntType": "text"
}
]
}
metadata of file.
Unique id for a tenant.
Unique fileStoreId.
Metadata of file map to particulare filestoreId.
Error response in case of failures.
GET /filestore/v1/files/metaData?tenantId=null&fileStoreId=text HTTP/1.1
Host:
Accept: */*
{
"fileName": "text",
"contetntType": "text",
"tenantId": "text",
"resource": "text",
"fileSize": "text"
}
Search file url.
Unique id for a tenant.
fileStore id.
Return file binary.
Error response in case of failures.
GET /filestore/v1/files/id?tenantId=null&fileStoreId=text HTTP/1.1
Host:
Accept: */*
No content
Last updated
Was this helpful?