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

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 true, the permalink in the _links section contains the public URL.

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:

  • null
  • "organization-closure-export"
  • "upload"
  • "camera"
  • "organization-export"
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:

  • "download"
  • "self"
  • "signedLink"
  • "permalink"
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:

  • "image/jpeg"
  • "text/csv"
  • "image/gif"
  • "application/pdf"
  • "image/png"
  • "application/json"
  • "application/zip"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.