Content API: Files

Retrieves one specific file activity

get
Authorizations
BearerstringRequired
Path parameters
activitystring · uuidRequired
Responses
get
/api/content/files-activities/{activity}
200

OK

put
Authorizations
BearerstringRequired
Path parameters
activitystring · uuidRequired
Body
activityIdentifierstring · uuidOptional
fileIdentifierstring · uuidOptional
userIdentifierstring · uuidOptional
activityChangesstring · nullableOptional
activityTimestring · date-timeOptional
Responses
put
/api/content/files-activities/{activity}

No content

delete
Authorizations
BearerstringRequired
Path parameters
activitystring · uuidRequired
Responses
delete
/api/content/files-activities/{activity}

No content

Checks for the existence of one specific file activity

head
Authorizations
BearerstringRequired
Path parameters
activitystring · uuidRequired
Responses
head
/api/content/files-activities/{activity}
200

OK

Collects the list of file activities that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
activityChangesstring · nullableOptional
activityTimestring · date-time · nullableOptional
Responses
post
/api/content/files-activities/collect
200

OK

Counts the file activities that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
activityChangesstring · nullableOptional
activityTimestring · date-time · nullableOptional
Responses
post
/api/content/files-activities/count
200

OK

Downloads the list of file activities that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
activityChangesstring · nullableOptional
activityTimestring · date-time · nullableOptional
Responses
post
/api/content/files-activities/download
200

OK

No content

Searches for the list of file activities that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
activityChangesstring · nullableOptional
activityTimestring · date-time · nullableOptional
Responses
post
/api/content/files-activities/search
200

OK

post
Authorizations
BearerstringRequired
Body
activityIdentifierstring · uuidOptional
fileIdentifierstring · uuidOptional
userIdentifierstring · uuidOptional
activityChangesstring · nullableOptional
activityTimestring · date-timeOptional
Responses
chevron-right
201

Created

application/json
post
/api/content/files-activities

Retrieves one specific file claim

get
Authorizations
BearerstringRequired
Path parameters
claimstring · uuidRequired
Responses
get
/api/content/files-claims/{claim}
200

OK

put
Authorizations
BearerstringRequired
Path parameters
claimstring · uuidRequired
Body
claimIdentifierstring · uuidOptional
fileIdentifierstring · uuidOptional
objectIdentifierstring · uuidOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
put
/api/content/files-claims/{claim}

No content

delete
Authorizations
BearerstringRequired
Path parameters
claimstring · uuidRequired
Responses
delete
/api/content/files-claims/{claim}

No content

Checks for the existence of one specific file claim

head
Authorizations
BearerstringRequired
Path parameters
claimstring · uuidRequired
Responses
head
/api/content/files-claims/{claim}
200

OK

Collects the list of file claims that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
post
/api/content/files-claims/collect
200

OK

Counts the file claims that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
post
/api/content/files-claims/count
200

OK

Downloads the list of file claims that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
post
/api/content/files-claims/download
200

OK

No content

Searches for the list of file claims that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
fileIdstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
post
/api/content/files-claims/search
200

OK

post
Authorizations
BearerstringRequired
Body
claimIdentifierstring · uuidOptional
fileIdentifierstring · uuidOptional
objectIdentifierstring · uuidOptional
objectTypestring · nullableOptional
claimGrantedstring · date-time · nullableOptional
Responses
chevron-right
201

Created

application/json
post
/api/content/files-claims

Retrieves one specific file

get
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
get
/api/content/files/{file}
200

OK

put
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Body
approvedUserIdentifierstring · uuid · nullableOptional
fileIdentifierstring · uuidOptional
lastActivityUserIdentifierstring · uuid · nullableOptional
objectIdentifierstring · uuidOptional
organizationIdentifierstring · uuidOptional
reviewedUserIdentifierstring · uuid · nullableOptional
userIdentifierstring · 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
put
/api/content/files/{file}

No content

delete
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
delete
/api/content/files/{file}

No content

Checks for the existence of one specific file

head
Authorizations
BearerstringRequired
Path parameters
filestring · uuidRequired
Responses
head
/api/content/files/{file}
200

OK

Collects the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
objectTypeExactstring · nullableOptional
objectIdentifierContainsstring · nullableOptional
fileNameContainsstring · nullableOptional
documentNameContainsstring · nullableOptional
fileUploadedSincestring · date-time · nullableOptional
fileUploadedBeforestring · date-time · nullableOptional
hasClaimsboolean · nullableOptional
Responses
post
/api/content/files/collect
200

OK

Counts the files that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
objectTypeExactstring · nullableOptional
objectIdentifierContainsstring · nullableOptional
fileNameContainsstring · nullableOptional
documentNameContainsstring · nullableOptional
fileUploadedSincestring · date-time · nullableOptional
fileUploadedBeforestring · date-time · nullableOptional
hasClaimsboolean · nullableOptional
Responses
post
/api/content/files/count
200

OK

Downloads the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
objectTypeExactstring · nullableOptional
objectIdentifierContainsstring · nullableOptional
fileNameContainsstring · nullableOptional
documentNameContainsstring · nullableOptional
fileUploadedSincestring · date-time · nullableOptional
fileUploadedBeforestring · date-time · nullableOptional
hasClaimsboolean · nullableOptional
Responses
post
/api/content/files/download
200

OK

No content

Searches for the list of files that match specific criteria

post
Authorizations
BearerstringRequired
Body
identifierstring · uuid · nullableOptional
objectIdstring · uuid · nullableOptional
organizationIdstring · uuid · nullableOptional
userIdstring · uuid · nullableOptional
objectTypeExactstring · nullableOptional
objectIdentifierContainsstring · nullableOptional
fileNameContainsstring · nullableOptional
documentNameContainsstring · nullableOptional
fileUploadedSincestring · date-time · nullableOptional
fileUploadedBeforestring · date-time · nullableOptional
hasClaimsboolean · nullableOptional
Responses
post
/api/content/files/search
200

OK

post
Authorizations
BearerstringRequired
Body
approvedUserIdentifierstring · uuid · nullableOptional
fileIdentifierstring · uuidOptional
lastActivityUserIdentifierstring · uuid · nullableOptional
objectIdentifierstring · uuidOptional
organizationIdentifierstring · uuidOptional
reviewedUserIdentifierstring · uuid · nullableOptional
userIdentifierstring · 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
201

Created

application/json
post
/api/content/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
post
/api/content/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
get
/api/content/files/{id}/{name}
200

OK

No content

Last updated

Was this helpful?