Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4 from Keen-github/master

Description file for Redmine REST API was added
  • Loading branch information...
commit 19cb198d70a6db06156ef7c57c3938bd6d9394d9 2 parents 5deab0a + 7a7c269
@ngrunwald ngrunwald authored
Showing with 360 additions and 0 deletions.
  1. +360 −0 apps/redmine.json
View
360 apps/redmine.json
@@ -0,0 +1,360 @@
+{
+ "name" : "Redmine API",
+ "authority" : "GITHUB:Keen-github",
+ "formats" : [
+ "json",
+ "xml"
+ ],
+ "version" : "0.1",
+
+ "methods" :{
+ "list_issues" : {
+ "path" : "/issues.:format",
+ "required_params" : [
+ "format"
+ ],
+ "optional_params" : [
+ "offset",
+ "limit",
+ "page",
+ "project_id",
+ "tracker_id",
+ "status_id",
+ "cf_XXX"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_issue" : {
+ "path" : "/issues/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_issue" : {
+ "path" : "/issues.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "POST",
+ "required_payload": true,
+ "authentication" : true
+ },
+
+ "update_issue" : {
+ "path" : "/issues/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "PUT",
+ "required_payload": true,
+ "authentication" : true
+ },
+
+ "delete_issue" : {
+ "path" : "/issues/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true
+ },
+
+ "list_projects" : {
+ "path" : "/projects.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_project" : {
+ "path" : "/projects/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_project" : {
+ "path" : "/projects.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "POST",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [201, 422]
+ },
+
+ "update_project" : {
+ "path" : "/projects/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "PUT",
+ "required_payload": true,
+ "authentication" : true
+ },
+
+ "delete_project" : {
+ "path" : "/projects/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true
+ },
+
+ "list_users" : {
+ "path" : "/users.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_user" : {
+ "path" : "/users/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_current_user" : {
+ "path" : "/users/current.:format",
+ "required_params" : [
+ "format"
+ ],
+ "optional_params" : [
+ "include"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_user" : {
+ "path" : "/users.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "POST",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [201, 422]
+ },
+
+ "update_user" : {
+ "path" : "/users/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "PUT",
+ "required_payload": true,
+ "authentication" : true
+ },
+
+ "delete_user" : {
+ "path" : "/users/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true,
+ "expected_status": [200]
+ },
+
+ "list_time_entries" : {
+ "path" : "/time_entries.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_time_entry" : {
+ "path" : "/time_entries/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_time_entries" : {
+ "path" : "/time_entries.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "POST",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [201, 422]
+ },
+
+ "update_time_entries" : {
+ "path" : "/time_entries/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "PUT",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [200, 422]
+ },
+
+ "delete_time_entry" : {
+ "path" : "/time_entries/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true
+ },
+
+ "list_issue_relations" : {
+ "path" : "/issues/:issue_id/relations.:format",
+ "required_params" : [
+ "issue_id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_issue_relation" : {
+ "path" : "/relations/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_issue_relation" : {
+ "path" : "/issues/:issue_id/relations.:format",
+ "required_params" : [
+ "issue_id",
+ "format"
+ ],
+ "method" : "POST",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [201, 422]
+ },
+
+ "delete_issue_relation" : {
+ "path" : "/relations/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true,
+ "expected_status": [200, 422]
+ },
+
+ "list_versions" : {
+ "path" : "/projects/:project_id/versions.:format",
+ "required_params" : [
+ "project_id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "get_version" : {
+ "path" : "/versions/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ },
+
+ "create_version" : {
+ "path" : "/projects/:project_id/versions.:format",
+ "required_params" : [
+ "project_id",
+ "format"
+ ],
+ "method" : "POST",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [201, 422]
+ },
+
+ "update_version" : {
+ "path" : "/versions/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "PUT",
+ "authentication" : true,
+ "required_payload": true,
+ "expected_status": [200, 422]
+ },
+
+ "delete_version" : {
+ "path" : "/versions/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "DELETE",
+ "authentication" : true
+ },
+
+ "list_queries" : {
+ "path" : "/queries.:format",
+ "required_params" : [
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true,
+ "expected_status": [200, 422]
+ },
+
+ "get_attachment" : {
+ "path" : "/attachments/:id.:format",
+ "required_params" : [
+ "id",
+ "format"
+ ],
+ "method" : "GET",
+ "authentication" : true
+ }
+ },
+
+ "meta" : {
+ "documentation" : "http://www.redmine.org/projects/redmine/wiki/Rest_api",
+ "authors" : "LogicEditor.com: Valeriy Skurikhin"
+ }
+
+}
Please sign in to comment.
Something went wrong with that request. Please try again.