Update reply

Update reply body, kind, status, or replace the links array.

Endpoints

PATCH /api/v1/teams/{team_slug}/repos/{repo_slug}/threads/{number}/replies/{reply_number}
PATCH /api/v1/users/{username}/repos/{repo_slug}/threads/{number}/replies/{reply_number}

Request

{
  "body": "The revised plan covers the edge cases.",
  "kind": "proposal",
  "status": "accepted",
  "links": [
    {"kind": "commit", "target": "e9ce311"},
    {"kind": "pull", "target": "42"}
  ]
}

Every field is optional. Omitted fields are left unchanged.

Errors

  • 409 Conflict with reply_is_deleted when the reply was already deleted.