Created
June 1, 2016 13:08
-
-
Save eminetto/9d02d3aa6f88a12906cff0cb4e23d0ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/** | |
* @api {post} /bitbucket/saveRepository Save a new repository | |
* @apiVersion 1.0.0 | |
* @apiName SaveRepository | |
* @apiGroup Bitbucket | |
* | |
* @apiParam (parameters) {String} projectId Project's ID | |
* @apiParam (parameters) {String} repository[uuid] Repository's Id | |
* @apiParam (parameters) {String} repository[owner] Repository's Owner | |
* @apiParam (parameters) {String} repository[slug] Repository's Slug | |
* | |
* @apiError (406) InvalidParameters Invalid parameters | |
* @apiError (404) ProjectNotFound Project not found | |
* @apiError (406) RepositoryAlreadyUsed Repository already used | |
* | |
* @apiSuccess (201) {String} status Status | |
* @apiSuccess (201) {String} data Ok | |
* @apiSuccess (201) {Number} statusCode Status Code | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment