For the complete documentation index, see llms.txt. This page is also available as Markdown.

Files

Upload files

post

Upload files

Authorizations
AuthorizationstringRequired
Body
filestring · binaryOptional

File to upload

Responses
201

Files successfully uploaded.

application/json
idstring · uuidOptional

The ID of the file.

namestringOptional

The name of the file.

contentTypestringOptional

The MIME type of the file content.

sizeinteger · int64Optional

The size of the file.

extensionstringOptional

The extension of the file.

post/files
201

Files successfully uploaded.

Download a file

get

Downloads file identified by given id. Keep in mind to use GET /attachments/{attachmentId}/file instead of this endpoint when you want to get the file of an attachment. A File and its id can be temporary so it's possible this endpoint will not get you the desired file.

Authorizations
AuthorizationstringRequired
Path parameters
fileIdstring · uuidRequired

the id of the file

Responses
200

The file has been downloaded

application/json
string · binaryOptional

The found file

get/files/{fileId}
200

The file has been downloaded

Delete a file

delete

Deletes the temporary file with the provided ID. Temporary files are short-lived. Collibra automatically deletes them between 8 and 16 hours after their creation. You do not need specific permissions to perform this operation.

Authorizations
AuthorizationstringRequired
Path parameters
fileIdstring · uuidRequired

the id of the file

Responses
200

The file has been deleted

No content

delete/files/{fileId}
200

The file has been deleted

No content

Delete multiple files

delete

Deletes files that are older than the given time to live.

Authorizations
AuthorizationstringRequired
Query parameters
timeToLiveinteger · int64Optional
Responses
200

The files have been deleted

No content

delete/files/bulk
200

The files have been deleted

No content

Get file information

get

Returns information about the file identified by given id. Keep in mind to use GET /attachments/{attachmentId} instead of this endpoint when you want to get information of an attachment. A File and its id can be temporary so it's possible this endpoint will not get you the information of the desired file.

Authorizations
AuthorizationstringRequired
Path parameters
fileIdstring · uuidRequired

the id of the file

Responses
200

The file information

application/json
idstring · uuidRequired

The id of the represented object (entity).

createdBystring · uuidOptional

The id of the user that created this resource.

Example: 4d250cc5-e583-4640-9874-b93d82c7a6cb
createdOninteger · int64Optional

The timestamp (in UTC time standard) of the creation of this resource.

Example: 1475503010320
lastModifiedBystring · uuidOptional

The id of the user who modified this resource the last time.

Example: a073ff90-e7bc-4b35-ba90-c4d475f642fe
lastModifiedOninteger · int64Optional

The timestamp (in UTC time standard) of the last modification of this resource.

Example: 1476703764163
systembooleanOptional

Whether this is a system resource or not.

resourceTypestring · enumRequiredDeprecated

The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. In order to stay backwards compatible and to enable introduction of new types of resources, where necessary, a resource discriminator property (of type String) has been added to specific subtypes of Resource, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.

Possible values:
namestringOptional

The name of the resource.

Example: Test name
descriptionstringOptional

The description of the resource.

Example: Sample descripion of the resource.
publicIdstringOptional

The public id of the scope.

Example: "Finance_C"
get/files/{fileId}/info
200

The file information

Last updated

Was this helpful?