Skip to content

Commit

Permalink
Add myintervals service.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Jun 17, 2011
1 parent 9b165d3 commit a74cebf
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/Makefile
Expand Up @@ -16,6 +16,7 @@ check: spore_validation.rx
@$(VALIDATOR) ihackernews.json
@$(VALIDATOR) ohloh.json
@$(VALIDATOR) twitter.json
@$(VALIDATOR) intervals.json

test: check

Expand Down
63 changes: 63 additions & 0 deletions 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]
}
}
}

0 comments on commit a74cebf

Please sign in to comment.