# List Row Comments

List all the comments in a certain row. The returned `id` value is the ID of each comment.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Base Operations",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Row Comments",
      "description": "Manage row comments"
    }
  ],
  "components": {
    "securitySchemes": {
      "BaseTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Base-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "row_id": {
        "name": "row_id",
        "description": "Unique id of a row.",
        "in": "query",
        "schema": {
          "type": "string",
          "pattern": "^[A-Za-z0-9\\-\\_]{22}$"
        },
        "example": "YMIviMeERQCUiQhPPqo6Gw",
        "required": true
      },
      "base_uuid": {
        "name": "base_uuid",
        "in": "path",
        "schema": {
          "type": "string",
          "pattern": "^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$"
        },
        "required": true,
        "description": "The unique identifier of a base. Sometimes also called dtable_uuid.",
        "example": "5c264e76-0e5a-448a-9f34-580b551364ca"
      }
    }
  },
  "paths": {
    "/api-gateway/api/v2/dtables/{base_uuid}/comments/": {
      "get": {
        "tags": [
          "Row Comments"
        ],
        "summary": "List Row Comments",
        "operationId": "listRowComments",
        "description": "List all the comments in a certain row. The returned `id` value is the ID of each comment.",
        "security": [
          {
            "BaseTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/base_uuid"
          },
          {
            "$ref": "#/components/parameters/row_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                },
                "example": [
                  {
                    "id": 1,
                    "author": "28d006e7d1754bb4afa2c2cb7369d244@auth.local",
                    "comment": "This is good!",
                    "dtable_uuid": "650d8a0d-7e27-46a8-8b18-6cc6374yf557",
                    "row_id": "NAu2B3OcRG6UrWagL-9naA",
                    "created_at": "2021-01-15T13:35:26.000Z",
                    "updated_at": "2021-01-15T13:35:26.000Z",
                    "resolved": 0
                  },
                  {
                    "id": 2,
                    "author": "28d006e7d1754bb4afa2c2cb7369d244@auth.local",
                    "comment": "Go online tomorrow?",
                    "dtable_uuid": "650d8a0d-7e27-46a8-8b18-6cc6374yf557",
                    "row_id": "NAu2B3OcRG6UrWagL-9naA",
                    "created_at": "2021-01-15T13:52:48.000Z",
                    "updated_at": "2021-01-15T13:52:48.000Z",
                    "resolved": 0
                  },
                  {
                    "id": 3,
                    "author": "8cb2a6da1928374ba42905bf1647fd3f@auth.local",
                    "comment": "Agreed!",
                    "dtable_uuid": "650d8a0d-7e27-46a8-8b18-6cc6374yf557",
                    "row_id": "NAu2B3OcRG6UrWagL-9naA",
                    "created_at": "2021-01-15T13:53:13.000Z",
                    "updated_at": "2021-01-15T13:53:13.000Z",
                    "resolved": 1
                  }
                ]
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 150
    }
  }
}
```