About this resource
Representation of an Additional File
Properties
Property | Description | Type |
---|---|---|
crc32 | Gets the CRC32 checksum of this additional file. | int32 |
extension | Gets the file extension of the additional file. | string |
fileName | Gets the file name of the additional file. | string |
fileSize | Gets the file size of the additional file. | int64 |
id | Gets the identifier for this additional file. | guid |
isManual | Returns true if this additional has been added manually. false is returned if the additional file was created automatically. | boolean |
label | Gets the label of the additional file. | string |
metadata | Gets the metadata. This property will not be returned by default. In order to include the property in the response, add a header with the name 'select-additionalfile' and the value 'Metadata' to your request. | Dictionary of pairs with string keys and string values |
purposes | Gets the purposes of the additional file. Can be filtered by adding a header with the name 'select-filter-purposes' and the (comma separated) string as the value. | Collection of string items |
tag | Gets the tag of the additional file. This property will not be returned by default. In order to include the property in the response, add a header with the name 'select-additionalfile' and the value 'Tag' to your request. | string |
type | Gets the type of this additional file. Can be filtered by adding a header with the name 'select-additionalfile-type' and the (comma separated) string as the value. | string (values: additionalfile, originalrendition, crop, trim, still, spinset, threedimensional, subtitle, external, custom) |
uri | Returns a path to image or |
string |
usages | Gets the usages of the additional file Can be filtered by adding a header with the name 'select-additionalfile-usage' and the (comma separated) string as the value. | Collection of string items |
Relations
Method | Name | Select-key | Resource type | Description |
---|---|---|---|---|
GET | self | Provides a link to this resource. | ||
GET | publiclink | select-AdditionalFile: publiclink | PublicLink | Gets the public link for the additional file |
GET | mainpreview | select-AdditionalFile: mainpreview | Image | Gets the image preview for the additional file |
GET | filepreviews | select-AdditionalFile: filepreviews | AdditionalFilePreviewCollection | Gets the list of previews for the additional file |
Examples
Adding or updating an additional file
After a file upload process is finished, you will receive a file upload token.
You can use this token to add or update a record's files or file versions
(on which you can add or update additional files). See the examples on
creating a record
and editing a record for more
details on how to do it. Keep in mind, the file upload token can be consumed only once.
404 Not Found error response is returned if you try consuming a token more than once.