<@td.requestPart>

The requestPart tag is formatted as a multipart/form part of a request body. Added in version 4.2.

This tag contains the following attributes:

contentType
The part content type. (Equivalent to setting "Content-Type" header.)
  • Required: false
  • Type: String
  • Default: If sending a file, the content type of the file. Otherwise, none.
filename
The filename for this part.
  • Required: false
  • Type: String
  • Default: If uploading a file from a project, the name of the file. Otherwise, no default.
itemKey
If sending the contents of a file, the item key of the file.
  • Required: false
  • Type: String
  • Default: None
name
The name for this part.
  • Required: false
  • Type: String
  • Default: file
projectKey
If sending the contents of a file, the project key of the file.
  • Required: false
  • Type: String
  • Default: None
rendition
If sending the contents of a file, the ItemRepresentationType of the rendition to send.
  • Required: false
  • Type: String
  • Default: ORIGINAL