Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Alino committed Sep 7, 2018
2 parents 4670888 + de7e301 commit a49512a
Showing 1 changed file with 8 additions and 37 deletions.
45 changes: 8 additions & 37 deletions assets/swaggerhub/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,19 +395,14 @@
}
}
},
"/assets/{assetId}/tasks" : {
"/tasks" : {
"get" : {
"tags" : [ "Task" ],
"summary" : "List all Task",
"description" : "Lists all Task which belong to a specific job",
"summary" : "List all Tasks",
"description" : "List all Tasks",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "assetId",
"in" : "path",
"required" : true,
"type" : "string"
} ],
"parameters" : [ ],
"responses" : {
"200" : {
"description" : "The requested resource",
Expand Down Expand Up @@ -464,7 +459,7 @@
}
}
},
"/assets/{assetId}/tasks/{taskId}" : {
"/tasks/{taskId}" : {
"get" : {
"tags" : [ "Task" ],
"summary" : "Get a Task",
Expand Down Expand Up @@ -576,7 +571,7 @@
}
}
},
"/assets/{assetId}/tasks/{taskId}/uploaddeliverable" : {
"/tasks/{taskId}/uploaddeliverable" : {
"post" : {
"tags" : [ "Task" ],
"summary" : "Upload deliverable file",
Expand Down Expand Up @@ -616,7 +611,7 @@
}
}
},
"/assets/{assetId}/tasks/{taskId}/downloaddeliverable" : {
"/tasks/{taskId}/downloaddeliverable" : {
"get" : {
"tags" : [ "Task" ],
"summary" : "Download deliverable file",
Expand Down Expand Up @@ -729,30 +724,6 @@
}
}
},
"/tasks" : {
"get" : {
"tags" : [ "Task" ],
"summary" : "List all Tasks",
"description" : "List all Tasks",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
"parameters" : [ ],
"responses" : {
"200" : {
"description" : "The requested resource",
"schema" : {
"$ref" : "#/definitions/task"
}
},
"404" : {
"description" : "Resource not found"
},
"500" : {
"description" : "Internal server error"
}
}
}
},
"/webhooks/{webhookId}" : {
"get" : {
"tags" : [ "Webhook" ],
Expand Down Expand Up @@ -1080,7 +1051,7 @@
}
},
"task" : {
"required" : [ "type" ],
"required" : [ "jobId", "type" ],
"properties" : {
"id" : {
"type" : "integer",
Expand Down

0 comments on commit a49512a

Please sign in to comment.