Chilkat Online Tools

Foxpro / Support API / List Comments

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loQueryParams
LOCAL loResp
LOCAL loSbResponseBody
LOCAL loJResp
LOCAL lnRespStatusCode
LOCAL lcAudit_id
LOCAL lcAuthor_id
LOCAL lcBody
LOCAL lcCreated_at
LOCAL lcHtml_body
LOCAL lcId
LOCAL lcCillum_7ae
LOCAL lcSunt2
LOCAL lnLaboris__
LOCAL lcPlain_body
LOCAL lcV_public
LOCAL lcV_type
LOCAL lcChannel
LOCAL lnIncididunt03e
LOCAL lnEiusmod_4
LOCAL lnEsse7
LOCAL lnNisi04
LOCAL lnAmet__
LOCAL j
LOCAL lnCount_j
LOCAL lcContent_type
LOCAL lcContent_url
LOCAL lcDeleted
LOCAL lcFile_name
LOCAL lcHeight
LOCAL lcInline
LOCAL lcMalware_access_override
LOCAL lcMalware_scan_result
LOCAL lcMapped_content_url
LOCAL lcSize
LOCAL lcUrl
LOCAL lcWidth
LOCAL k
LOCAL lnCount_k
LOCAL lcStrVal
LOCAL i
LOCAL lnCount_i

* This example assumes the Chilkat API to have been previously unlocked.
* See Global Unlock Sample for sample code.

loHttp = CreateObject('Chilkat_9_5_0.Http')

loHttp.BasicAuth = 1
loHttp.Login = "login"
loHttp.Password = "password"

loQueryParams = CreateObject('Chilkat_9_5_0.JsonObject')
loQueryParams.UpdateString("include_inline_images","<boolean>")
loQueryParams.UpdateString("include","<string>")

loHttp.SetRequestHeader("Accept","application/json")

loResp = loHttp.QuickRequestParams("GET","https://example.zendesk.com/api/v2/tickets/:ticket_id/comments",loQueryParams)
IF (loHttp.LastMethodSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loQueryParams
    CANCEL
ENDIF

loSbResponseBody = CreateObject('Chilkat_9_5_0.StringBuilder')
loResp.GetBodySb(loSbResponseBody)

loJResp = CreateObject('Chilkat_9_5_0.JsonObject')
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = 0

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + STR(lnRespStatusCode)
IF (lnRespStatusCode >= 400) THEN
    ? "Response Header:"
    ? loResp.Header
    ? "Failed."
    RELEASE loResp
    RELEASE loHttp
    RELEASE loQueryParams
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

RELEASE loResp

* Sample JSON response:
* (Sample code for parsing the JSON response is shown below)

* {
*   "comments": [
*     {
*       "attachments": [
*         {
*           "content_type": "<string>",
*           "content_url": "<string>",
*           "deleted": "<boolean>",
*           "file_name": "<string>",
*           "height": "<string>",
*           "id": "<integer>",
*           "inline": "<boolean>",
*           "malware_access_override": "<boolean>",
*           "malware_scan_result": "<string>",
*           "mapped_content_url": "<string>",
*           "size": "<integer>",
*           "url": "<string>",
*           "width": "<string>",
*           "thumbnails": [
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             },
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             }
*           ]
*         },
*         {
*           "content_type": "<string>",
*           "content_url": "<string>",
*           "deleted": "<boolean>",
*           "file_name": "<string>",
*           "height": "<string>",
*           "id": "<integer>",
*           "inline": "<boolean>",
*           "malware_access_override": "<boolean>",
*           "malware_scan_result": "<string>",
*           "mapped_content_url": "<string>",
*           "size": "<integer>",
*           "url": "<string>",
*           "width": "<string>",
*           "thumbnails": [
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             },
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             }
*           ]
*         }
*       ],
*       "audit_id": "<integer>",
*       "author_id": "<integer>",
*       "body": "<string>",
*       "created_at": "<dateTime>",
*       "html_body": "<string>",
*       "id": "<integer>",
*       "metadata": {
*         "cillum_7ae": "laboris nulla fugiat",
*         "sunt2": 25522168.26328881,
*         "laboris__": true
*       },
*       "plain_body": "<string>",
*       "public": "<boolean>",
*       "type": "<string>",
*       "uploads": [
*         "<string>",
*         "<string>"
*       ],
*       "via": {
*         "channel": "<string>",
*         "source": {
*           "incididunt03e": false,
*           "eiusmod_4": -36679297,
*           "esse7": 87176441
*         }
*       }
*     },
*     {
*       "attachments": [
*         {
*           "content_type": "<string>",
*           "content_url": "<string>",
*           "deleted": "<boolean>",
*           "file_name": "<string>",
*           "height": "<string>",
*           "id": "<integer>",
*           "inline": "<boolean>",
*           "malware_access_override": "<boolean>",
*           "malware_scan_result": "<string>",
*           "mapped_content_url": "<string>",
*           "size": "<integer>",
*           "url": "<string>",
*           "width": "<string>",
*           "thumbnails": [
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             },
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             }
*           ]
*         },
*         {
*           "content_type": "<string>",
*           "content_url": "<string>",
*           "deleted": "<boolean>",
*           "file_name": "<string>",
*           "height": "<string>",
*           "id": "<integer>",
*           "inline": "<boolean>",
*           "malware_access_override": "<boolean>",
*           "malware_scan_result": "<string>",
*           "mapped_content_url": "<string>",
*           "size": "<integer>",
*           "url": "<string>",
*           "width": "<string>",
*           "thumbnails": [
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             },
*             {
*               "content_type": "<string>",
*               "content_url": "<string>",
*               "deleted": "<boolean>",
*               "file_name": "<string>",
*               "height": "<string>",
*               "id": "<integer>",
*               "inline": "<boolean>",
*               "malware_access_override": "<boolean>",
*               "malware_scan_result": "<string>",
*               "mapped_content_url": "<string>",
*               "size": "<integer>",
*               "url": "<string>",
*               "width": "<string>"
*             }
*           ]
*         }
*       ],
*       "audit_id": "<integer>",
*       "author_id": "<integer>",
*       "body": "<string>",
*       "created_at": "<dateTime>",
*       "html_body": "<string>",
*       "id": "<integer>",
*       "metadata": {
*         "nisi04": false
*       },
*       "plain_body": "<string>",
*       "public": "<boolean>",
*       "type": "<string>",
*       "uploads": [
*         "<string>",
*         "<string>"
*       ],
*       "via": {
*         "channel": "<string>",
*         "source": {
*           "amet__": 87553399
*         }
*       }
*     }
*   ]
* }

