Assets API: Files

Retrieves one specific file

get
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
get
/api/assets/files/{file}
404

Not Found

put
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Body
ApprovedUserIdstring · uuid · nullableOptional
FileIdstring · uuidOptional
LastActivityUserIdstring · uuid · nullableOptional
ObjectIdstring · uuidOptional
ReviewedUserIdstring · uuid · nullableOptional
UserIdstring · uuidOptional
DocumentNamestring · nullableOptional
FileCategorystring · nullableOptional
FileContentTypestring · nullableOptional
FileDescriptionstring · nullableOptional
FileLocationstring · nullableOptional
FileNamestring · nullableOptional
FilePathstring · nullableOptional
FileStatusstring · nullableOptional
FileSubcategorystring · nullableOptional
FileUrlstring · nullableOptional
ObjectTypestring · nullableOptional
FileSizeinteger · int32Optional
ApprovedTimestring · date-time · nullableOptional
FileAlternatedstring · date-time · nullableOptional
FileExpirystring · date-time · nullableOptional
FileReceivedstring · date-time · nullableOptional
FileUploadedstring · date-timeOptional
LastActivityTimestring · date-time · nullableOptional
ReviewedTimestring · date-time · nullableOptional
Responses
chevron-right
200

OK

No content

put
/api/assets/files/{file}

No content

delete
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
chevron-right
200

OK

No content

delete
/api/assets/files/{file}

No content

Checks for the existence of one specific file

head
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
chevron-right
200

OK

No content

head
/api/assets/files/{file}

No content

Collects the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
ObjectIdstring · uuid · nullableOptional
UserIdstring · uuid · nullableOptional
FileIdsstring · uuid[] · nullableOptional
ObjectTypeExactstring · nullableOptional
ObjectIdentifierContainsstring · nullableOptional
FileNameContainsstring · nullableOptional
DocumentNameContainsstring · nullableOptional
FileUploadedSincestring · date-time · nullableOptional
FileUploadedBeforestring · date-time · nullableOptional
HasClaimsboolean · nullableOptional
Responses
chevron-right
200

OK

ApprovedUserIdstring · uuid · nullableOptional
FileIdstring · uuidOptional
LastActivityUserIdstring · uuid · nullableOptional
ObjectIdstring · uuidOptional
ReviewedUserIdstring · uuid · nullableOptional
UserIdstring · uuidOptional
DocumentNamestring · nullableOptional
FileCategorystring · nullableOptional
FileContentTypestring · nullableOptional
FileDescriptionstring · nullableOptional
FileLocationstring · nullableOptional
FileNamestring · nullableOptional
FilePathstring · nullableOptional
FileStatusstring · nullableOptional
FileSubcategorystring · nullableOptional
FileUrlstring · nullableOptional
ObjectTypestring · nullableOptional
FileSizeinteger · int32Optional
ApprovedTimestring · date-time · nullableOptional
FileAlternatedstring · date-time · nullableOptional
FileExpirystring · date-time · nullableOptional
FileReceivedstring · date-time · nullableOptional
FileUploadedstring · date-timeOptional
LastActivityTimestring · date-time · nullableOptional
ReviewedTimestring · date-time · nullableOptional
post
/api/assets/files/collect
200

OK

Counts the files that match specific criteria

post
Authorizations
BearerstringRequired
Body
ObjectIdstring · uuid · nullableOptional
UserIdstring · uuid · nullableOptional
FileIdsstring · uuid[] · nullableOptional
ObjectTypeExactstring · nullableOptional
ObjectIdentifierContainsstring · nullableOptional
FileNameContainsstring · nullableOptional
DocumentNameContainsstring · nullableOptional
FileUploadedSincestring · date-time · nullableOptional
FileUploadedBeforestring · date-time · nullableOptional
HasClaimsboolean · nullableOptional
Responses
chevron-right
200

OK

