Web API - Document and JSON in httpResponse

Hello!

I am migrating some documents from Appian to a new system and am looking for a way to move the document itself and some associated metadata (in JSON format) . The current thought is to expose an Appian Web API  to stream the document to external system when passed a valid Appian Document ID. There are also some metadata fields I would like to include as JSON with the document sent back in the httpResponse body. My understanding from reading through the documentation and some other related questions, however, is that the httpReponse body cannot contain both a document and another data type. Is this the correct understanding? If not, how would I be able to return the document as well as include some metadata for the document in JSON format? 

Note: We are currently on 18.2. 

  Discussion posts and replies are publicly visible

Parents Reply Children