PUT /files/{id}
Updates a file with a specified ID.
Note: Files can only be uploaded by POST request. For more information, see the Create a file operation.
Servers
- https://api-sandbox.rebilly.com/organizations/{organizationId}
- https://api.rebilly.com/organizations/{organizationId}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
exifData |
Object | No |
Collection of EXIF tags contained in the image metadata. This field is applicable to images only. |
isPublic |
Boolean | No |
Specifies if the file is available publicly without authentication.
If this value is |
size |
Integer | No |
File size, in bytes. |
description |
String | No |
Description of the file. |
height |
Integer | No |
Height of the image. This field is applicable to images only. |
width |
Integer | No |
Width of the image. This field is applicable to images only. |
createdTime |
String | No |
Date and time when the resource is created. This value is set automatically when the resource is created. |
extension |
String | No |
File extension. |
sourceType |
String | No |
Source of the file. Valid values:
|
sha1 |
String | No |
Hash sum of the file. |
id |
String | No |
ID of the file. |
_links[] |
Array | No |
Related links. |
_links[].href |
String | No |
Link URL. |
_links[].rel |
String | No |
Type of link. Valid values:
|
name |
String | No |
Original file name. |
updatedTime |
String | No |
Date and time when the resource is updated. This value is set automatically when the resource is updated. |
tags[] |
Array | No |
List of tags associated with the file. |
mime |
String | No |
MIME type of the file. Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.