Context
Borja Gorriz edited this page Sep 23, 2013
·
3 revisions
Base URL: api/dime/rest/{mainSaId}/context
Method | Path | Description |
GET | @me/{scope} | Returns raw context belonging to specified scope. |
POST | @me | Updates new raw context scope |
Examples:
- Call: api/dime/rest/5b223cde-07e5-4987-b531-231876fa7601/context/@me
- Response:
{
"response": {
"meta": {
"v": "0.9",
"status": "OK",
"code": 200,
"timeRef": 1366193640900,
"msg": ""
},
"data": {
"startIndex": 0,
"itemsPerPage": 0,
"totalResults": 0,
"entry": [
{
"guid": "bt",
"type": "context",
"entity": {
"type": "username",
"id": "5b223cde-07e5-4987-b531-231876fa7601"
},
"scope": "bt",
"source": {
"id": "mobile-crawler|desktop-crawler",
"v": "1.0"
},
"timestamp": "2013-04-17T12:13:11+02:00",
"expires": "2013-04-17T12:15:11+02:00",
"dataPart": {
"btList": "002109DEF870;002258CC6979;0023B454594A",
"btLocal": "902155AD10FE"
}
}
]
}
}
}