Logs
Log object
{
"_id": "59433e6a8cb4760100c7216e",
"adr": 1187315762,
"aid": "5810f6e4cc761537539d3e2c",
"beg": "2017-06-16T02:11:54.702Z",
"cid": "5810f6e4cc761537539d3e2d",
"end": "2017-06-16T02:11:55.199Z",
"err": {
"faults": []
},
"in": 417,
"lvl": 2,
"mtd": 0,
"out": 525,
"pis": [],
"pts": [],
"que": {
"c_public_user": "593b2a2f9a8ca001000f0435",
"c_study": "58faa94410cc4501001fe779"
},
"req": "59433e6a81ae9d0100e9fca7",
"rte": "/routes/get_public_group*",
"src": 3,
"sts": 200,
"trc": [],
"url": "/routes/get_public_group"
}
List
GET
https://api.dev.medable.com/your_org_name/v2/logs
Path Parameters
{
"data": [
{
"_id": "59433e6a7a90230100f4815f",
"adr": 1187315762,
"aid": "5810f6e4cc761537539d3e2c",
"beg": "2017-06-16T02:11:54.248Z",
"cid": "5810f6e4cc761537539d3e2d",
"end": "2017-06-16T02:11:54.265Z",
"err": {
"faults": []
},
"in": 321,
"lvl": 2,
"mtd": 0,
"out": 0,
"pis": [],
"pts": [],
"req": "59433e6ab3eb3f0100ded3bd",
"rte": "/",
"src": 3,
"sts": 200,
"trc": [],
"url": "/"
},
{
"_id": "59433e6a8cb4760100c7216e",
"adr": 1187315762,
"aid": "5810f6e4cc761537539d3e2c",
"beg": "2017-06-16T02:11:54.702Z",
"cid": "5810f6e4cc761537539d3e2d",
"end": "2017-06-16T02:11:55.199Z",
"err": {
"faults": []
},
"in": 417,
"lvl": 2,
"mtd": 0,
"out": 525,
"pis": [],
"pts": [],
"que": {
"c_public_user": "593b2a2f9a8ca001000f0435",
"c_study": "58faa94410cc4501001fe779"
},
"req": "59433e6a81ae9d0100e9fca7",
"rte": "/routes/get_public_group*",
"src": 3,
"sts": 200,
"trc": [],
"url": "/routes/get_public_group"
},
{
"_id": "59433e6a8cb4760100c72170",
"beg": "2017-06-16T02:11:54.904Z",
"cms": 0,
"ctt": 0,
"dat": [
19
],
"end": "2017-06-16T02:11:54.904Z",
"err": {
"faults": []
},
"in": 0,
"lvl": 2,
"oid": "000000000000000000000001",
"ops": 362,
"out": 0,
"pid": "58e2745649b3c401002b53d7",
"pis": [],
"pts": [],
"req": "59433e6a81ae9d0100e9fca7",
"sid": "59139ef6b0cc5f01004714d8",
"src": 0,
"stp": "route",
"sts": 200,
"trc": []
}
],
"hasMore": true,
"object": "list"
}
{}
$.ajax({
url: "https://api.dev.medable.com/example/v2/logs",
method: "GET",
dataType : "json",
xhrFields: {
withCredentials: true
},
headers: {
"Medable-Client-Key": "GsAqlhnIMzrDeD8V2MBQWq"
}
}).done(function(data) {
// ...
});
Last updated