latestOpenAPI 3.0.02026-08-10135177718.4 KB

f739db716aaf

Comments

Update a comment

put/comments/{uuid}

Path parameters

uuidstring uuid required

A single UUID

Request body

{"stackTrail":"components:schemas:CommentsUpdate:properties:fields","oasType":"schema","type":"unknown"}

Response

A list of comments

total_resultsinteger required
pageinteger required
per_pageinteger required

Example response

{
  "results": [
    {
      "flags": [
        {
          "user": {
            "site": {
              "id": 1,
              "icon_url": "https://static.inaturalist.org/sites/1-logo_square.png",
              "locale": "en",
              "name": "iNaturalist",
              "site_name_short": "iNat",
              "url": "https://www.inaturalist.org"
            }
          }
        }
      ],
      "moderator_actions": [
        {
          "user": {
            "site": {
              "id": 1,
              "icon_url": "https://static.inaturalist.org/sites/1-logo_square.png",
              "locale": "en",
              "name": "iNaturalist",
              "site_name_short": "iNat",
              "url": "https://www.inaturalist.org"
            }
          }
        }
      ],
      "user": {
        "site": {
          "id": 1,
          "icon_url": "https://static.inaturalist.org/sites/1-logo_square.png",
          "locale": "en",
          "name": "iNaturalist",
          "site_name_short": "iNat",
          "url": "https://www.inaturalist.org"
        }
      }
    }
  ]
}