Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added response codes for POST, PUT and DELETE type resources as they are now. They all respond with 204 though, that needs fixing

...

Code Block
languagenone
http://demo.eveoh.nl/api/v0/subscriptions/XXXXXXXXXXXXXXXX2011!pos!0F2C927DF37F3A2BEF1F1713768E4EE6?access_token=your_token

Response code: 204 (No content)

 

Type: DELETE

Description: Delete a subscription.

...

Code Block
languagenone
http://demo.eveoh.nl/api/v0/subscriptions/XXXXXXXXXXXXXXXX2011!pos!0F2C927DF37F3A2BEF1F1713768E4EE6?access_token=your_token

 Response code: 204 (No content)


Type: PUT

Description: Edit a subscription.  Use boolean values to trigger the subscription on or off.

Parameters

keythe key of the subscription you wish to edit
stateboolean value indicating the state of the subscription

...

Code Block
languagenone
http://demo.eveoh.nl/api/v0/subscriptions/XXXXXXXXXXXXXXXX?2011!pos!0F2C927DF37F3A2BEF1F1713768E4EE6?state=false&access_token=your_token

Response Code: 204 (No content)

/subscriptions/{parent}/{key}

Type: PUT

Description: Edit a subscription nested under a parent. Use boolean values to trigger the subscription on or off.

Parameters

keythe key of the subscription you wish to edit
parentthe key of the parent of the subscription
stateboolean value indicating the state of the subscription

...

Code Block
languagenone
http://demo.eveoh.nl/api/v0/subscriptions/XXXXXXXXXXXXXX/XXXXXXXXXXXXXXXX?2011!location!D2D0C6A8E334B242289FBAA7F69759C3/2011!module!49CBD432F01E8C5057B344E02604A773?state=false&access_token=your_token

Response Code: 204 (No content)