forked from apidoc/apidoc
-
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
Showing
9 changed files
with
329 additions
and
316 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
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
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
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
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,144 +1,144 @@ | ||
define({ "api": [ | ||
{ | ||
"type": "post", | ||
"url": "/api/authenticate", | ||
"title": "", | ||
"version": "0.3.0", | ||
"group": "Authentication", | ||
"name": "Authenticate", | ||
"parameter": { | ||
"fields": { | ||
"Credentials": [ | ||
{ | ||
"group": "Credentials", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "username", | ||
"description": "<p>Username</p> " | ||
}, | ||
{ | ||
"group": "Credentials", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "password", | ||
"description": "<p>password</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "src/test_api.js", | ||
"groupTitle": "Authentication", | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "get", | ||
"url": "/api/subscriptioninfo", | ||
"title": "", | ||
"version": "0.3.0", | ||
"description": "<p>Get the subscription information from an authenticated user.</p> ", | ||
"group": "Authentication", | ||
"name": "GetSubscriptionInfo", | ||
"filename": "src/test_api.js", | ||
"groupTitle": "Authentication", | ||
"header": { | ||
"fields": { | ||
"Header": [ | ||
{ | ||
"group": "Header", | ||
"type": "String", | ||
"optional": false, | ||
"field": "Authorization", | ||
"description": "<p>Auth header with JWT Token</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "Authorization-Example:", | ||
"content": "Authorization: Bearer <jwt-token>", | ||
"type": "String" | ||
} | ||
] | ||
}, | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "get", | ||
"url": "/api/subscriptioninfo/:userid", | ||
"title": "", | ||
"version": "0.2.0", | ||
"description": "<p>Get the subscription information for a user.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Number</p> ", | ||
"optional": false, | ||
"field": "userid", | ||
"description": "<p>user id</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"group": "Authentication", | ||
"name": "GetSubscriptionInfo", | ||
"filename": "folder2/History.js", | ||
"groupTitle": "Authentication", | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
} | ||
define({ "api": [ | ||
{ | ||
"type": "post", | ||
"url": "/api/authenticate", | ||
"title": "", | ||
"version": "0.3.0", | ||
"group": "Authentication", | ||
"name": "Authenticate", | ||
"parameter": { | ||
"fields": { | ||
"Credentials": [ | ||
{ | ||
"group": "Credentials", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "username", | ||
"description": "<p>Username</p> " | ||
}, | ||
{ | ||
"group": "Credentials", | ||
"type": "<p>String</p> ", | ||
"optional": false, | ||
"field": "password", | ||
"description": "<p>password</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"filename": "src/test_api.js", | ||
"groupTitle": "Authentication", | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "get", | ||
"url": "/api/subscriptioninfo", | ||
"title": "", | ||
"version": "0.3.0", | ||
"description": "<p>Get the subscription information from an authenticated user.</p> ", | ||
"group": "Authentication", | ||
"name": "GetSubscriptionInfo", | ||
"filename": "src/test_api.js", | ||
"groupTitle": "Authentication", | ||
"header": { | ||
"fields": { | ||
"Header": [ | ||
{ | ||
"group": "Header", | ||
"type": "String", | ||
"optional": false, | ||
"field": "Authorization", | ||
"description": "<p>Auth header with JWT Token</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "Authorization-Example:", | ||
"content": "Authorization: Bearer <jwt-token>", | ||
"type": "String" | ||
} | ||
] | ||
}, | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "get", | ||
"url": "/api/subscriptioninfo/:userid", | ||
"title": "", | ||
"version": "0.2.0", | ||
"description": "<p>Get the subscription information for a user.</p> ", | ||
"parameter": { | ||
"fields": { | ||
"Parameter": [ | ||
{ | ||
"group": "Parameter", | ||
"type": "<p>Number</p> ", | ||
"optional": false, | ||
"field": "userid", | ||
"description": "<p>user id</p> " | ||
} | ||
] | ||
} | ||
}, | ||
"group": "Authentication", | ||
"name": "GetSubscriptionInfo", | ||
"filename": "folder2/History.js", | ||
"groupTitle": "Authentication", | ||
"error": { | ||
"fields": { | ||
"500 Internal Server Error": [ | ||
{ | ||
"group": "500 Internal Server Error", | ||
"optional": false, | ||
"field": "InternalServerError", | ||
"description": "<p>The server encountered an internal error</p> " | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"title": "500 Internal Server Error", | ||
"content": "HTTP/1.1 500 Internal Server Error\n{\n \"uri\": \"<api-endpoint>\",\n \"method\": \"<method used>\",\n \"type\": \"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"<Detail Message>\"\n}", | ||
"type": "json" | ||
} | ||
] | ||
} | ||
} | ||
] }); |
Oops, something went wrong.