Filestore

Filestore APIs

API contracts to manage files e.g. images, PDF, XLS etc

Uploads different kinds of files to server.

post

The endpoint for uploading file in the system.

Body
filestring · binaryRequired

The file to upload.

tenantIdstringRequired

Unique ulb identifier.

modulestringOptional

module name.

tagstringOptional

tag name.

Responses
chevron-right
200

Success response with filestoreid and tenantid.

*/*
post
/files

Search file url based on tenantid and filestoreid.

get

Search file url.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

fileStoreIdsstringRequired

Unique filestoreids.

Responses
chevron-right
200

List of urls to access the uploaded file which is map to particular fielstoreid.

*/*

A list of values

filestoreIdstring[]Required
get
/files/url

Search file url based on tenantid and tag name.

get

Search file url.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

tagstringRequired

tag name.

Responses
chevron-right
200

List of urls to access the uploaded file which is map to particular tag name.

*/*
get
/files/tag

Get metadata of file based on tenantId and filestoreId.

get

metadata of file.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

fileStoreIdstringRequired

Unique fileStoreId.

Responses
chevron-right
200

Metadata of file map to particulare filestoreId.

*/*

Response data cobtains details of files.

fileNamestringOptional

file name.

contetntTypestringOptional

contetnt type of file.

tenantIdstringOptional

Unique ulb identifier.

resourcestringOptional

resource.

fileSizestringOptional

file size.

get
/files/metaData

Search file url based on tenantid and filestoreid.

get

Search file url.

Query parameters
tenantIdstring · varcharRequired

Unique id for a tenant.

fileStoreIdstringRequired

fileStore id.

Responses
chevron-right
200

Return file binary.

get
/files/id

No content

Last updated

Was this helpful?