v1
latestOpenAPI 3.0.32026-07-171140286.6 KBApi\ResearchDataController
api/researchdata/{id}/user/{user_id}/{item} GET List all user 'item' data within the consent=1 periods of a specific user within a Research. The 'item' field indicates the type of user data (apiaries/locations/hives/devices/flashlogs/inspections/measurements/weather) to request within the research (which the user gave consent for to use). Example: inspectionsResponse: api/researchdata/1/user/1/inspections.
get/api/researchdata/{id}/user/{user_id}/{item}
Headers
Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring
Request body
Example request
{
"date_start": "2020-01-01 00:00:00",
"date_until": "2020-09-29 23:59:59",
"device_id": 1,
"location_id": 2,
"measurements": "non",
"decimals": 1,
"interval": "5m",
"calculation": "MEAN",
"calculation_prop": "DERIVATIVE",
"limit": 10,
"precision": "rfc3339",
"timezone": "Asia/Almaty"
}Response
object[] required
Example response
[
{
"id": 35211,
"notes": "test",
"reminder": null,
"reminder_date": null,
"impression": 2,
"attention": 1,
"created_at": "2020-03-26 18:28:00",
"checklist_id": 798,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": []
},
{
"id": 40162,
"notes": "Input Liebefeld",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-04-24 11:03:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": [
{
"id": 326538,
"value": "0.6",
"inspection_id": 40162,
"category_id": 977,
"val": "0.6",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326539,
"value": "4",
"inspection_id": 40162,
"category_id": 978,
"val": "4",
"unit": "x 25cm2",
"type": "square_25cm2"
},
{
"id": 326540,
"value": "2",
"inspection_id": 40162,
"category_id": 979,
"val": "2",
"unit": "x 25cm2",
"type": "square_25cm2"
}
]
},
{
"id": 40163,
"notes": "Brood photograph",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-04-24 11:07:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 280,
"items": [
{
"id": 326567,
"value": "1",
"inspection_id": 40163,
"category_id": 399,
"val": "Ja",
"unit": null,
"type": "boolean"
},
{
"id": 326568,
"value": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
"inspection_id": 40163,
"category_id": 973,
"val": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
"unit": null,
"type": "image"
}
]
},
{
"id": 68477,
"notes": null,
"reminder": null,
"reminder_date": null,
"impression": 3,
"attention": 1,
"created_at": "2020-10-23 12:43:00",
"checklist_id": 3206,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 281,
"items": []
},
{
"id": 68478,
"notes": "Hive change",
"reminder": null,
"reminder_date": null,
"impression": null,
"attention": null,
"created_at": "2020-10-23 13:12:33",
"checklist_id": null,
"image_id": null,
"owner": true,
"thumb_url": null,
"hive_id": 281,
"items": [
{
"id": 522496,
"value": "2",
"inspection_id": 68478,
"category_id": 85,
"val": "2",
"unit": null,
"type": "number_positive"
},
{
"id": 522497,
"value": "2",
"inspection_id": 68478,
"category_id": 87,
"val": "2",
"unit": null,
"type": "number"
},
{
"id": 522498,
"value": "10",
"inspection_id": 68478,
"category_id": 89,
"val": "10",
"unit": null,
"type": "number_positive"
}
]
}
]