Chilkat Online Tools

Go / Support API / List Comments

Back to Collection Items

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

    http := chilkat.NewHttp()
    var success bool

    http.SetBasicAuth(true)
    http.SetLogin("login")
    http.SetPassword("password")

    queryParams := chilkat.NewJsonObject()
    queryParams.UpdateString("include_inline_images","<boolean>")
    queryParams.UpdateString("include","<string>")

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

    resp := http.QuickRequestParams("GET","https://example.zendesk.com/api/v2/tickets/:ticket_id/comments",queryParams)
    if http.LastMethodSuccess() == false {
        fmt.Println(http.LastErrorText())
        http.DisposeHttp()
        queryParams.DisposeJsonObject()
        return
    }

    sbResponseBody := chilkat.NewStringBuilder()
    resp.GetBodySb(sbResponseBody)

    jResp := chilkat.NewJsonObject()
    jResp.LoadSb(sbResponseBody)
    jResp.SetEmitCompact(false)

    fmt.Println("Response Body:")
    fmt.Println(*jResp.Emit())

    respStatusCode := resp.StatusCode()
    fmt.Println("Response Status Code = ", respStatusCode)
    if respStatusCode >= 400 {
        fmt.Println("Response Header:")
        fmt.Println(resp.Header())
        fmt.Println("Failed.")
        resp.DisposeHttpResponse()
        http.DisposeHttp()
        queryParams.DisposeJsonObject()
        sbResponseBody.DisposeStringBuilder()
        jResp.DisposeJsonObject()
        return
    }

    resp.DisposeHttpResponse()

    // 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

    var audit_id *string = new(string)
    var author_id *string = new(string)
    var body *string = new(string)
    var created_at *string = new(string)
    var html_body *string = new(string)
    var id *string = new(string)
    var Cillum_7ae *string = new(string)
    var Sunt2 *string = new(string)
    var Laboris__ bool
    var plain_body *string = new(string)
    var v_public *string = new(string)
    var v_type *string = new(string)
    var Channel *string = new(string)
    var Incididunt03e bool
    var Eiusmod_4 int
    var Esse7 int
    var Nisi04 bool
    var Amet__ int
    var j int
    var count_j int
    var content_type *string = new(string)
    var content_url *string = new(string)
    var deleted *string = new(string)
    var file_name *string = new(string)
    var height *string = new(string)
    var inline *string = new(string)
    var malware_access_override *string = new(string)
    var malware_scan_result *string = new(string)
mapped_    var content_url *string = new(string)
    var size *string = new(string)
    var url *string = new(string)
    var width *string = new(string)
    var k int
    var count_k int
    var strVal *string = new(string)

    i := 0
    count_i := jResp.SizeOfArray("comments")
    for i < count_i {
        jResp.SetI(i)
        audit_id = jResp.StringOf("comments[i].audit_id")
        author_id = jResp.StringOf("comments[i].author_id")
        body = jResp.StringOf("comments[i].body")
        created_at = jResp.StringOf("comments[i].created_at")
        html_body = jResp.StringOf("comments[i].html_body")
        id = jResp.StringOf("comments[i].id")
        Cillum_7ae = jResp.StringOf("comments[i].metadata.cillum_7ae")
        Sunt2 = jResp.StringOf("comments[i].metadata.sunt2")
        Laboris__ = jResp.BoolOf("comments[i].metadata.laboris__")
        plain_body = jResp.StringOf("comments[i].plain_body")
        v_public = jResp.StringOf("comments[i].public")
        v_type = jResp.StringOf("comments[i].type")
        Channel = jResp.StringOf("comments[i].via.channel")
        Incididunt03e = jResp.BoolOf("comments[i].via.source.incididunt03e")
        Eiusmod_4 = jResp.IntOf("comments[i].via.source.eiusmod_4")
        Esse7 = jResp.IntOf("comments[i].via.source.esse7")
        Nisi04 = jResp.BoolOf("comments[i].metadata.nisi04")
        Amet__ = jResp.IntOf("comments[i].via.source.amet__")
        j = 0
        count_j = jResp.SizeOfArray("comments[i].attachments")
        for j < count_j {
            jResp.SetJ(j)
            content_type = jResp.StringOf("comments[i].attachments[j].content_type")
            content_url = jResp.StringOf("comments[i].attachments[j].content_url")
            deleted = jResp.StringOf("comments[i].attachments[j].deleted")
            file_name = jResp.StringOf("comments[i].attachments[j].file_name")
            height = jResp.StringOf("comments[i].attachments[j].height")
            id = jResp.StringOf("comments[i].attachments[j].id")
            inline = jResp.StringOf("comments[i].attachments[j].inline")
            malware_access_override = jResp.StringOf("comments[i].attachments[j].malware_access_override")
            malware_scan_result = jResp.StringOf("comments[i].attachments[j].malware_scan_result")
            mapped_content_url = jResp.StringOf("comments[i].attachments[j].mapped_content_url")
            size = jResp.StringOf("comments[i].attachments[j].size")
            url = jResp.StringOf("comments[i].attachments[j].url")
            width = jResp.StringOf("comments[i].attachments[j].width")
            k = 0
            count_k = jResp.SizeOfArray("comments[i].attachments[j].thumbnails")
            for k < count_k {
                jResp.SetK(k)
                content_type = jResp.StringOf("comments[i].attachments[j].thumbnails[k].content_type")
                content_url = jResp.StringOf("comments[i].attachments[j].thumbnails[k].content_url")
                deleted = jResp.StringOf("comments[i].attachments[j].thumbnails[k].deleted")
                file_name = jResp.StringOf("comments[i].attachments[j].thumbnails[k].file_name")
                height = jResp.StringOf("comments[i].attachments[j].thumbnails[k].height")
                id = jResp.StringOf("comments[i].attachments[j].thumbnails[k].id")
                inline = jResp.StringOf("comments[i].attachments[j].thumbnails[k].inline")
                malware_access_override = jResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_access_override")
                malware_scan_result = jResp.StringOf("comments[i].attachments[j].thumbnails[k].malware_scan_result")
                mapped_content_url = jResp.StringOf("comments[i].attachments[j].thumbnails[k].mapped_content_url")
                size = jResp.StringOf("comments[i].attachments[j].thumbnails[k].size")
                url = jResp.StringOf("comments[i].attachments[j].thumbnails[k].url")
                width = jResp.StringOf("comments[i].attachments[j].thumbnails[k].width")
                k = k + 1
            }

            j = j + 1
        }

        j = 0
        count_j = jResp.SizeOfArray("comments[i].uploads")
        for j < count_j {
            jResp.SetJ(j)
            strVal = jResp.StringOf("comments[i].uploads[j]")
            j = j + 1
        }

        i = i + 1
    }


    http.DisposeHttp()
    queryParams.DisposeJsonObject()
    sbResponseBody.DisposeStringBuilder()
    jResp.DisposeJsonObject()

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