{"info":{"_postman_id":"0aa81142-b744-4191-82fd-ac8b3f601afd","name":"Spectrum API Endpoints Documentation","description":"<html><head></head><body><p>This documentation contains all the table structure of the enpoints being used and all the endpoints accessible by a Second Party Application. This documentation is meant for internal use only</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10752410","collectionId":"0aa81142-b744-4191-82fd-ac8b3f601afd","publishedId":"SztHY6A3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-04T13:47:53.000Z"},"item":[{"name":"Test Connection","id":"83486b57-9b33-409f-a9d8-c1c2b6d1a210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"},{"key":"APP_KEY","value":"APP_KEY","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imei","value":"09089782394","type":"text"},{"key":"user_id","value":"ebbaa9b0-a5d9-11ea-b350-05b94f1019ed","type":"text"},{"key":"first_name","value":"makinde","type":"text"},{"key":"last_name","value":"abass","type":"text"},{"key":"phone","value":"09087576839","type":"text"},{"key":"access_code","value":"6853-9147-3890-9073","type":"text"}]},"url":"127.0.0.1:8000/api/v1/test_connection","description":"<p>This endpoint is only available for test purpose. This endpoint can be used to ensure that the server responds and that the request structure matches the expected request type. No parameter is required, except for the APP_KEY</p>\n","urlObject":{"port":"8000","path":["api","v1","test_connection"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"83486b57-9b33-409f-a9d8-c1c2b6d1a210"},{"name":"Register Device","id":"93262fa2-cfd9-4ade-bcca-2ed274eeb926","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"APP-KEY","type":"text","value":"a04725cc3d377b872b54c08a310f2969"}],"body":{"mode":"raw","raw":"{\n\t\"imei\": \"089489020904\"\n}"},"url":"spectrumbooks.com/api/v2/register_device","description":"<p>This endpoint accepts a device IMEI, registers it, and the generate a token which can only be used by this device. The duration  of the token generated is 1hour</p>\n","urlObject":{"path":["api","v2","register_device"],"host":["spectrumbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"93262fa2-cfd9-4ade-bcca-2ed274eeb926"},{"name":"Register User","id":"f13c72b8-ecd5-4853-8cf5-7beed2fa5cce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"},{"key":"APP-KEY","value":"a04725cc3d377b872b54c08a310f2969","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiMjdkOGY0MTE1MjM1M2VmNDZmMjVhNDM1MzhlMmNjNTJiMDM4NTg5MDc2YzY5MmY5NGE1ZjRhMWExNzdjZGYzMDk0MmY4MDFkYjIzZGQzMDYiLCJpYXQiOjE1OTk1Nzg0NTcsIm5iZiI6MTU5OTU3ODQ1NywiZXhwIjoxNTk5NTgyMDU1LCJzdWIiOiIxNiIsInNjb3BlcyI6W119.sVzP9KWpap6gJHCFdDKBRitbfWLcoJTPpmVNvq_4aS-uHGZSajMQQnYdrHQa1Se5HoTUThH4nsrm3HTCT02n6t1etNFAD5GiwiPITxn-OXvqAHqsi7dknbv-0KPZBl2ptGpd6wnTCHe-Fuv9EndqMP4YCivovVoMHxPpWPiHW6BeqBwbPgPuaXoujT5qnNTH-8RhrLBNC3T34NmwOcOwWhzNaMP0tQXmAW3d7B4P39-ka1ujS8jeSRsC9a2c9eeUHRd0Cu5LSlMM_w7CMWXeyzBj2csjm3f7EAAY2-bsW3Ks9Egby1w14zm_osQgsiGFA-8r0j1HcgYNp0Lia5bHib42G1zFoxlQ29lbui7su2N_288crOJtOQTm9g1FNww27-w-I66OrTNJGPIDTgD7qh1Ez4tNWuUitcchwqtHc5oL-LkfJ_SuCT606_2kIWjpIiAcAK9_F4uJrkHc87ivHByfr20ynahR1tYzZ09MXbPJTL_CcHx_IkdjhajrA2ZnvCKSBxu6K6OvZHOIDWhNfMeMn-znz4Kr1VybfQQAbtbxvSySGcWCH6sxLrRQ_8DmQNBOqypBq_9uvBhlNKRBeONxFBwIxL1kq1VTSBywPkwwX0ZxRviFZjWvm4G7ZjpXMSdNOyIzlfWiNTiybruq3JcmtAUtU9ue7MyGFFE82JE","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imei","value":"09089782394","type":"text"},{"key":"user_id","value":"e38cd2f0-f1e6-11ea-8e6a-cbe196d56b9f","type":"text"},{"key":"first_name","value":"makinde","type":"text"},{"key":"last_name","value":"abass","type":"text"},{"key":"phone","value":"09087576839","type":"text"},{"key":"access_code","value":"1090-6136-3702-4824","type":"text"}]},"url":"spectrumbooks.com/api/v2/register_user","description":"<p>Registers a user against an authenticated IMEI</p>\n","urlObject":{"path":["api","v2","register_user"],"host":["spectrumbooks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f13c72b8-ecd5-4853-8cf5-7beed2fa5cce"},{"name":"Fetch All Notifications","id":"cfa9c4f0-9286-4415-bcf6-21268880535c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","value":"application/json","type":"text"},{"key":"APP_KEY","value":"APP_KEY","type":"text"},{"key":"Authorization","value":"Bearer Token_generated","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imei","value":"09089782394","type":"text","disabled":true},{"key":"user_id","value":"ebbaa9b0-a5d9-11ea-b350-05b94f1019ed","type":"text","disabled":true},{"key":"first_name","value":"makinde","type":"text","disabled":true},{"key":"last_name","value":"abass","type":"text","disabled":true},{"key":"phone","value":"09087576839","type":"text","disabled":true},{"key":"access_code","value":"6853-9147-3890-9073","type":"text","disabled":true}]},"url":"127.0.0.1:8000/api/v1/notifications","description":"<p>This endpoint returns all notifications created by the admin. This endpoint uses a GET request and does not require any parameter. </p>\n","urlObject":{"port":"8000","path":["api","v1","notifications"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfa9c4f0-9286-4415-bcf6-21268880535c"}]}