---
title: "Changes to Get a specific comment"
method: GET
path: "/posts/{postId}/comments/{commentId}"
---

# Changes to Get a specific comment

`GET /posts/{postId}/comments/{commentId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 3 revisions.

- **2026-07-17** `41c89b420e85` — 5 breaking, 1 info
- **2025-05-30** `2775bd09f55e` — 2 breaking, 2 warning, 4 info
- **2025-05-30** `dbaf42ae4311` — 10 breaking, 2 warning, 1 info

## Changes

- **2026-07-17** `41c89b420e85` — 5 breaking, 1 info
  - added the new path request parameter `commentId`
  - added the new path request parameter `postId`
  - the `content` response property's maxLength was increased from `500` to `1000` for the response status `200`
  - the `details` response's property type changed from `object` to `array` for status `404`
  - the `details` response's property type changed from `object` to `array` for status `500`
  - api operation id `getComment` removed and replaced with `getCommentById`
- **2025-05-30** `2775bd09f55e` — 2 breaking, 2 warning, 4 info
  - the `id` response's property type changed from `integer` to `string`, and format from no format to `uuid` for status `200`
  - the `postId` response's property type changed from `integer` to `string`, and format from no format to `uuid` for status `200`
  - deleted the `path` request parameter `commentId`
  - deleted the `path` request parameter `postId`
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `500` status
  - added the required property `error` to the response with the `404` status
  - added the required property `error` to the response with the `500` status
- **2025-05-30** `dbaf42ae4311` — 10 breaking, 2 warning, 1 info
  - for the `path` request parameter `commentId`, the type changed from `string` to `integer`, and format from `uuid` to no format
  - for the `path` request parameter `postId`, the type changed from `string` to `integer`, and format from `uuid` to no format
  - the `content` response property's maxLength was unset from `1000` for the response status `200`
  - the `username` response property's maxLength was unset from `50` for the response status `200`
  - the `content` response property's minLength was decreased from `1` to `0` for the response status `200`
  - the `username` response property's minLength was decreased from `1` to `0` for the response status `200`
  - the `id` response's property type changed from `string` to `integer`, and format from `uuid` to no format for status `200`
  - the `postId` response's property type changed from `string` to `integer`, and format from `uuid` to no format for status `200`
  - removed the required property `error` from the response with the `404` status
  - removed the required property `error` from the response with the `500` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `500` status
  - api operation id `getCommentById` removed and replaced with `getComment`

---

[Operation](https://skmtc.dev/azure/apis/simple-social-media-api/docs/posts/:postId/comments/:commentId/get.md) · [API](https://skmtc.dev/azure/apis/simple-social-media-api.md) · [Page](https://skmtc.dev/azure/apis/simple-social-media-api/changes/posts/:postId/comments/:commentId/get)
