From a74cebf3fd5ff1d625fc83c4dadd61abc818ac9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Fri, 17 Jun 2011 22:03:43 +0200 Subject: Add myintervals service. --- services/Makefile | 1 + services/intervals.json | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 services/intervals.json diff --git a/services/Makefile b/services/Makefile index eb54875..c503578 100644 --- a/services/Makefile +++ b/services/Makefile @@ -16,6 +16,7 @@ check: spore_validation.rx @$(VALIDATOR) ihackernews.json @$(VALIDATOR) ohloh.json @$(VALIDATOR) twitter.json + @$(VALIDATOR) intervals.json test: check 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] + } + } +} -- cgit v1.2.3 From 4a658b6bcb8d92872c4b168275cc4ee1e230bf86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Fri, 17 Jun 2011 22:04:06 +0200 Subject: Fix path to validator. --- apps/Makefile | 2 +- services/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/Makefile b/apps/Makefile index 52a1661..b6c4a3f 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -10,7 +10,7 @@ check: spore_validation.rx 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: \ couchdb.png \ diff --git a/services/Makefile b/services/Makefile index c503578..a5a60b2 100644 --- a/services/Makefile +++ b/services/Makefile @@ -21,7 +21,7 @@ check: spore_validation.rx 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 \ -- cgit v1.2.3 From b15d0776790e1d4b679965d819bf858e60943f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Fri, 17 Jun 2011 22:10:23 +0200 Subject: Add png of intervals and indextank api. --- services/Makefile | 2 ++ services/indextank.png | Bin 0 -> 32566 bytes services/intervals.png | Bin 0 -> 34473 bytes 3 files changed, 2 insertions(+) create mode 100644 services/indextank.png create mode 100644 services/intervals.png diff --git a/services/Makefile b/services/Makefile index a5a60b2..0ad6339 100644 --- a/services/Makefile +++ b/services/Makefile @@ -35,6 +35,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 Binary files /dev/null and b/services/indextank.png differ diff --git a/services/intervals.png b/services/intervals.png new file mode 100644 index 0000000..e7e6084 Binary files /dev/null and b/services/intervals.png differ -- cgit v1.2.3