This is intended to help conceptualize requests.
We recommend tools such as Postman or ApiDog for development and testing.
REQUEST Open GET Request >
POST https://api.kpaehs.com/v1/resources.list
{
"token": "MY_TOKEN",
"pretty": true
}
RESPONSE
{
"ok": true,
"resources": [
{
"title": "HSE Management System",
"created": 1476718840498,
"sequence": 1,
"category_id": "5804f0f80ef50473af58778e",
"tags": [
"health & safety"
],
"shouldBeAvailableOffline": true,
"versions": [
{
"creator_id": "5804f0f40ef50473af5870f5",
"created": 1476718840498,
"approvedOn": 1475077240497,
"version": "3.2",
"description": "This is a sample document.",
"file": "646a732bf57c4373413aaaf7/private/g2x0air15na7vel3/Employee%20Safety%20Commitment.docx",
"link": "",
"type": "file"
}
],
"id": "5804f0f80ef50473af587791"
},
{
"title": "Workplace Principles and Policies",
"created": 1476718840499,
"sequence": 2,
"category_id": "5804f0f80ef50473af58778e",
"tags": [
"health & safety"
],
"shouldBeAvailableOffline": false,
"versions": [
{
"creator_id": "5804f0f40ef50473af58719d",
"created": 1476718840499,
"approvedOn": 1465486840499,
"version": "3.2",
"description": "This is a sample document.",
"file": null,
"link": "https://www.ikea.com/jo/en/assembly_instructions/billy-bookcase-white__AA-1823127-8-2.pdf",
"type": "link"
},
{
"creator_id": "5804f0f40ef50473af587128",
"created": 1476718840499,
"approvedOn": 1463499640499,
"version": "1.2",
"description": "This is a sample document.",
"file": "646a732bf57c4373413aaaf7/private/g2x0air15na7vel3/Employee%20Safety%20Commitment.docx",
"link": "",
"type": "file"
},
{
"creator_id": "5804f0f40ef50473af58717c",
"created": 1476718840499,
"approvedOn": 1446655240499,
"version": "1.1",
"description": "This is a sample document.",
"file": "646a732bf57c4373413aaaf7/private/g2x0air15na7vel3/Employee%20Safety%20Commitment.docx",
"link": "",
"type": "file"
}
],
"id": "5804f0f80ef50473af587793"
}
]
}