forked from silvrwolfboy/orgmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2b261b
commit c175671
Showing
9 changed files
with
602 additions
and
626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,205 +1,188 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Orgmanager API", | ||
"version": "", | ||
"description": "The Orgmanager API allows you to integrate Orgmanager with other applications and projects.\n\n## Getting your token\n\nTo get your API token, go to the developers page of your orgmanager installation (http://orgmanager-installation.com/developers)" | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Orgmanager API", | ||
"version": "", | ||
"description": | ||
"The Orgmanager API allows you to integrate Orgmanager with other applications and projects.\n\n## Getting your token\n\nTo get your API token, go to the developers page of your orgmanager installation (http://orgmanager-installation.com/developers)" | ||
}, | ||
"host": "orgmanager.miguelpiedrafita.com", | ||
"basePath": "/api", | ||
"schemes": ["https"], | ||
"paths": { | ||
"/user": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Miguel Piedrafita", | ||
"email": "[email protected]", | ||
"github_username": "m1guelpf", | ||
"created_at": "2017-01-25 18:44:32", | ||
"updated_at": "2017-02-16 19:40:50" | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Get user info", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["application/json"] | ||
} | ||
}, | ||
"host": "orgmanager.miguelpiedrafita.com", | ||
"basePath": "/api", | ||
"schemes": [ | ||
"https" | ||
], | ||
"paths": { | ||
"/user": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Miguel Piedrafita", | ||
"email": "[email protected]", | ||
"github_username": "m1guelpf", | ||
"created_at": "2017-01-25 18:44:32", | ||
"updated_at": "2017-02-16 19:40:50" | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Get user info", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"application/json" | ||
] | ||
"/user/orgs": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Organization", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://miguelpiedrafita.com/logo.png", | ||
"invitecount": 100 | ||
} | ||
} | ||
} | ||
}, | ||
"/user/orgs": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Organization", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://miguelpiedrafita.com/logo.png", | ||
"invitecount": 100 | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Get user organizations", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"application/json" | ||
] | ||
"summary": "Get user organizations", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["application/json"] | ||
} | ||
}, | ||
"/org/[id]": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Org", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://avatars.githubusercontent.com/1", | ||
"invitecount": 0 | ||
} | ||
} | ||
} | ||
}, | ||
"/org/[id]": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Org", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://avatars.githubusercontent.com/1", | ||
"invitecount": 0 | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Get organization info", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"application/json" | ||
] | ||
}, | ||
"post": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Org", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://avatars.githubusercontent.com/1", | ||
"invitecount": 0, | ||
"password": "{newpassword}" | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Change organization password", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"application/json" | ||
] | ||
}, | ||
"put": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
}, | ||
"summary": "Update organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"text/html; charset=UTF-8" | ||
] | ||
}, | ||
"delete": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
}, | ||
"summary": "Delete organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"text/html; charset=UTF-8" | ||
] | ||
"summary": "Get organization info", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["application/json"] | ||
}, | ||
"post": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": { | ||
"id": 1, | ||
"name": "Test Org", | ||
"url": "https://api.github.com/orgs/test-org", | ||
"description": null, | ||
"avatar": "https://avatars.githubusercontent.com/1", | ||
"invitecount": 0, | ||
"password": "{newpassword}" | ||
} | ||
} | ||
} | ||
}, | ||
"/join/[id]": { | ||
"post": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
}, | ||
"summary": "Join organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"text/html; charset=UTF-8" | ||
] | ||
"summary": "Change organization password", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["application/json"] | ||
}, | ||
"put": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
}, | ||
"/token/regenerate": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": "{newtoken}" | ||
} | ||
} | ||
}, | ||
"summary": "Regenerate Token", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": [ | ||
"application/json" | ||
] | ||
"summary": "Update organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["text/html; charset=UTF-8"] | ||
}, | ||
"delete": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
} | ||
}, | ||
"summary": "Delete organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["text/html; charset=UTF-8"] | ||
} | ||
}, | ||
"definitions": { | ||
"User Data": {}, | ||
"User Organizations": {}, | ||
"Organizations": {}, | ||
"Join": {}, | ||
"Token": {} | ||
"/join/[id]": { | ||
"post": { | ||
"responses": { | ||
"204": { | ||
"description": "No Content", | ||
"headers": {}, | ||
"examples": { | ||
"text/html; charset=UTF-8": "" | ||
} | ||
} | ||
}, | ||
"summary": "Join organization", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["text/html; charset=UTF-8"] | ||
} | ||
}, | ||
"/token/regenerate": { | ||
"get": { | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"headers": {}, | ||
"examples": { | ||
"application/json": "{newtoken}" | ||
} | ||
} | ||
}, | ||
"summary": "Regenerate Token", | ||
"description": "", | ||
"tags": [], | ||
"parameters": [], | ||
"produces": ["application/json"] | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"User Data": {}, | ||
"User Organizations": {}, | ||
"Organizations": {}, | ||
"Join": {}, | ||
"Token": {} | ||
} | ||
} |
Oops, something went wrong.