works

Get Post

POST
Gets a work item's information.

Request

This endpoint expects an object.
id
stringRequired
The work's ID.

Response

This endpoint returns an object
work
union
POST
1curl -X POST https://api.devrev.ai/works.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "string"
6}'
Response
1{
2 "work": {
3 "type": "issue",
4 "id": "string",
5 "owned_by": [
6 {
7 "type": "dev_user",
8 "id": "string",
9 "display_id": "string",
10 "display_name": "string",
11 "display_picture": {
12 "id": "string",
13 "display_id": "string"
14 },
15 "email": "string",
16 "full_name": "string",
17 "state": "active"
18 }
19 ],
20 "title": "string",
21 "applies_to_part": {
22 "type": "capability",
23 "id": "string",
24 "name": "string",
25 "display_id": "string"
26 },
27 "artifacts": [
28 {
29 "id": "string",
30 "display_id": "string"
31 }
32 ],
33 "body": "string",
34 "created_by": {
35 "type": "dev_user",
36 "id": "string",
37 "display_id": "string",
38 "display_name": "string",
39 "display_picture": {
40 "id": "string",
41 "display_id": "string"
42 },
43 "email": "string",
44 "full_name": "string",
45 "state": "active"
46 },
47 "created_date": "2023-01-01T00:00:00Z",
48 "developed_with": [
49 {
50 "type": "capability",
51 "id": "string",
52 "name": "string",
53 "display_id": "string"
54 }
55 ],
56 "display_id": "string",
57 "modified_by": {
58 "type": "dev_user",
59 "id": "string",
60 "display_id": "string",
61 "display_name": "string",
62 "display_picture": {
63 "id": "string",
64 "display_id": "string"
65 },
66 "email": "string",
67 "full_name": "string",
68 "state": "active"
69 },
70 "modified_date": "2023-01-01T00:00:00Z",
71 "priority": "p0",
72 "reported_by": [
73 {
74 "type": "dev_user",
75 "id": "string",
76 "display_id": "string",
77 "display_name": "string",
78 "display_picture": {
79 "id": "string",
80 "display_id": "string"
81 },
82 "email": "string",
83 "full_name": "string",
84 "state": "active"
85 }
86 ],
87 "stage": {
88 "name": "string"
89 },
90 "tags": [
91 {
92 "tag": {
93 "id": "string",
94 "name": "string",
95 "display_id": "string"
96 },
97 "value": "string"
98 }
99 ],
100 "target_close_date": "2023-01-01T00:00:00Z",
101 "target_start_date": "2023-01-01T00:00:00Z"
102 }
103}