Destroyed REST Timezone API (markdown)

Georg Ehrke 2015-12-19 23:42:25 +01:00
Родитель a90a812fba
Коммит 9617da07b7
1 изменённых файлов: 0 добавлений и 98 удалений

@ -1,98 +0,0 @@
OBSOLETE - WILL BE REMOVED
==========================
The json timezone api provides you with information about olsen timezones.
Calls:
- Get all timezones: ```GET /v1/timezones``` (possible, but takes a lot of time)
- Get list of all timezones: ```GET /v1/timezones-list```
- Get one timezone ```GET /v1/timezones/{timezoneId}```
Creating, modifying or deleting timezones is not supported!
Structure of data:
```json
[ "vcalendar",
[ ],
[ [ "vtimezone",
[ [ "tzid",
{ },
"text",
"Europe/Berlin"
],
[ "x-lic-location",
{ },
"unknown",
"Europe/Berlin"
]
],
[ [ "daylight",
[ [ "tzoffsetfrom",
{ },
"utc-offset",
"+0100"
],
[ "tzoffsetto",
{ },
"utc-offset",
"+0200"
],
[ "tzname",
{ },
"text",
"CEST"
],
[ "dtstart",
{ },
"date-time",
"1970-03-29T02:00:00Z"
],
[ "rrule",
{ },
"recur",
{ "byday" : "-1SU",
"bymonth" : "3",
"freq" : "YEARLY"
}
]
],
[ ]
],
[ "standard",
[ [ "tzoffsetfrom",
{ },
"utc-offset",
"+0200"
],
[ "tzoffsetto",
{ },
"utc-offset",
"+0100"
],
[ "tzname",
{ },
"text",
"CET"
],
[ "dtstart",
{ },
"date-time",
"1970-10-25T03:00:00Z"
],
[ "rrule",
{ },
"recur",
{ "byday" : "-1SU",
"bymonth" : "10",
"freq" : "YEARLY"
}
]
],
[ ]
]
]
] ]
]
```
The timezone api uses [the jcal format](http://tools.ietf.org/html/draft-ietf-jcardcal-jcal-10)