Chilkat Online Tools

PowerBuilder / Support API / List Comments

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_QueryParams
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_Audit_id
string ls_Author_id
string ls_Body
string ls_Created_at
string ls_Html_body
string ls_Id
string ls_Cillum_7ae
string ls_Sunt2
integer li_Laboris__
string ls_Plain_body
string ls_V_public
string ls_V_type
string ls_Channel
integer li_Incididunt03e
integer li_Eiusmod_4
integer li_Esse7
integer li_Nisi04
integer li_Amet__
integer j
integer li_Count_j
string ls_Content_type
string ls_Content_url
string ls_Deleted
string ls_File_name
string ls_Height
string ls_Inline
string ls_Malware_access_override
string ls_Malware_scan_result
string ls_Mapped_content_url
string ls_Size
string ls_Url
string ls_Width
integer k
integer li_Count_k
string ls_StrVal
integer i
integer li_Count_i

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

loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

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

loo_QueryParams = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_QueryParams.ConnectToNewObject("Chilkat.JsonObject")

loo_QueryParams.UpdateString("include_inline_images","<boolean>")
loo_QueryParams.UpdateString("include","<string>")

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

loo_Resp = loo_Http.QuickRequestParams("GET","https://example.zendesk.com/api/v2/tickets/:ticket_id/comments",loo_QueryParams)
if loo_Http.LastMethodSuccess = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_QueryParams
    return
end if

loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")

loo_Resp.GetBodySb(loo_SbResponseBody)

loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Resp.Header
    Write-Debug "Failed."
    destroy loo_Resp
    destroy loo_Http
    destroy loo_QueryParams
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

destroy loo_Resp

// 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
li_Count_i = loo_JResp.SizeOfArray("comments")
do while i < li_Count_i
    loo_JResp.I = i
    ls_Audit_id = loo_JResp.StringOf("comments[i].audit_id")
    ls_Author_id = loo_JResp.StringOf("comments[i].author_id")
    ls_Body = loo_JResp.StringOf("comments[i].body")
    ls_Created_at = loo_JResp.StringOf("comments[i].created_at")
    ls_Html_body = loo_JResp.StringOf("comments[i].html_body")
    ls_Id = loo_JResp.StringOf("comments[i].id")
    ls_Cillum_7ae = loo_JResp.StringOf("comments[i].metadata.cillum_7ae")
    ls_Sunt2 = loo_JResp.StringOf("comments[i].metadata.sunt2")
    li_Laboris__ = loo_JResp.BoolOf("comments[i].metadata.laboris__")
    ls_Plain_body = loo_JResp.StringOf("comments[i].plain_body")
    ls_V_public = loo_JResp.StringOf("comments[i].public")
    ls_V_type = loo_JResp.StringOf("comments[i].type")
    ls_Channel = loo_JResp.StringOf("comments[i].via.channel")
    li_Incididunt03e = loo_JResp.BoolOf("comments[i].via.source.incididunt03e")
    li_Eiusmod_4 = loo_JResp.IntOf("comments[i].via.source.eiusmod_4")
    li_Esse7 = loo_JResp.IntOf("comments[i].via.source.esse7")
    li_Nisi04 = loo_JResp.BoolOf("comments[i].metadata.nisi04")
    li_Amet__ = loo_JResp.IntOf("comments[i].via.source.amet__")
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("comments[i].attachments")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Content_type = loo_JResp.StringOf("comments[i].attachments[j].content_type")
        ls_Content_url = loo_JResp.StringOf("comments[i].attachments[j].content_url")
        ls_Deleted = loo_JResp.StringOf("comments[i].attachments[j].deleted")
        ls_File_name = loo_JResp.StringOf("comments[i].attachments[j].file_name")
        ls_Height = loo_JResp.StringOf("comments[i].attachments[j].height")
        ls_Id = loo_JResp.StringOf("comments[i].attachments[j].id")
        ls_Inline = loo_JResp.StringOf("comments[i].attachments[j].inline")
        ls_Malware_access_override = loo_JResp.StringOf("comments[i].attachments[j].malware_access_override")
        ls_Malware_scan_result = loo_JResp.StringOf("comments[i].attachments[j].malware_scan_result")
        ls_Mapped_content_url = loo_JResp.StringOf("comments[i].attachments[j].mapped_content_url")
        ls_Size = loo_JResp.StringOf("comments[i].attachments[j].size")
        ls_Url = loo_JResp.StringOf("comments[i].attachments[j].url")
        ls_Width = loo_JResp.StringOf("comments[i].attachments[j].width")
        k = 0
        li_Count_k = loo_JResp.SizeOfArray("comments[i].attachments[j].thumbnails")
        do while k < li_Count_k
            loo_JResp.K = k
            ls_Content_type = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].content_type")
            ls_Content_url = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].content_url")
            ls_Deleted = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].deleted")
            ls_File_name = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].file_name")
            ls_Height = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].height")
            ls_Id = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].id")
            ls_Inline = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].inline")
            ls_Malware_access_override = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_access_override")
            ls_Malware_scan_result = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_scan_result")
            ls_Mapped_content_url = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].mapped_content_url")
            ls_Size = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].size")
            ls_Url = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].url")
            ls_Width = loo_JResp.StringOf("comments[i].attachments[j].thumbnails[k].width")
            k = k + 1
        loop
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("comments[i].uploads")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_StrVal = loo_JResp.StringOf("comments[i].uploads[j]")
        j = j + 1
    loop
    i = i + 1
loop


destroy loo_Http
destroy loo_QueryParams
destroy loo_SbResponseBody
destroy loo_JResp

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}"
    }
  ]
}