Export a file as a different type.
Input values:
Output values:
- Information from GetInfoById
- The file (File type in K2, XML)
Input validation:
If the fileid is not found, then then provide the following error message: "File '{Id}' not found."
If the export is not supported (for example you try to export a JPEG as plain text) then the following error must be provided: "Cannot convert file type '{Current File type}' of file '{Id}' to '{FileType provided as input}'"
Other info:
API can be found here: https://developers.google.com/drive/api/v3/reference/files/export