Get chat diff contents
GET
CoderSessionTokenheader
Coder-Session-Token<token>chat*stringChat ID
Format
uuidorigin?stringRemote origin selecting the ref to diff
branch?stringGit branch selecting the ref to diff
OK
application/json- response
branch?stringchat_id?stringFormat
uuiddiff?stringprovider?stringpull_request_url?stringremote_origin?stringThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/chats/{chat}/diff" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "branch": "string", "chat_id": "efc9fe20-a1e5-4a8c-9c48-f1b30c1e4f86", "diff": "string", "provider": "string", "pull_request_url": "string", "remote_origin": "string"}