Questionnaire Comments

Edit one comment on a question of an answer request

Changed on

Rewrites the text of a single comment in the thread on one question of one answer request — the write behind the inline edit in the comment popover on the answer and review pages. Only the comment author may edit it; anyone else gets 403 cannot_update_question_comment, including other people at the same company. The comment must be filed against the addressed question and request, otherwise 404 question_comment_not_found — the same code an unknown comment answers, so the endpoint never confirms a comment the caller cannot address exists elsewhere. The edit rewrites the updatedBy* fields, which is what both frontends render as the comment author; createdBy* is immutable. A request whose questionnaire is archived is read-only and answers 409 questionnaire_archived.

patch/api/questionnaires/questions/{questionId}/requests/{requestId}/comments/{commentId}

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/questionnaires/questions/{questionId}/requests/{requestId}/comments/{commentId}
  • Auth
    none declared

Path parameters

questionIdstring required
requestIdstring required
commentIdstring required

Request body

questionCommentstring required

Response

Default Response

Changes

    • info

      added the non-success response with the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      response property data/questionComment list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/questionId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/requestId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/updatedByCompanyId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/updatedByCompanyName list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/updatedByUserId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/updatedByUserName list-of-types was narrowed by removing types null from media type application/json of response 200