summaryrefslogtreecommitdiffstats
path: root/public/swagger.v1.json
diff options
context:
space:
mode:
Diffstat (limited to 'public/swagger.v1.json')
-rw-r--r--public/swagger.v1.json125
1 files changed, 125 insertions, 0 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json
index 25ff9fc6be..e640b4e831 100644
--- a/public/swagger.v1.json
+++ b/public/swagger.v1.json
@@ -1372,6 +1372,65 @@
}
}
},
+ "/repos/{username}/{reponame}/issues/{issue}/times": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "repository"
+ ],
+ "operationId": "issueTrackedTimes",
+ "responses": {
+ "200": {
+ "$ref": "#/responses/TrackedTimes"
+ },
+ "404": {
+ "$ref": "#/responses/error"
+ },
+ "500": {
+ "$ref": "#/responses/error"
+ }
+ }
+ },
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "repository"
+ ],
+ "operationId": "addTime",
+ "parameters": [
+ {
+ "x-go-name": "Time",
+ "name": "time",
+ "in": "body",
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/TrackedTime"
+ },
+ "400": {
+ "$ref": "#/responses/error"
+ },
+ "403": {
+ "$ref": "#/responses/error"
+ },
+ "404": {
+ "$ref": "#/responses/error"
+ },
+ "500": {
+ "$ref": "#/responses/error"
+ }
+ }
+ }
+ },
"/repos/{username}/{reponame}/mirror-sync": {
"post": {
"produces": [
@@ -1435,6 +1494,53 @@
}
}
},
+ "/repos/{username}/{reponame}/times": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "repository"
+ ],
+ "operationId": "repoTrackedTimes",
+ "responses": {
+ "200": {
+ "$ref": "#/responses/TrackedTimes"
+ },
+ "400": {
+ "$ref": "#/responses/error"
+ },
+ "500": {
+ "$ref": "#/responses/error"
+ }
+ }
+ }
+ },
+ "/repos/{username}/{reponame}/times/{timetrackingusername}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "user"
+ ],
+ "operationId": "userTrackedTimes",
+ "responses": {
+ "200": {
+ "$ref": "#/responses/TrackedTimes"
+ },
+ "400": {
+ "$ref": "#/responses/error"
+ },
+ "404": {
+ "$ref": "#/responses/error"
+ },
+ "500": {
+ "$ref": "#/responses/error"
+ }
+ }
+ }
+ },
"/repositories/{id}": {
"get": {
"produces": [
@@ -1951,6 +2057,25 @@
}
}
},
+ "/user/times": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "user"
+ ],
+ "operationId": "userTrackedTimes",
+ "responses": {
+ "200": {
+ "$ref": "#/responses/TrackedTimes"
+ },
+ "500": {
+ "$ref": "#/responses/error"
+ }
+ }
+ }
+ },
"/users/:username/followers": {
"get": {
"produces": [