Retrieve the list of projects for which the user is logged in as a member and is assigned. api/me/task/channels
is using in My Task, api/me/bug/channels
is using in My Bug. The list of returned channels is used to Invalid view, too.
1 | GET |
api/me/task/channels
or
api/me/bug/channels
GET.
This method supports the $select
, $filter
, $count
, $orderby
and $top
OData query parameters to help customize the response.
Header1
2
3--x-appvity-entityId: [EntityId]
--Cookie: graphNodeCookie=[ID]
Body
This method does not supply the request body.
If successful, this method returns a 200 OK response code and the list of channels in the response body.
Request 11
2
3curl --location --request GET 'https://teams.appvity.com/api/me/task/channels'\
--header 'x-appvity-entityId: appvity.etask.mytask' \
--header 'Cookie: graphNodeCookie=s%3AY_JF9CZQ9zNzJBFtczaMPEDH0z6q-GIu.gVlQqDR9nhJHdn%2BU083X4PuboTi6JCnSnz6vCGcs9qU'
Response 11
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51{
"@odata.context": "https://schema.appvity.com/odata/$metadata#channels",
"@odata.count": 2,
"value": [
{
"displayName": "",
"projectName": "",
"color": "",
"status": "Active",
"teamId": "19:5ae92f915fbe4aa188c05034487afcf2@thread.skype",
"teamName": "PMG",
"channelId": "19:5ae92f915fbe4aa188c05034487afcf2@thread.skype",
"channelName": "PMG"
},
{
"displayName": "",
"projectName": "",
"color": "#16e754ff",
"status": "New",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"teamName": "Tracy eTask API",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"channelName": "General"
}
]
}
Request 21
2
3
4
5
6curl --location --request GET 'https://teams.appvity.com/api/me/bug/channels' \
--header 'x-appvity-entityId: appvity.etask.mytask' \
--header 'Cookie:
graphNodeCookie=s%3AY_JF9CZQ9zNzJBFtczaMPEDH0z6q-GIu.gVlQqDR9nhJHdn%2BU083X4PuboTi6JCnSnz6vCGcs9qU'
Response 21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69{
"@odata.context": "https://schema.appvity.com/odata/$metadata#channels",
"@odata.count": 3,
"value": [
{
"displayName": "",
"projectName": "",
"color": "#16e754ff",
"status": "Active",
"teamId": "19:ca7641c904da4fdf92820722ff6489fc@thread.skype",
"teamName": "Team Playground",
"channelId": "19:7993a5e11e6b4cdcab1758e1a3bd42e2@thread.skype",
"channelName": "Dev and Debug"
},
{
"displayName": "Planner 2.1 Playground V2",
"projectName": "",
"color": "#16e754ff",
"status": "Active",
"teamId": "19:711c68b56d894b2697368214024dc89f@thread.skype",
"teamName": "Team Playground V2",
"channelId": "19:ee6ec47710504f2ea60bfa3d13f1e6ab@thread.skype",
"channelName": "Planner 2.1"
},
{
"displayName": "",
"projectName": "",
"color": "#16e754ff",
"status": "New",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"teamName": "Tracy eTask API",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"channelName": "General"
}
]
}
Comment