FilesPublic

Get public files

get
Authorizations
X-API-KEYstringRequired
Query parameters
pagenumber · nullableOptionalDefault: 1
limitnumber · nullableOptionalDefault: 10
includestringOptionalExample: user,account
targetTablestring · enumOptionalPossible values:
targetIdstringOptional
Responses
chevron-right
200

200

application/json
get
/clients/api/v1/files-public

Upload a public file

post

Upload a public file to the system.

Example curl request

curl -X POST 'https://dalmore-client-portal-api-prod.onrender.com/api/v1/files-public?name=test&category=application&targetId=trade_01j5tkg6k2fygr0x06fegt27aj' \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9' \
  --form 'file=@"/Users/local/Desktop/test.csv"'
Authorizations
X-API-KEYstringRequired
Query parameters
namestringRequiredExample: file_name
categorystring · max: 50RequiredExample: application
labelstring · enumRequiredExample: OTHERPossible values:
targetIdstringRequiredExample: trades_01j6aqmtfyfwy9spjdcnh7yqk7
metadatastring · min: 2 · max: 600000 · nullableOptional
Responses
post
/clients/api/v1/files-public

Links a public file to a new resource

post
Authorizations
X-API-KEYstringRequired
Path parameters
idstringRequired
Body
targetIdstringRequiredExample: trades_01j6aqmtfyfwy9spjdcnh7yqk7
labelstring · enumOptionalExample: OTHERPossible values:
categorystring · min: 1 · max: 50Optional
Responses
post
/clients/api/v1/files-public/{id}/link

Unlinks a public file to the parent resource

post
Authorizations
X-API-KEYstringRequired
Path parameters
idstringRequired
Body
objectOptional
Responses
post
/clients/api/v1/files-public/{id}/unlink

Get public file by id

get
Authorizations
X-API-KEYstringRequired
Path parameters
idstringRequired
Responses
chevron-right
200

200

application/json
get
/clients/api/v1/files-public/{id}

Update public file by id

patch
Authorizations
X-API-KEYstringRequired
Path parameters
idstringRequired
Body
namestring · max: 50Required
categorystring · max: 50Required
labelstring · enumRequiredExample: OTHERPossible values:
metadatastring · min: 2 · max: 600000 · nullableOptional
Responses
patch
/clients/api/v1/files-public/{id}

Preview (stream) a public file by id

get
Authorizations
X-API-KEYstringRequired
Path parameters
idstringRequired
Responses
chevron-right
200

200

application/json
Responseany · nullable
get
/clients/api/v1/files-public/preview/{id}

No content

Last updated