summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/Makefile5
-rw-r--r--services/indextank.pngbin0 -> 32566 bytes
-rw-r--r--services/intervals.json63
-rw-r--r--services/intervals.pngbin0 -> 34473 bytes
4 files changed, 67 insertions, 1 deletions
diff --git a/services/Makefile b/services/Makefile
index 10a704f..93e1298 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -17,11 +17,12 @@ check: spore_validation.rx
@$(VALIDATOR) ihackernews.json
@$(VALIDATOR) ohloh.json
@$(VALIDATOR) twitter.json
+ @$(VALIDATOR) intervals.json
test: check
spore_validation.rx:
- wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx
+ wget http://raw.github.com/SPORE/specifications/master/spore_validation.rx
png: \
amazons3.png \
@@ -35,6 +36,8 @@ png: \
googletranslate.png \
ihackernews.png \
ohloh.png \
+ intervals.png \
+ indextank.png \
twitter.png
@make -C github png
@make -C googlemaps png
diff --git a/services/indextank.png b/services/indextank.png
new file mode 100644
index 0000000..4884a7d
--- /dev/null
+++ b/services/indextank.png
Binary files differ
diff --git a/services/intervals.json b/services/intervals.json
new file mode 100644
index 0000000..f8e3aed
--- /dev/null
+++ b/services/intervals.json
@@ -0,0 +1,63 @@
+{
+ "name" : "Intervals",
+ "base_url" : "https://api.myintervals.com",
+ "version" : "0.1",
+ "formats" : ["json", "xml"],
+ "authentication": true,
+ "unattended_params": false,
+ "meta" : {
+ "documentation" : "http://www.myintervals.com/api/"
+ },
+
+ "methods": {
+ "me": {
+ "path": "/me",
+ "method": "GET"
+ },
+ "client": {
+ "path": "/client/",
+ "method": "GET",
+ "optional_params": ["active", "search", "projectsonly",
+ "offset", "limit"]
+ },
+ "project": {
+ "path": "/project/",
+ "method": "GET",
+ "optional_params": ["clientid", "managerid", "name",
+ "datestart", "dateend", "search",
+ "active", "billable", "personid",
+ "offset", "limit"]
+ },
+ "worktype": {
+ "path": "/worktype/",
+ "method": "GET",
+ "optional_params": ["active", "offset", "limit"]
+ },
+ "project_worktype": {
+ "path": "/projectworktype/",
+ "method": "GET",
+ "required_params": ["projectid"],
+ "optional_params": ["active", "personid", "offset", "limit"]
+ },
+ "project_module": {
+ "path": "/projectmodule/",
+ "method": "GET",
+ "required_params": ["projectid"],
+ "optional_params": ["active", "personid",
+ "offset", "limit"]
+ },
+ "time": {
+ "path": "/time/",
+ "method": "GET",
+ "optional_params": ["activeonly", "moduleid", "taskid", "worktypeid",
+ "personid", "clientid", "projectid", "milestoneid",
+ "date", "datebegin", "dateend", "billable", "sortfield",
+ "sortdir", "offset", "limit"]
+ },
+ "add_time": {
+ "path": "/time/",
+ "method": "POST",
+ "expected_status": [201]
+ }
+ }
+}
diff --git a/services/intervals.png b/services/intervals.png
new file mode 100644
index 0000000..e7e6084
--- /dev/null
+++ b/services/intervals.png
Binary files differ