Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Jul 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -354,7 +354,7 @@ __Body:__
    ```

    __Response:__
    ```
    ```json
    [
    {
    "ContactId":"FollowersContactId",
  2. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Jul 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -398,7 +398,7 @@ __Body:__

    __Response:__
    ```
    a contact id (needed for the invite!), `123312-af1341123-coolid`
    just a status, `200`
    ```


  3. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Jul 19, 2015. 1 changed file with 64 additions and 3 deletions.
    67 changes: 64 additions & 3 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    ### https://share1.dexcom.com/
    # List of Endpoints, payloads and responses used to communicate with Dexcoms Servers!
    * these are the calls used by the dexcom uploader app and some by the follower app
    # https://share1.dexcom.com/
    * these are the calls used by the dexcom uploader app
    * these are in no particular order!
    * `User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0`

    @@ -342,6 +341,67 @@ __Response:__
    ```



    ### List all Followers

    __POST__

    `/ShareWebServices/Services/Publisher/ListPublisherAccountSubscriptions?sessionId={YourSessionId}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    [
    {
    "ContactId":"FollowersContactId",
    "ContactName":"FollowersName",
    "DateTimeCreated":{
    "DateTime":"\/Date(1437101121008)\/",
    "OffsetMinutes":0
    },
    "DateTimeModified":{
    "DateTime":"\/Date(1437101121008)\/",
    "OffsetMinutes":0
    },
    "DisplayName":"YourDisplayName",
    "InviteExpires":{
    "DateTime":"\/Date(1437705921008)\/",
    "OffsetMinutes":0
    },
    "IsEnabled":false,
    "IsMonitoringSessionActive":true,
    "Permissions":1,
    "State":2,
    "SubscriberId":"00000000-0000-0000-0000-000000000000",
    "SubscriptionId":"theirSubscriptionIdIsuppose?"
    }
    ]
    ```
    note: maybe we can use this subscription id to send our own custom invites to
    followers


    ### Delete Follower

    __POST__

    `/ShareWebServices/Services/Publisher/DeleteContact?sessionId={YourSessionId}&contactId={followersContactId}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    a contact id (needed for the invite!), `123312-af1341123-coolid`
    ```


    ## Still undocumented but logged if you need info on it (Not adding it all here out of lazziness)
    - getting the image
    - getting the subscription display name
    @@ -381,3 +441,4 @@ curl -v \
    ```



  4. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Jul 17, 2015. 1 changed file with 153 additions and 2 deletions.
    155 changes: 153 additions & 2 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # https://share1.dexcom.com/
    * these are the calls used by the dexcom uploader app
    ### https://share1.dexcom.com/
    # List of Endpoints, payloads and responses used to communicate with Dexcoms Servers!
    * these are the calls used by the dexcom uploader app and some by the follower app
    * these are in no particular order!
    * `User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0`

    @@ -68,6 +69,43 @@ __Response:__



    ### Check if the Reciever is assigned to your account

    __POST__

    `/ShareWebServices/Services/Publisher/CheckMonitoredReceiverAssignmentStatus?sessionId={YourSessionId}&serialNumber={YourSerialNumber}/`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    `AssignedToYou` or `NotAssigned` (plaintext)
    ```



    ### Assign the reciever to you (If you got NotAssigned or something else)

    __POST__

    `/ShareWebServices/Services/Publisher/ReplacePublisherAccountMonitoredReceiver?sessionId={YourSessionId}&serialNumber={YourSerialNumber}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    No Idea, Someone please tell me, if you assign one to yourself that was
    already yours you get a 500 error
    ```



    ### Check remote monitoring session is valid

    __POST__
    @@ -206,6 +244,118 @@ __Response:__
    ]
    ```

    ## Invite Follower Related

    ### Check if someone is already a contact of yours

    __POST__

    `/ShareWebServices/Services/Publisher/DoesContactExistByName?sessionId={YourSessionId}&contactName={NameOfNewFollower}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    `true` or `false` (plaintext)
    ```



    ### Create a contact if they dont already exist

    __POST__

    `/ShareWebServices/Services/Publisher/CreateContact?sessionId={YourSessionId}&contactName={FollowerName}&emailAddress={FollowerEmail}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    a contact id (needed for the invite!), `123312-af1341123-coolid`
    ```



    ### Send the invite!!

    __POST__

    `/ShareWebServices/Services/Publisher/CreateSubscriptionInvitation?sessionId={YourSessionId}&contactId={ContactId}`

    __Body:__
    ```json
    {
    "AlertSettings":{
    "HighAlert":{
    "MinValue":200,
    "AlarmDelay":"PT1H",
    "AlertType":1,
    "IsEnabled":false,
    "RealarmDelay":"PT2H",
    "Sound":"High.wav",
    "MaxValue":401
    },
    "LowAlert":{
    "MinValue":39,
    "AlarmDelay":"PT30M",
    "AlertType":2,
    "IsEnabled":false,
    "RealarmDelay":"PT2H",
    "Sound":"Low.wav",
    "MaxValue":70
    },
    "FixedLowAlert":{
    "MinValue":39,
    "AlarmDelay":"PT0M",
    "AlertType":3,
    "IsEnabled":true,
    "RealarmDelay":"PT30M",
    "Sound":"UrgentLow.wav",
    "MaxValue":55
    },
    "NoDataAlert":{
    "MinValue":39,
    "AlarmDelay":"PT1H",
    "AlertType":4,
    "IsEnabled":false,
    "RealarmDelay":"PT0M",
    "Sound":"NoData.wav",
    "MaxValue":401
    }
    },
    "Permissions":1,
    "DisplayName":"{YourAccountDisplayName}"
    }
    ```
    Note that permissions 1 means they can view your graph data

    __Response:__
    ```
    a subscriber id for the person you invited! (Usefull for updating their
    subscription permissions and such) `793312-af1341123-coolid`
    ```


    ## Still undocumented but logged if you need info on it (Not adding it all here out of lazziness)
    - getting the image
    - getting the subscription display name
    - getting the subscription email address
    - reading the contact list
    - sending changes to the contacts Permissions
    - removing a contact
    - follower aknowledging alarms
    - follower reading invitation info
    - follower accepting invitation
    - follower updating runtimeInfo
    - folower listing all their subscriptions
    - read subscription alerts


    ## CURL examples for getting values from Dexcom

    @@ -230,3 +380,4 @@ curl -v \
    -X POST "https://share1.dexcom.com/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId=8c1234deb-323c-4e9d-8362-39cfa23499ed&minutes=1440&maxCount=1"
    ```


  5. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Apr 8, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -226,7 +226,7 @@ which you use to get values like
    ```
    curl -v \
    -H "Content-Length: 0" -H "Accept: application/json" \
    -H "User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0" \
    -H "User-Agent: Dexcom Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0" \
    -X POST "https://share1.dexcom.com/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId=8c1234deb-323c-4e9d-8362-39cfa23499ed&minutes=1440&maxCount=1"
    ```

  6. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Apr 8, 2015. 1 changed file with 45 additions and 1 deletion.
    46 changes: 45 additions & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,25 @@ __Response:__

    ## Session Related

    ### Login to a Publisher Account (Get a Session ID):

    __POST__

    `/ShareWebServices/Services/General/LoginPublisherAccountByName`

    __Body:__
    ```JSON
    {
    "accountName":"yourlogin",
    "applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password":"yourpassword"
    }
    ```

    __Response:__
    ```
    "e3e3e6a5-coolsessionid-bro”
    ```
    ### Authenticate Publisher Account (Get a Session ID):

    __POST__
    @@ -185,4 +204,29 @@ __Response:__
    "WT":"\/Date(1426769941000)\/"
    }
    ]
    ```
    ```


    ## CURL examples for getting values from Dexcom

    ```
    curl -v \
    -H "Accept: application/json" -H "Content-Type: application/json" \
    -H "User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0" \
    -X POST https://share1.dexcom.com/ShareWebServices/Services/General/LoginPublisherAccountByName \
    -d '{"accountName":"YOURLOGIN","applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password":"YOURPASSWORD"}'
    ```

    which should recieve a response like
    ```
    "8c1234deb-323c-4e9d-8362-39cfa23499ed"
    ```

    which you use to get values like
    ```
    curl -v \
    -H "Content-Length: 0" -H "Accept: application/json" \
    -H "User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0" \
    -X POST "https://share1.dexcom.com/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId=8c1234deb-323c-4e9d-8362-39cfa23499ed&minutes=1440&maxCount=1"
    ```

  7. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -160,7 +160,7 @@ __Response:__
    just a status, `200`
    ```

    _Not sure what ta is..._
    `ST` system time, `DT` display time, `TA` is a time offset, multiply by 1000 and subtract it from the time (so subtracting a negative in this example, which is really adding)


    ### Read BG Data
  8. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -36,9 +36,9 @@ __POST__
    __Body:__
    ```JSON
    {
    "accountName”:”yourlogin,
    applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password”:”yourpassword
    "accountName":"yourlogin",
    "applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password":"yourpassword"
    }
    ```

  9. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. No changes.
  10. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 81 additions and 69 deletions.
    150 changes: 81 additions & 69 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -3,78 +3,53 @@
    * these are in no particular order!
    * `User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0`

    ## Post session Data
    ## General

    __POST__

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`
    ### Read Dexcoms System time clock

    __Body:__
    ```JSON
    {
    "SN":"YourSerialNumber",
    "Egvs":[
    {
    "Trend":4,
    "ST":"\/Date(1426783106000)\/",
    "DT":"\/Date(1426754317000)\/",
    "Value":97
    }
    ],
    "TA":-14365
    }
    ```

    __Response:__
    ```
    just a status, `200`
    ```

    _Not sure what ta is..._


    ## Read Data

    __POST__
    __GET__

    `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`
    `/ShareWebServices/Services/General/SystemUtcTime`

    __Body:__
    ```
    none
    ```

    __Response:__
    __Body:__
    ```JSON
    [
    {
    "DT":"\/Date(1426780716000-0700)\/",
    "ST":"\/Date(1426784306000)\/",
    "Trend":4,
    "Value":99,
    "WT":"\/Date(1426769941000)\/"
    "DateTime":"\/Date(1426767421178)\/",
    "OffsetMinutes":0
    }
    ]
    ```

    ## Start remote monitoring session

    ## Session Related

    ### Authenticate Publisher Account (Get a Session ID):

    __POST__

    `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}`
    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`

    __Body:__
    ```
    none
    ```JSON
    {
    "accountName”:”yourlogin”,
    ”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password”:”yourpassword”
    }
    ```

    __Response:__
    ```
    just a status, `200`
    "e3e3e6a5-coolsessionid-bro”
    ```

    ## check if session status


    ### Check remote monitoring session is valid

    __POST__

    @@ -90,43 +65,45 @@ __Response:__
    `true` or `false` (plaintext)
    ```

    ## Stop a session


    ### Start remote monitoring session

    __POST__

    `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}`
    `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}`

    __Body:__
    ```
    none
    ```

    __Response:__
    __Response:__
    ```
    just a status, `200`
    ```

    ## Read Dexcoms System time clock

    __GET__

    `/ShareWebServices/Services/General/SystemUtcTime`
    ## Stop a remote monitoring session

    __POST__

    `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```JSON
    {
    "DateTime":"\/Date(1426767421178)\/",
    "OffsetMinutes":0
    }
    __Response:__
    ```
    just a status, `200`
    ```


    ## Update Publisher information (might be fun for sending them cute messages?)

    ### Update Publisher information (might be fun for sending them cute messages?)

    __POST__

    @@ -154,23 +131,58 @@ __Response:__
    just a status, `200`
    ```

    ## Data!

    ## Authenticate Publisher Account:
    ### Post BG Data

    __POST__

    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`
    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    __Body:__
    __Body:__
    ```JSON
    {
    "accountName”:”yourlogin”,
    ”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password”:”yourpassword”
    }
    {
    "SN":"YourSerialNumber",
    "Egvs":[
    {
    "Trend":4,
    "ST":"\/Date(1426783106000)\/",
    "DT":"\/Date(1426754317000)\/",
    "Value":97
    }
    ],
    "TA":-14365
    }
    ```

    __Response:__ in plaintext
    __Response:__
    ```
    "e3e3e6a5-coolsessionid-bro”
    just a status, `200`
    ```

    _Not sure what ta is..._


    ### Read BG Data

    __POST__

    `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`

    __Body:__
    ```
    none
    ```

    __Response:__
    ```JSON
    [
    {
    "DT":"\/Date(1426780716000-0700)\/",
    "ST":"\/Date(1426784306000)\/",
    "Trend":4,
    "Value":99,
    "WT":"\/Date(1426769941000)\/"
    }
    ]
    ```
  11. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 10 additions and 3 deletions.
    13 changes: 10 additions & 3 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -161,9 +161,16 @@ __POST__

    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`


    __Body:__
    `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
    ```JSON
    {
    "accountName”:”yourlogin”,
    ”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13",
    "password”:”yourpassword”
    }
    ```

    __Response:__ in plaintext
    `"e3e3e6a5-coolsessionid-bro”`
    ```
    "e3e3e6a5-coolsessionid-bro”
    ```
  12. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 49 additions and 73 deletions.
    122 changes: 49 additions & 73 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@

    ## Post session Data

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    @@ -35,7 +35,7 @@ _Not sure what ta is..._

    ## Read Data

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`

    @@ -60,128 +60,104 @@ __Body:__

    ## Start remote monitoring session

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __body:__
    __Body:__
    ```
    none
    ```

    __response:__
    __Response:__
    ```
    just a status, `200`

    ```

    ## check if session status

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/IsRemoteMonitoringSessionActive?sessionId={YourSessionId}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __body:__
    __Body:__
    ```
    none
    ```

    __response:__
    __Response:__
    ```
    `true` or `false` (plaintext)

    ```

    ## Stop a session

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__
    ```
    none
    ```

    __Response:__
    ```
    just a status, `200`

    ```

    ## Read Dexcoms System time clock

    GET
    __GET__

    `/ShareWebServices/Services/General/SystemUtcTime`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__
    ```
    none
    ```

    __Response:__
    `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`

    ```JSON
    {
    "DateTime":"\/Date(1426767421178)\/",
    "OffsetMinutes":0
    }
    ```


    ## Update Publisher information (might be fun for sending them cute messages?)

    POST
    __POST__

    `/ShareWebServices/Services/Publisher/UpdatePublisherAccountRuntimeInfo`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__
    `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`
    ```JSON
    {
    "sessionId":"YourSessionId",
    "runtimeInfo":
    {
    "DeviceManufacturer":"Apple",
    "DeviceModel":"iPhone5,2",
    "DeviceOsVersion":"7.0.2",
    "AppVersion":"3.0.2.11",
    "AppName":"DexcomShare",
    "AppNumber":"SW10569",
    "DeviceOsName":"iPhone OS"
    }
    }
    ```

    __Response:__
    ```
    just a status, `200`
    ```


    ## Authenticate Publisher Account:

    POST
    __POST__

    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`

  13. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 3 additions and 10 deletions.
    13 changes: 3 additions & 10 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -35,16 +35,9 @@ _Not sure what ta is..._

    ## Read Data

    POST `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`
    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Accept: application/json
    Content-Length: 0
    Connection: keep-alive
    Accept-Language: en-us
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0
    POST

    `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`

    __Body:__
    ```
  14. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. No changes.
  15. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 16 additions and 4 deletions.
    20 changes: 16 additions & 4 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -26,9 +26,9 @@ __Body:__
    ```

    __Response:__

    ```
    just a status, `200`

    ```

    _Not sure what ta is..._

    @@ -47,11 +47,23 @@ Accept-Language: en-us
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__
    ```
    none
    ```

    __Response:__
    `[{"DT":"\/Date(1426780716000-0700)\/","ST":"\/Date(1426784306000)\/","Trend":4,"Value":99,"WT":"\/Date(1426769941000)\/"}]`

    __Body:__
    ```JSON
    [
    {
    "DT":"\/Date(1426780716000-0700)\/",
    "ST":"\/Date(1426784306000)\/",
    "Trend":4,
    "Value":99,
    "WT":"\/Date(1426769941000)\/"
    }
    ]
    ```

    ## Start remote monitoring session

  16. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,18 @@ POST

    __Body:__
    ```JSON
    {"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}
    {
    "SN":"YourSerialNumber",
    "Egvs":[
    {
    "Trend":4,
    "ST":"\/Date(1426783106000)\/",
    "DT":"\/Date(1426754317000)\/",
    "Value":97
    }
    ],
    "TA":-14365
    }
    ```

    __Response:__
  17. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -10,8 +10,9 @@ POST
    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    __Body:__

    ```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```
    ```JSON
    {"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}
    ```

    __Response:__

  18. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ POST

    __Body:__

    ```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```
    ```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```

    __Response:__

  19. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,7 @@ POST
    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    __Body:__

    ```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```

    __Response:__
  20. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,8 @@ POST

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    __Body:__```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```
    __Body:__
    ```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```

    __Response:__

  21. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -9,9 +9,7 @@ POST

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    __Body:__

    `{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`
    __Body:__```{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}```

    __Response:__

  22. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 3 additions and 19 deletions.
    22 changes: 3 additions & 19 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -1,27 +1,20 @@
    # https://share1.dexcom.com/
    * these are the calls used by the dexcom uploader app
    * these are in no particular order!
    * `User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0`

    ## Post session Data

    POST

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    * Host share1.dexcom.com
    * Proxy-Connection keep-alive
    * Accept-Encoding gzip, deflate
    * Content-Type application/json
    * Content-Length 125
    * Accept-Language en-us
    * Accept application/json
    * Connection keep-alive
    * User-Agent Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0\

    __Body:__

    `{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`

    __Response:__

    just a status, `200`


    @@ -175,15 +168,6 @@ POST

    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`

    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__
    `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
  23. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 9 additions and 10 deletions.
    19 changes: 9 additions & 10 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -8,16 +8,15 @@ POST

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    HTTP/1.1
    Host share1.dexcom.com
    Proxy-Connection keep-alive
    Accept-Encoding gzip, deflate
    Content-Type application/json
    Content-Length 125
    Accept-Language en-us
    Accept application/json
    Connection keep-alive
    User-Agent Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0\
    * Host share1.dexcom.com
    * Proxy-Connection keep-alive
    * Accept-Encoding gzip, deflate
    * Content-Type application/json
    * Content-Length 125
    * Accept-Language en-us
    * Accept application/json
    * Connection keep-alive
    * User-Agent Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0\

    __Body:__
    `{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`
  24. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 72 additions and 23 deletions.
    95 changes: 72 additions & 23 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,11 @@

    ## Post session Data

    POST `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}` HTTP/1.1
    POST

    `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}`

    HTTP/1.1
    Host share1.dexcom.com
    Proxy-Connection keep-alive
    Accept-Encoding gzip, deflate
    @@ -15,8 +19,13 @@ Accept application/json
    Connection keep-alive
    User-Agent Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0\

    Body:`{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`
    Response: just a status, `200`
    __Body:__
    `{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`

    __Response:__
    just a status, `200`


    _Not sure what ta is..._


    @@ -33,13 +42,20 @@ Connection: keep-alive
    Accept-Language: en-us
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    Body: none
    Response: `[{"DT":"\/Date(1426780716000-0700)\/","ST":"\/Date(1426784306000)\/","Trend":4,"Value":99,"WT":"\/Date(1426769941000)\/"}]`
    __Body:__
    none

    __Response:__
    `[{"DT":"\/Date(1426780716000-0700)\/","ST":"\/Date(1426784306000)\/","Trend":4,"Value":99,"WT":"\/Date(1426769941000)\/"}]`


    ## Start remote monitoring session

    POST `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}` HTTP/1.1
    POST

    `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -50,14 +66,20 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __body:__ none
    __body:__
    none

    __response:__ just a status, `200`
    __response:__
    just a status, `200`


    ## check if session status

    POST `/ShareWebServices/Services/Publisher/IsRemoteMonitoringSessionActive?sessionId={YourSessionId}` HTTP/1.1
    POST

    `/ShareWebServices/Services/Publisher/IsRemoteMonitoringSessionActive?sessionId={YourSessionId}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -68,14 +90,20 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __body:__ none
    __body:__
    none

    __response:__ `true` or `false` (plaintext)
    __response:__
    `true` or `false` (plaintext)


    ## Stop a session

    POST `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}` HTTP/1.1
    POST

    `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -86,13 +114,20 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    Body: none
    Response: just a status, `200`
    __Body:__
    none

    __Response:__
    just a status, `200`


    ## Read Dexcoms System time clock

    GET `/ShareWebServices/Services/General/SystemUtcTime` HTTP/1.1
    GET

    `/ShareWebServices/Services/General/SystemUtcTime`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -103,15 +138,21 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__ none
    __Body:__
    none

    __Response:__ `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`
    __Response:__
    `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`



    ## Update Publisher information (might be fun for sending them cute messages?)

    POST `/ShareWebServices/Services/Publisher/UpdatePublisherAccountRuntimeInfo` HTTP/1.1
    POST

    `/ShareWebServices/Services/Publisher/UpdatePublisherAccountRuntimeInfo`

    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -122,14 +163,19 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__ `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`
    __Body:__
    `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`

    __Response:__ just a status, `200`
    __Response:__
    just a status, `200`


    ## Authenticate Publisher Account:

    POST `/ShareWebServices/Services/General/AuthenticatePublisherAccount` HTTP/1.1
    POST

    `/ShareWebServices/Services/General/AuthenticatePublisherAccount`

    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    @@ -140,5 +186,8 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    __Body:__ `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
    __Response:__ in plaintext `"e3e3e6a5-coolsessionid-bro”`
    __Body:__
    `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`

    __Response:__ in plaintext
    `"e3e3e6a5-coolsessionid-bro”`
  25. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken revised this gist Mar 19, 2015. 1 changed file with 14 additions and 10 deletions.
    24 changes: 14 additions & 10 deletions share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -50,8 +50,9 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _body:_ none
    _response:_ just a status, `200`
    __body:__ none

    __response:__ just a status, `200`


    ## check if session status
    @@ -67,8 +68,9 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _body:_ none
    _response:_ `true` or `false` (plaintext)
    __body:__ none

    __response:__ `true` or `false` (plaintext)


    ## Stop a session
    @@ -101,8 +103,9 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ none
    _Response:_ `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`
    __Body:__ none

    __Response:__ `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`



    @@ -119,8 +122,9 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`
    _Response:_ just a status, `200`
    __Body:__ `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`

    __Response:__ just a status, `200`


    ## Authenticate Publisher Account:
    @@ -136,5 +140,5 @@ Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
    _Response:_ in plaintext `"e3e3e6a5-coolsessionid-bro”`
    __Body:__ `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
    __Response:__ in plaintext `"e3e3e6a5-coolsessionid-bro”`
  26. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken renamed this gist Mar 19, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion share_send_app_endpoints → share_send_app_endpoints.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@

    # https://share1.dexcom.com/
    * these are the calls used by the dexcom uploader app
    * these are in no particular order!
  27. @StephenBlackWasAlreadyTaken StephenBlackWasAlreadyTaken created this gist Mar 19, 2015.
    141 changes: 141 additions & 0 deletions share_send_app_endpoints
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,141 @@

    # https://share1.dexcom.com/
    * these are the calls used by the dexcom uploader app
    * these are in no particular order!

    ## Post session Data

    POST `/ShareWebServices/Services/Publisher/PostReceiverEgvRecords?sessionId={yourSessionId}` HTTP/1.1
    Host share1.dexcom.com
    Proxy-Connection keep-alive
    Accept-Encoding gzip, deflate
    Content-Type application/json
    Content-Length 125
    Accept-Language en-us
    Accept application/json
    Connection keep-alive
    User-Agent Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0\

    Body:`{"SN":"YourSerialNumber","Egvs":[{"Trend":4,"ST":"\/Date(1426783106000)\/","DT":"\/Date(1426754317000)\/","Value":97}],"TA":-14365}`
    Response: just a status, `200`
    _Not sure what ta is..._


    ## Read Data

    POST `/ShareWebServices/Services/Publisher/ReadPublisherLatestGlucoseValues?sessionId={YourSessionId}&minutes=1440&maxCount=1`
    HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Accept: application/json
    Content-Length: 0
    Connection: keep-alive
    Accept-Language: en-us
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    Body: none
    Response: `[{"DT":"\/Date(1426780716000-0700)\/","ST":"\/Date(1426784306000)\/","Trend":4,"Value":99,"WT":"\/Date(1426769941000)\/"}]`


    ## Start remote monitoring session

    POST `/ShareWebServices/Services/Publisher/StartRemoteMonitoringSession?sessionId={yoursessionid}&serialNumber={YourdexcomSerialNumber}` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _body:_ none
    _response:_ just a status, `200`


    ## check if session status

    POST `/ShareWebServices/Services/Publisher/IsRemoteMonitoringSessionActive?sessionId={YourSessionId}` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _body:_ none
    _response:_ `true` or `false` (plaintext)


    ## Stop a session

    POST `/ShareWebServices/Services/Publisher/StopRemoteMonitoringSession?sessionId={YourSessionId}` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    Body: none
    Response: just a status, `200`


    ## Read Dexcoms System time clock

    GET `/ShareWebServices/Services/General/SystemUtcTime` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ none
    _Response:_ `{"DateTime":"\/Date(1426767421178)\/","OffsetMinutes":0}`



    ## Update Publisher information (might be fun for sending them cute messages?)

    POST `/ShareWebServices/Services/Publisher/UpdatePublisherAccountRuntimeInfo` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ `{"sessionId":"fe9e49df-7064-4e13-a348-39cf44439e57","runtimeInfo":{"DeviceManufacturer":"Apple","DeviceModel":"iPhone5,2","DeviceOsVersion":"7.0.2","AppVersion":"3.0.2.11","AppName":"DexcomShare","AppNumber":"SW10569","DeviceOsName":"iPhone OS"}}`
    _Response:_ just a status, `200`


    ## Authenticate Publisher Account:

    POST `/ShareWebServices/Services/General/AuthenticatePublisherAccount` HTTP/1.1
    Host: share1.dexcom.com
    Proxy-Connection: keep-alive
    Accept-Encoding: gzip, deflate
    Content-Type: application/json
    Content-Length: 107
    Accept-Language: en-us
    Accept: application/json
    Connection: keep-alive
    User-Agent: Dexcom%20Share/3.0.2.11 CFNetwork/672.0.2 Darwin/14.0.0

    _Body:_ `{"accountName”:”yourlogin”,”applicationId":"d8665ade-9673-4e27-9ff6-92db4ce13d13","password”:”yourpassword”}`
    _Response:_ in plaintext `"e3e3e6a5-coolsessionid-bro”`