* Sample code for parsing the JSON response...
* Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

i = 0
lnCount_i = loJResp.SizeOfArray("comments")
DO WHILE i < lnCount_i
    loJResp.I = i
    lcAudit_id = loJResp.StringOf("comments[i].audit_id")
    lcAuthor_id = loJResp.StringOf("comments[i].author_id")
    lcBody = loJResp.StringOf("comments[i].body")
    lcCreated_at = loJResp.StringOf("comments[i].created_at")
    lcHtml_body = loJResp.StringOf("comments[i].html_body")
    lcId = loJResp.StringOf("comments[i].id")
    lcCillum_7ae = loJResp.StringOf("comments[i].metadata.cillum_7ae")
    lcSunt2 = loJResp.StringOf("comments[i].metadata.sunt2")
    lnLaboris__ = loJResp.BoolOf("comments[i].metadata.laboris__")
    lcPlain_body = loJResp.StringOf("comments[i].plain_body")
    lcV_public = loJResp.StringOf("comments[i].public")
    lcV_type = loJResp.StringOf("comments[i].type")
    lcChannel = loJResp.StringOf("comments[i].via.channel")
    lnIncididunt03e = loJResp.BoolOf("comments[i].via.source.incididunt03e")
    lnEiusmod_4 = loJResp.IntOf("comments[i].via.source.eiusmod_4")
    lnEsse7 = loJResp.IntOf("comments[i].via.source.esse7")
    lnNisi04 = loJResp.BoolOf("comments[i].metadata.nisi04")
    lnAmet__ = loJResp.IntOf("comments[i].via.source.amet__")
    j = 0
    lnCount_j = loJResp.SizeOfArray("comments[i].attachments")
    DO WHILE j < lnCount_j
        loJResp.J = j
        lcContent_type = loJResp.StringOf("comments[i].attachments[j].content_type")
        lcContent_url = loJResp.StringOf("comments[i].attachments[j].content_url")
        lcDeleted = loJResp.StringOf("comments[i].attachments[j].deleted")
        lcFile_name = loJResp.StringOf("comments[i].attachments[j].file_name")
        lcHeight = loJResp.StringOf("comments[i].attachments[j].height")
        lcId = loJResp.StringOf("comments[i].attachments[j].id")
        lcInline = loJResp.StringOf("comments[i].attachments[j].inline")
        lcMalware_access_override = loJResp.StringOf("comments[i].attachments[j].malware_access_override")
        lcMalware_scan_result = loJResp.StringOf("comments[i].attachments[j].malware_scan_result")
        lcMapped_content_url = loJResp.StringOf("comments[i].attachments[j].mapped_content_url")
        lcSize = loJResp.StringOf("comments[i].attachments[j].size")
        lcUrl = loJResp.StringOf("comments[i].attachments[j].url")
        lcWidth = loJResp.StringOf("comments[i].attachments[j].width")
        k = 0
        lnCount_k = loJResp.SizeOfArray("comments[i].attachments[j].thumbnails")
        DO WHILE k < lnCount_k
            loJResp.K = k
            lcContent_type = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].content_type")
            lcContent_url = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].content_url")
            lcDeleted = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].deleted")
            lcFile_name = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].file_name")
            lcHeight = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].height")
            lcId = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].id")
            lcInline = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].inline")
            lcMalware_access_override = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_access_override")
            lcMalware_scan_result = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_scan_result")
            lcMapped_content_url = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].mapped_content_url")
            lcSize = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].size")
            lcUrl = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].url")
            lcWidth = loJResp.StringOf("comments[i].attachments[j].thumbnails[k].width")
            k = k + 1
        ENDDO
        j = j + 1
    ENDDO
    j = 0
    lnCount_j = loJResp.SizeOfArray("comments[i].uploads")
    DO WHILE j < lnCount_j
        loJResp.J = j
        lcStrVal = loJResp.StringOf("comments[i].uploads[j]")
        j = j + 1
    ENDDO
    i = i + 1
