code-changes

Get

GET
Gets a code change object.

Query parameters

idstringRequired
The code change object ID.

Response

This endpoint returns an object
code_change
object
GET
1curl -G https://api.devrev.ai/code-changes.get \
2 -H "Authorization: <apiKey>" \
3 -d id=id
200
Retrieved
1{
2 "code_change": {
3 "id": "id",
4 "branch": "branch",
5 "created_date": "2023-01-01T12:00:00Z",
6 "description": "description",
7 "display_id": "display_id",
8 "external_identifier": "external_identifier",
9 "filtered_loc": {
10 "file_count": 1,
11 "lines_added": 1,
12 "lines_deleted": 1,
13 "lines_modified": 1
14 },
15 "modified_date": "2023-01-01T12:00:00Z",
16 "repo_url": "repo_url",
17 "source": "github",
18 "title": "title",
19 "total_loc": {
20 "file_count": 1,
21 "lines_added": 1,
22 "lines_deleted": 1,
23 "lines_modified": 1
24 }
25 }
26}