{"action":"created","issue":{"url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/67","repository_url":"https://api.github.com/repos/FlintHill/SUAS-Competition","labels_url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/67/comments","events_url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/67/events","html_url":"https://github.com/FlintHill/SUAS-Competition/issues/67","id":265421212,"number":67,"title":"Expand GCS Script Server-side Flask Program Control","user":{"login":"GGJesus","id":6162516,"avatar_url":"https://avatars3.githubusercontent.com/u/6162516?v=4","gravatar_id":"","url":"https://api.github.com/users/GGJesus","html_url":"https://github.com/GGJesus","followers_url":"https://api.github.com/users/GGJesus/followers","following_url":"https://api.github.com/users/GGJesus/following{/other_user}","gists_url":"https://api.github.com/users/GGJesus/gists{/gist_id}","starred_url":"https://api.github.com/users/GGJesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGJesus/subscriptions","organizations_url":"https://api.github.com/users/GGJesus/orgs","repos_url":"https://api.github.com/users/GGJesus/repos","events_url":"https://api.github.com/users/GGJesus/events{/privacy}","received_events_url":"https://api.github.com/users/GGJesus/received_events","type":"User","site_admin":false},"labels":[{"id":205212570,"url":"https://api.github.com/repos/FlintHill/SUAS-Competition/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"DarkmatterVale","id":6094957,"avatar_url":"https://avatars1.githubusercontent.com/u/6094957?v=4","gravatar_id":"","url":"https://api.github.com/users/DarkmatterVale","html_url":"https://github.com/DarkmatterVale","followers_url":"https://api.github.com/users/DarkmatterVale/followers","following_url":"https://api.github.com/users/DarkmatterVale/following{/other_user}","gists_url":"https://api.github.com/users/DarkmatterVale/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkmatterVale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkmatterVale/subscriptions","organizations_url":"https://api.github.com/users/DarkmatterVale/orgs","repos_url":"https://api.github.com/users/DarkmatterVale/repos","events_url":"https://api.github.com/users/DarkmatterVale/events{/privacy}","received_events_url":"https://api.github.com/users/DarkmatterVale/received_events","type":"User","site_admin":false},"assignees":[{"login":"DarkmatterVale","id":6094957,"avatar_url":"https://avatars1.githubusercontent.com/u/6094957?v=4","gravatar_id":"","url":"https://api.github.com/users/DarkmatterVale","html_url":"https://github.com/DarkmatterVale","followers_url":"https://api.github.com/users/DarkmatterVale/followers","following_url":"https://api.github.com/users/DarkmatterVale/following{/other_user}","gists_url":"https://api.github.com/users/DarkmatterVale/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkmatterVale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkmatterVale/subscriptions","organizations_url":"https://api.github.com/users/DarkmatterVale/orgs","repos_url":"https://api.github.com/users/DarkmatterVale/repos","events_url":"https://api.github.com/users/DarkmatterVale/events{/privacy}","received_events_url":"https://api.github.com/users/DarkmatterVale/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-10-13T21:15:59Z","updated_at":"2017-10-16T15:30:30Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Summary**\r\n\r\nExpand, create, or modify existing URL post paths.\r\n\r\n**Purpose**\r\n\r\nTo make the Control Panel part of the GCS dashboard UI functional.\r\n\r\n**Specifics**\r\n\r\nThese URL paths in the Flask app need to be created with the following paths and responses:\r\n\r\n| # | URL Path                | Abstract                                | Response Example                         |   |\r\n|---|-------------------------|-----------------------------------------|------------------------------------------|---|\r\n| 1 | `/post/sda/<string>`      | Enables/disable SDA                     | {\"status\": \"success/failure\"}            |   |\r\n| 2 | `/post/img_proc/<string>` | Enables/disable Image Processing        | {\"status\": \"success/failure\"}            |   |\r\n| 3 | `/post/interop/<string>`  | Enables/disable the Interop. connection | {\"status\": \"success/failure\"}            |   |\r\n| 4 | `/get/imgs`              | Returns a JSON array of URLs of imgs    | {2: \".DS_Store\", 3: \"04200534.jpg\", ...} |   |"},"comment":{"url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/comments/336924121","html_url":"https://github.com/FlintHill/SUAS-Competition/issues/67#issuecomment-336924121","issue_url":"https://api.github.com/repos/FlintHill/SUAS-Competition/issues/67","id":336924121,"user":{"login":"GGJesus","id":6162516,"avatar_url":"https://avatars3.githubusercontent.com/u/6162516?v=4","gravatar_id":"","url":"https://api.github.com/users/GGJesus","html_url":"https://github.com/GGJesus","followers_url":"https://api.github.com/users/GGJesus/followers","following_url":"https://api.github.com/users/GGJesus/following{/other_user}","gists_url":"https://api.github.com/users/GGJesus/gists{/gist_id}","starred_url":"https://api.github.com/users/GGJesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGJesus/subscriptions","organizations_url":"https://api.github.com/users/GGJesus/orgs","repos_url":"https://api.github.com/users/GGJesus/repos","events_url":"https://api.github.com/users/GGJesus/events{/privacy}","received_events_url":"https://api.github.com/users/GGJesus/received_events","type":"User","site_admin":false},"created_at":"2017-10-16T15:30:30Z","updated_at":"2017-10-16T15:30:30Z","author_association":"COLLABORATOR","body":"**In response to your first point:**\r\n\r\nSorry, my bad, I should've indicated that the code in [flask_gcs.py](https://github.com/FlintHill/SUAS-Competition/blob/master/scripts/gcs/flask_gcs.py) already meets the first two listings in the specification at the top of this issue.\r\n\r\n**In response to your second point:**\r\n\r\nMy thinking was that, for consistency, we have all three panes in the control panel be controlled by a on/off button, seen here:\r\n\r\n![screen shot 2017-10-16 at 11 27 40 am](https://user-images.githubusercontent.com/6162516/31620394-26f29438-b265-11e7-89e2-612e3158169e.png)\r\n\r\nHowever, if you want to remove the on/off button and API endpoint for the Interop. connection, that's perfectly fine. I'll leave it up to you on whether or not you want to have the on/off option.\r\n\r\nIn the meantime, I'll keep this issue open."}}
{"actor":{"display_login":"GGJesus"}}