ENDDO

RELEASE loHttp
RELEASE loQueryParams
RELEASE loSbResponseBody
RELEASE loJResp

Curl Command

curl  -u login:password -G -d "include_inline_images=%3Cboolean%3E"
	-d "include=%3Cstring%3E"
	-H "Accept: application/json"
https://example.zendesk.com/api/v2/tickets/:ticket_id/comments

Postman Collection Item JSON

{
  "name": "List Comments",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/api/v2/tickets/:ticket_id/comments?include_inline_images=<boolean>&include=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "v2",
        "tickets",
        ":ticket_id",
        "comments"
      ],
      "query": [
        {
          "key": "include_inline_images",
          "value": "<boolean>",
          "description": "Default is false. When true, inline images are also listed as attachments in the response"
        },
        {
          "key": "include",
          "value": "<string>",
          "description": "Accepts \"users\". Use this parameter to list email CCs by side-loading users. Example: `?include=users`. **Note**: If the comment source is email, a deleted user will be represented as the CCd email address. If the comment source is anything else, a deleted user will be represented as the user name."
        }
      ],
      "variable": [
        {
          "key": "ticket_id",
          "value": "<integer>"
        }
      ]
    },
    "description": "Returns the comments added to the ticket.\n\nEach comment may include a `content_url` for an attachment or a `recording_url` for a voice comment that points to a file that may be hosted externally. For security reasons, take care not to inadvertently send Zendesk authentication credentials to third parties when attempting to access these files. See [Working with url properties](/documentation/ticketing/managing-tickets/working-with-url-properties).\n\n#### Pagination\n\n- Cursor pagination (recommended)\n- Offset pagination\n\nSee [Pagination](/api-reference/introduction/pagination/).\n\nReturns a maximum of 100 records per page.\n\n#### Sorting\n\nBy default, comments are sorted by creation date in ascending order.\n\nWhen using cursor pagination, use the following parameter to change the sort order:\n\n| Name   | Type   | Required | Comments\n| ------ | ------ | -------- | --------\n| `sort` | string | no       | Possible values are \"created_at\" (ascending order) or \"-created_at\" (descending order)\n\nWhen using offset pagination, use the following parameters to change the sort order:\n\n| Name         | Type   | Required | Comments\n| ------------ | ------ | -------- | --------\n| `sort_order` | string | no       | One of `asc`, `desc`. Defaults to `asc`\n\n#### Allowed For\n\n* Agents\n"
  },
  "response": [
    {
      "name": "Success response",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v2/tickets/:ticket_id/comments?include_inline_images=<boolean>&include=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v2",
            "tickets",
            ":ticket_id",
            "comments"
          ],
          "query": [
            {
              "key": "include_inline_images",
              "value": "<boolean>",
              "description": "Default is false. When true, inline images are also listed as attachments in the response"
            },
            {
              "key": "include",
              "value": "<string>",
              "description": "Accepts \"users\". Use this parameter to list email CCs by side-loading users. Example: `?include=users`. **Note**: If the comment source is email, a deleted user will be represented as the CCd email address. If the comment source is anything else, a deleted user will be represented as the user name."
            }
          ],
          "variable": [
            {
              "key": "ticket_id"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"comments\": [\n    {\n      \"attachments\": [\n        {\n          \"content_type\": \"<string>\",\n          \"content_url\": \"<string>\",\n          \"deleted\": \"<boolean>\",\n          \"file_name\": \"<string>\",\n          \"height\": \"<string>\",\n          \"id\": \"<integer>\",\n          \"inline\": \"<boolean>\",\n          \"malware_access_override\": \"<boolean>\",\n          \"malware_scan_result\": \"<string>\",\n          \"mapped_content_url\": \"<string>\",\n          \"size\": \"<integer>\",\n          \"url\": \"<string>\",\n          \"width\": \"<string>\",\n          \"thumbnails\": [\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            },\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            }\n          ]\n        },\n        {\n          \"content_type\": \"<string>\",\n          \"content_url\": \"<string>\",\n          \"deleted\": \"<boolean>\",\n          \"file_name\": \"<string>\",\n          \"height\": \"<string>\",\n          \"id\": \"<integer>\",\n          \"inline\": \"<boolean>\",\n          \"malware_access_override\": \"<boolean>\",\n          \"malware_scan_result\": \"<string>\",\n          \"mapped_content_url\": \"<string>\",\n          \"size\": \"<integer>\",\n          \"url\": \"<string>\",\n          \"width\": \"<string>\",\n          \"thumbnails\": [\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            },\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            }\n          ]\n        }\n      ],\n      \"audit_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"body\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"html_body\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"metadata\": {\n        \"cillum_7ae\": \"laboris nulla fugiat\",\n        \"sunt2\": 25522168.26328881,\n        \"laboris__\": true\n      },\n      \"plain_body\": \"<string>\",\n      \"public\": \"<boolean>\",\n      \"type\": \"<string>\",\n      \"uploads\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"via\": {\n        \"channel\": \"<string>\",\n        \"source\": {\n          \"incididunt03e\": false,\n          \"eiusmod_4\": -36679297,\n          \"esse7\": 87176441\n        }\n      }\n    },\n    {\n      \"attachments\": [\n        {\n          \"content_type\": \"<string>\",\n          \"content_url\": \"<string>\",\n          \"deleted\": \"<boolean>\",\n          \"file_name\": \"<string>\",\n          \"height\": \"<string>\",\n          \"id\": \"<integer>\",\n          \"inline\": \"<boolean>\",\n          \"malware_access_override\": \"<boolean>\",\n          \"malware_scan_result\": \"<string>\",\n          \"mapped_content_url\": \"<string>\",\n          \"size\": \"<integer>\",\n          \"url\": \"<string>\",\n          \"width\": \"<string>\",\n          \"thumbnails\": [\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            },\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            }\n          ]\n        },\n        {\n          \"content_type\": \"<string>\",\n          \"content_url\": \"<string>\",\n          \"deleted\": \"<boolean>\",\n          \"file_name\": \"<string>\",\n          \"height\": \"<string>\",\n          \"id\": \"<integer>\",\n          \"inline\": \"<boolean>\",\n          \"malware_access_override\": \"<boolean>\",\n          \"malware_scan_result\": \"<string>\",\n          \"mapped_content_url\": \"<string>\",\n          \"size\": \"<integer>\",\n          \"url\": \"<string>\",\n          \"width\": \"<string>\",\n          \"thumbnails\": [\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            },\n            {\n              \"content_type\": \"<string>\",\n              \"content_url\": \"<string>\",\n              \"deleted\": \"<boolean>\",\n              \"file_name\": \"<string>\",\n              \"height\": \"<string>\",\n              \"id\": \"<integer>\",\n              \"inline\": \"<boolean>\",\n              \"malware_access_override\": \"<boolean>\",\n              \"malware_scan_result\": \"<string>\",\n              \"mapped_content_url\": \"<string>\",\n              \"size\": \"<integer>\",\n              \"url\": \"<string>\",\n              \"width\": \"<string>\"\n            }\n          ]\n        }\n      ],\n      \"audit_id\": \"<integer>\",\n      \"author_id\": \"<integer>\",\n      \"body\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"html_body\": \"<string>\",\n      \"id\": \"<integer>\",\n      \"metadata\": {\n        \"nisi04\": false\n      },\n      \"plain_body\": \"<string>\",\n      \"public\": \"<boolean>\",\n      \"type\": \"<string>\",\n      \"uploads\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"via\": {\n        \"channel\": \"<string>\",\n        \"source\": {\n          \"amet__\": 87553399\n        }\n      }\n    }\n  ]\n}"
    }
  ]
}