Created
January 26, 2009 03:25
-
-
Save lukfugl/52683 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 /YYYY/MM/DD/HH/layer -- returns label text for slot+layer | |
GET /YYYY/MM/DD/HH -- returns yaml/json hash of layer:label | |
GET /YYYY/MM/DD/layer -- returns yaml/json list of labels for the slots+layer | |
GET /YYYY/MM/DD -- returns yaml/json list of hashes of layer:label | |
PUT /YYYY/MM/DD/HH/layer -- sets label text for slot+layer (one-time) | |
PUT /YYYY/MM/DD/HH/layer/recurring -- sets label text for slot+layer (recurring, starting at date) | |
DELETE /YYYY/MM/DD/HH/layer -- clears label text for slot+layer (one-time) | |
DELETE /YYYY/MM/DD/HH/layer/recurring -- clears label text for slot+layer (recurring, starting at date) | |
Note: DELETE /YYYY/MM/DD/HH/layer/recurring doesn't "end" a recurring label that started in a previous week. to do that, PUT /YYYY/MM/DD/HH/layer/recurring for the new date and it will override the recurring event for the old date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment