---
title: "List comments from bag"
method: GET
path: "/stores/{store_name}/bags/{bag_name}/comments"
tags: ["basic"]
---

# List comments from bag

`GET /stores/{store_name}/bags/{bag_name}/comments`

## Request

- Base URL: `/api/v0` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v0/stores/{store_name}/bags/{bag_name}/comments`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/docs/stores/:store_name/bags/:bag_name/comments/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `store_name` string, required
- `bag_name` string, required

## Response `200`

Returns the comments

- Comment[]
  - `identifier` integer, required
  - `comment_text` string, required
  - `created` string, date-time, required
  - `posted_by` User
    - `alias` string
    - `full_name` string
    - `email` string
    - `permissions` Permission[]
      - `identifier` string, required
      - `name` string, required
      - `granted` boolean
    - `password` string: Only set for changing password, otherwise empty.

## Other responses

- `400`: General error
- `404`: bag not found

---

[API](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api.md) - [All operations](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amz-racing/apis/rosbag-bazaar-api/revisions/9167cc5a1f11?raw)
