List reply versions

List all non-deleted versions of a thread reply.

Endpoints

GET /api/v1/teams/{team_slug}/repos/{repo_slug}/threads/{number}/replies/{reply_number}/versions
GET /api/v1/users/{username}/repos/{repo_slug}/threads/{number}/replies/{reply_number}/versions
Authenticated

Usage

curl --header "Authorization: Bearer $GHIT_API_TOKEN" \
  "$GHIT_API_URL/v1/teams/platform/repos/website/threads/42/replies/5/versions"

Success

200 OK with an array of non-deleted reply versions, ordered by version descending.

Errors

  • 403 Forbidden when repo access is denied.
  • 404 Not Found when repo, thread, or reply is not found.