Countinteger · int32Optional
Summarystring · nullableOptional
post
/api/assets/files/count
200

OK

Downloads the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
ObjectIdstring · uuid · nullableOptional
UserIdstring · uuid · nullableOptional
FileIdsstring · uuid[] · nullableOptional
ObjectTypeExactstring · nullableOptional
ObjectIdentifierContainsstring · nullableOptional
FileNameContainsstring · nullableOptional
DocumentNameContainsstring · nullableOptional
FileUploadedSincestring · date-time · nullableOptional
FileUploadedBeforestring · date-time · nullableOptional
HasClaimsboolean · nullableOptional
Responses
chevron-right
200

OK

No content

post
/api/assets/files/download
200

OK

No content

Searches for the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
ObjectIdstring · uuid · nullableOptional
UserIdstring · uuid · nullableOptional
FileIdsstring · uuid[] · nullableOptional
ObjectTypeExactstring · nullableOptional
ObjectIdentifierContainsstring · nullableOptional
FileNameContainsstring · nullableOptional
DocumentNameContainsstring · nullableOptional
FileUploadedSincestring · date-time · nullableOptional
FileUploadedBeforestring · date-time · nullableOptional
HasClaimsboolean · nullableOptional
Responses
chevron-right
200

OK

OrganizationCodestring · nullableOptional
ObjectTypestring · nullableOptional
ObjectIdstring · uuidOptional
FileIdstring · uuidOptional
FileLocationstring · nullableOptional
FileNamestring · nullableOptional
DocumentNamestring · nullableOptional
FileSizeinteger · int32Optional
FileUploadedstring · date-timeOptional
UserIdstring · uuidOptional
UserFullNamestring · nullableOptional
HasClaimsbooleanOptional
post
/api/assets/files/search
200

OK

post
Authorizations
BearerstringRequired
Body
ApprovedUserIdstring · uuid · nullableOptional
FileIdstring · uuidOptional
LastActivityUserIdstring · uuid · nullableOptional
ObjectIdstring · uuidOptional
ReviewedUserIdstring · uuid · nullableOptional
UserIdstring · uuidOptional
DocumentNamestring · nullableOptional
FileCategorystring · nullableOptional
FileContentTypestring · nullableOptional
FileDescriptionstring · nullableOptional
FileLocationstring · nullableOptional
FileNamestring · nullableOptional
FilePathstring · nullableOptional
FileStatusstring · nullableOptional
FileSubcategorystring · nullableOptional
FileUrlstring · nullableOptional
ObjectTypestring · nullableOptional
FileSizeinteger · int32Optional
ApprovedTimestring · date-time · nullableOptional
FileAlternatedstring · date-time · nullableOptional
FileExpirystring · date-time · nullableOptional
FileReceivedstring · date-time · nullableOptional
FileUploadedstring · date-timeOptional
LastActivityTimestring · date-time · nullableOptional
ReviewedTimestring · date-time · nullableOptional
Responses
post
/api/assets/files

Upload files (with content)

post

Uploads one or more files to temporary storage for authenticated users or valid survey response sessions.

Query parameters
responseIdstringOptional

Optional survey response identifier for unauthenticated respondents

Responses
chevron-right
200

OK

No content

post
/api/assets/files/temp
200

OK

No content

Retrieve a file (content only)

get

Retrieves the content for a specific file using its unique ID and filename. Performs authorization checks and supports caching. It is important to note the caller must know the name of the file, in addition to its unique ID, or the server will return a 404 Not Found - even if the ID is valid.

Path parameters
idstring · uuidRequired

The unique identifier of the file to retrieve

namestringRequired

The expected filename for validation purposes

Query parameters
downloadstringOptional

Optional parameter: set to "1" to force download, otherwise file is displayed inline

Responses
chevron-right
200

OK

No content

get
/api/assets/files/{id}/{name}
200

OK

No content

Last updated

Was this helpful?