File Resources
File Resources are objects in Limecraft Flow that can be used to store (small) files. They are typically used for storing files needed during any workflow or in the settings such as watermarks.
File Resources can be created both on a production and on an account level.
For the remainder of this collection, we will use production file resources, but the same calls are equally valid for the accounts, simply by replacing the production/{productionId} part of the url with account/{accountId} .
|
List the file resources
GET /production/{prId}/file
This call lists all the file resources within the production.
Details
Description
It will return a list of all existing file resources.
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
403 |
The user needs PRODUCTION_VIEW rights. |
|
404 |
The production was not found. |
|
As for all listing calls, paging is supported.
Filter the response
File Resources can be queried by means of filter query parameters of which the following are currently supported:
Query parameter | Description | Example |
---|---|---|
|
filter file resources by flag deleted (true/false) |
|
|
filter file resources by property deletedTimestamp |
|
|
filter file resources by flag shouldBeOnBackup |
|
|
filter file resources by flag onFlow |
|
|
filter file resources by flag onBackup |
|
|
filter file resources by flag shouldBeOnFlow |
|
|
filter file resources by flag shouldBeOnBackupTimestamp |
|
|
filter file resources by property shouldBeOnFlowTimestamp |
|
|
filter file resources by property onFlowTimestamp |
|
|
filter file resources by property onFlowTimestamp |
|
|
filter file resources by property location |
|
|
filter file resources by property filename |
|
|
filter file resources by property funnel |
|
|
filter file resources by property mimeType |
|
|
filter file resources by pattern |
|
|
filter file resources by transferDetails, json query supported |
|
|
filter file resources by customFields, json query supported |
|
|
filter file resources by systemFields, json query supported |
|
|
filter file resources by md5VerificationStatus |
|
|
filter file resources by accountId |
|
|
filter file resources by productionId |
|
|
filter file resources by editorialObjectId |
|
Create new file resource
POST /production/{prId}/file
This call creates a file resource.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
Body Parameters
Name | Description | Required | Type |
---|---|---|---|
|
FileResource object. |
✘ |
FileResourceRequest |
FileResourceRequest
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accessToken |
✘ |
String |
||
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
fileName |
✘ |
String |
||
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
forceOverwrite |
✘ |
Boolean |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
prefix |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
201 |
The request was successful. |
|
403 |
The user needs PRODUCTION_MANAGE rights. |
|
404 |
The production was not found. |
|
Update existing file resource
PUT /production/{prId}/file/{id}
This call updates file resources within the production.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
|
ID of the file resource. |
✔ |
Long |
Body Parameters
Name | Description | Required | Type |
---|---|---|---|
|
New, desired, file resource object. |
✔ |
FileResource |
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
403 |
The user needs PRODUCTION_MANAGE rights. |
|
404 |
The production was not found. |
|
409 |
The version in the update object does not match with the version stored causing an optimistic lock. |
|
Create a file resource upload
In a similar manner to the clip creation, you can also do the creation of a file resource.
It is a three-step procedure of creating the upload, sending the data itself, and closing the upload.
We will list the calls and examples below, but for a clearer overview of this procedure, you can see the section on clip upload.
POST /production/{prId}/file/{id}/upload
This call uploads the file resource.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
|
ID of the file resource. |
✔ |
Long |
Body Parameters
Name | Description | Required | Type |
---|---|---|---|
|
File resource to be uploaded. |
✔ |
FileResourceRequest |
FileResourceRequest
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accessToken |
✘ |
String |
||
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
fileName |
✘ |
String |
||
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
forceOverwrite |
✘ |
Boolean |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
prefix |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
402 |
There are not enough subscription resources available to complete this request. |
|
403 |
The user needs PRODUCTION_MANAGE rights. |
|
404 |
The production or FileResource was not found. |
|
Close a file resource upload
POST /production/{prId}/file/{id}/close
This call finishes the upload of the file resource.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
|
ID of the file resource. |
✔ |
Long |
Query Parameters
Name | Description | Required | Type |
---|---|---|---|
|
Skip verification parameter. |
✘ |
Boolean |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
403 |
The user needs PRODUCTION_MANAGE rights. |
|
404 |
The production or FileResource was not found. |
|
412 |
The upload was not complete. |
|
Download a file resource
GET /production/{prId}/file/{id}/download
This call downloads the file resource.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
|
ID of the file resource. |
✔ |
Long |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
403 |
The user needs PRODUCTION_VIEW rights. |
|
404 |
The production or FileResource was not found. |
|
Delete a file resource
DELETE /production/{prId}/file/{id}
This call deletes file resource within the production.
Details
Description
Parameters
Path Parameters
Name | Description | Required | Type |
---|---|---|---|
|
ID of the production. |
✔ |
Long |
|
ID of the file resource. |
✔ |
Long |
Body Parameters
Name | Description | Required | Type |
---|---|---|---|
|
Body of the DeleteRequest type. |
✔ |
DeleteRequest |
DeleteRequest
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
force |
✘ |
Boolean |
||
hard |
✘ |
Boolean |
Return Type
FileResource
Field Name | Required | Type | Description | Format |
---|---|---|---|---|
accountId |
✘ |
Long |
int64 |
|
adminOnly |
✘ |
Boolean |
||
businessKey |
✘ |
String |
||
created |
✘ |
Date |
The time when this resource was created |
date-time |
createdBy |
✘ |
String |
The request or process that created this resource |
|
creatorId |
✘ |
Long |
The id of the user who created this resource |
int64 |
customFields |
✘ |
CustomFields |
||
deleted |
✘ |
Boolean |
||
deletedTimestamp |
✘ |
Date |
date-time |
|
editorialObjectId |
✘ |
Long |
int64 |
|
filename |
✘ |
String |
||
fingerprints |
✘ |
Set of string |
||
funnel |
✘ |
String |
||
id |
✔ |
Long |
The id of this resource |
int64 |
lastUpdated |
✘ |
Date |
The time when this resource was last updated |
date-time |
location |
✘ |
String |
||
md5 |
✘ |
String |
||
md5Partials |
✘ |
String |
||
md5VerificationCompleted |
✘ |
Date |
date-time |
|
md5VerificationStatus |
✘ |
String |
Enum: NOT_VERIFIED, VERIFIED, REJECTED, |
|
mimeType |
✘ |
String |
||
modifiedBy |
✔ |
String |
The request or process responsible for the last update of this resource |
|
objectType |
✘ |
String |
The data model type or class name of this resource |
|
onBackup |
✘ |
Boolean |
||
onBackupTimestamp |
✘ |
Date |
date-time |
|
onFlow |
✘ |
Boolean |
||
onFlowTimestamp |
✘ |
Date |
date-time |
|
pattern |
✘ |
String |
||
productionId |
✘ |
Long |
int64 |
|
removeFromQuota |
✘ |
Boolean |
||
requiredRights |
✘ |
List of ProductionPermission |
||
shouldBeOnBackup |
✘ |
Boolean |
||
shouldBeOnBackupTimestamp |
✘ |
Date |
date-time |
|
shouldBeOnFlow |
✘ |
Boolean |
||
shouldBeOnFlowTimestamp |
✘ |
Date |
date-time |
|
size |
✘ |
Long |
int64 |
|
systemFields |
✘ |
CustomFields |
||
transferDetails |
✘ |
TransferDetails |
||
uid |
✘ |
String |
||
version |
✔ |
Long |
The version of this resource, used for Optimistic Locking |
int64 |
Content Type
-
application/json
Responses
Code | Description | Datatype |
---|---|---|
200 |
The request was successful. |
|
403 |
The user needs PRODUCTION_MANAGE rights. |
|
404 |
The production or FileResource was not found. |
|