Retrieve the list of bugs in all channels which the user is logged in as a member and is assigned to.1
2
3GET api/me/bugs
--x-appvity-entityId: [EntityId]
--Cookie: graphNodeCookie=[ID] |
api/me/tasks.
GET.
This method supports the $select, $filter and $orderby 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 bug objects in the response body.
Error
Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION.
Content: {error: “error message”}.
Request
curl –location –request GET ‘https://teams.appvity.com/api/me/bug' \
–header ‘x-appvity-entityId: appvity.etask.mytask’ \
–header ‘Cookie:
graphNodeCookie=s%3AY_JF9CZQ9zNzJBFtczaMPEDH0z6q-GIu.gVlQqDR9nhJHdn%2BU083X4PuboTi6JCnSnz6vCGcs9qU’
Response
Retrieve the list of tasks in all channels which the user is logged in as a member and is assigned to.
GET api/me/tasks –x-appvity-entityId: [EntityId] –Cookie: graphNodeCookie=[ID] |
URL Endpoint
api/me/tasks
Method
GET.
Parameters
This method supports the $select, $filter and $orderby OData query parameters to help customize the response.
Request Header
–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 task objects in the response body.
Error
Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION.
Content: {error: “error message”}.
Example
Request
curl –location –request GET ‘https://teams.appvity.com/api/me/bugs' \
–header ‘x-appvity-entityId: appvity.etask.mytask’ \
–header ‘Cookie:
graphNodeCookie=s%3AY_JF9CZQ9zNzJBFtczaMPEDH0z6q-GIu.gVlQqDR9nhJHdn%2BU083X4PuboTi6JCnSnz6vCGcs9qU’
Response
{
“@odata.context”: “https://schema.appvity.com/odata/$metadata#bugs",
“@odata.count”: 1,
“value”: [
{
“bucket”: [],
“attachments”: [],
“assignedTo”: [
{
“_id”: “5e12ca9d85c88e43cb3881c1”,
“source”: “Microsoft.Vsts”,
“sourceId”: “oliver@anadea.com“,
“displayName”: “Oliver Neal”,
“username”: “oliver@anadea.com“
}
],
“_id”: “5f23e19358804a1a1eebbf91”,
“channelId”: “19:7993a5e11e6b4cdcab1758e1a3bd42e2@thread.skype“,
“sourceId”: “35731”,
“teamId”: “19:ca7641c904da4fdf92820722ff6489fc@thread.skype“,
“bucketName”: ## null## ,
“createdAt”: “2020-02-24T03:17:13.310Z”,
“createdBy”: {
“source”: “Microsoft.Vsts”,
“email”: “kylachan@anadea.com“,
“name”: “Cora Rowland”,
“sourceId”: “kylachan@anadea.com“,
“entityId”: “eTask.d38b6eab-febe-4d01-0dfa-0d219a0c6365”,
“groupId”: “7243322b-db76-422e-a964-ae2bef25eee0”,
“internalId”: 11591,
“name”: “123”,
“phase”: “Playground V2”,
“phaseName”: “Playground V2”,
“priority”: “Normal”,
“severity”: “Medium”,
“source”: “Microsoft.Vsts”,
“status”: “dev bug 3”,
“sync”: {
“status”: ## null## ,
“at”: “2020-07-31T09:20:02.581Z”
},
“tenantId”: “df7abg9c-c05a-4fc9-b958-64faered911d”,
“updatedAt”: “2020-09-05T10:59:03.360Z”,
“updatedBy”: {
“displayName”: “Cora Rowland”,
“_links”: {
“avatar”: {
}
},
“id”: “7533a36b-eb2b-4c23-8b0d-47a49b8d903e”,
“uniqueName”: “kylachan@anadea.com“,
“descriptor”: “aad.YjVjMTQxNzQtM2ZmOC03ODZkLTg3NWItNTVlMzU1MzUzZDk1”
},
“projectId”: {
“enableBug”: “true” ,
“_id”: “5ed5c0a12a674902dfb9aebb”,
“projectName”: “Playground V2”,
“sourceId”: “1a209ffd-ed64-4d97-8828-16692c3d8c53”,
“displayName”: “”
},
“statusId”: {
“_id”: “5f28ea630151ee077bdb5d0f”,
“category”: “Done”
},
“statusValue”: 8,
“__v”: 2,
“channelName”: “Dev and Debug edit name”,
“completedDate”: ## null## ,
“dueDate”: ## null## ,
“startDate”: ## null## ,
“teamName”: “Team Playground”
},
}
]
Comment