Created
July 26, 2017 15:01
-
-
Save jasonspriggs/a8e69a48fdad27e4402b5fd6d91c4853 to your computer and use it in GitHub Desktop.
snipe-it v4 object expansion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET {{host}}/users/1 | |
{ | |
"id": 1, | |
"name": "Jason Spriggs", | |
"firstname": "Jason", | |
"lastname": "Spriggs", | |
"username": "admin", | |
"employee_num": "", | |
"manager": null, | |
"groups": [], | |
"jobtitle": "", | |
"email": "some-email@example.com", | |
"department": null, | |
"location": { | |
"id": 3, | |
"name": "Gaylord National Harbor", | |
"address": "", | |
"city": "", | |
"state": "", | |
"assets_checkedout": 0, | |
"assets_default": 1, | |
"country": "", | |
"assets": [], | |
"created_at": { | |
"datetime": "2017-07-07 03:24:52", | |
"formatted": "2017-07-07 3:24AM" | |
}, | |
"updated_at": { | |
"datetime": "2017-07-07 03:24:52", | |
"formatted": "2017-07-07 3:24AM" | |
}, | |
"parent_id": null, | |
"children": [], | |
"available_actions": { | |
"update": true, | |
"delete": true | |
} | |
}, | |
"permissions": { | |
"superuser": 1 | |
}, | |
"activated": true, | |
"two_factor_activated": true, | |
"assets_count": 0, | |
"licenses_count": 0, | |
"accessories_count": 0, | |
"consumables_count": 0, | |
"company": null, | |
"created_at": { | |
"datetime": "2017-07-01 15:10:43", | |
"formatted": "2017-07-01 3:10PM" | |
}, | |
"updated_at": { | |
"datetime": "2017-07-26 00:27:09", | |
"formatted": "2017-07-26 12:27AM" | |
}, | |
"last_login": { | |
"datetime": "2017-07-26 00:27:09", | |
"formatted": "2017-07-26 12:27AM" | |
}, | |
"available_actions": { | |
"update": true, | |
"delete": true, | |
"clone": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment