|
943 | 943 | "name":"username", |
944 | 944 | "required":true, |
945 | 945 | "type":"string" |
| 946 | + }, |
| 947 | + "jobIds":{ |
| 948 | + "description":"list of jobIds", |
| 949 | + "in":"query", |
| 950 | + "name":"id", |
| 951 | + "required":true, |
| 952 | + "items":{ |
| 953 | + "type":"string" |
| 954 | + }, |
| 955 | + "type":"array" |
946 | 956 | } |
947 | 957 | }, |
948 | 958 | "paths":{ |
|
1063 | 1073 | ] |
1064 | 1074 | } |
1065 | 1075 | }, |
1066 | | - "/v1.1/{username}/builds":{ |
1067 | | - "get":{ |
1068 | | - "operationId":"list_builds", |
1069 | | - "parameters":[ |
1070 | | - { |
1071 | | - "$ref":"#/parameters/username" |
1072 | | - }, |
1073 | | - { |
1074 | | - "$ref":"#/parameters/limit" |
1075 | | - }, |
1076 | | - { |
1077 | | - "$ref":"#/parameters/subaccounts" |
1078 | | - } |
1079 | | - ], |
1080 | | - "responses":{ |
1081 | | - "200":{ |
1082 | | - "description":"List of builds", |
1083 | | - "schema":{ |
1084 | | - "items":{ |
1085 | | - "$ref":"#/definitions/Build" |
1086 | | - }, |
1087 | | - "type":"array" |
1088 | | - } |
1089 | | - }, |
1090 | | - "404":{ |
1091 | | - "description":"User is not found", |
1092 | | - "schema":{ |
1093 | | - "$ref":"#/definitions/Error" |
1094 | | - } |
1095 | | - }, |
1096 | | - "default":{ |
1097 | | - "description":"Unexpected error", |
1098 | | - "schema":{ |
1099 | | - "$ref":"#/definitions/Error" |
1100 | | - } |
1101 | | - } |
1102 | | - }, |
1103 | | - "summary":"Get all of a users builds", |
1104 | | - "tags":[ |
1105 | | - "Build" |
1106 | | - ] |
1107 | | - } |
1108 | | - }, |
1109 | 1076 | "/v1.1/{username}/jobs":{ |
1110 | 1077 | "get":{ |
1111 | 1078 | "operationId":"list_jobs", |
|
1968 | 1935 | ] |
1969 | 1936 | } |
1970 | 1937 | }, |
1971 | | - "/v1/{username}/builds/{id}/failed-jobs":{ |
1972 | | - "get":{ |
1973 | | - "operationId":"list_build_failed_jobs", |
1974 | | - "parameters":[ |
1975 | | - { |
1976 | | - "$ref":"#/parameters/username" |
1977 | | - }, |
1978 | | - { |
1979 | | - "$ref":"#/parameters/id" |
1980 | | - } |
1981 | | - ], |
1982 | | - "responses":{ |
1983 | | - "200":{ |
1984 | | - "description":"List of jobs", |
1985 | | - "schema":{ |
1986 | | - "items":{ |
1987 | | - "$ref":"#/definitions/Job" |
1988 | | - }, |
1989 | | - "type":"array" |
1990 | | - } |
1991 | | - }, |
1992 | | - "404":{ |
1993 | | - "description":"User is not found", |
1994 | | - "schema":{ |
1995 | | - "$ref":"#/definitions/Error" |
1996 | | - } |
1997 | | - }, |
1998 | | - "default":{ |
1999 | | - "description":"Unexpected error", |
2000 | | - "schema":{ |
2001 | | - "$ref":"#/definitions/Error" |
2002 | | - } |
2003 | | - } |
2004 | | - }, |
2005 | | - "summary":"Get all of the jobs associated with a build that have failed", |
2006 | | - "tags":[ |
2007 | | - "Build", |
2008 | | - "Job" |
2009 | | - ] |
2010 | | - } |
2011 | | - }, |
2012 | | - "/v1/builds/{id}/jobs":{ |
2013 | | - "get":{ |
2014 | | - "operationId":"list_build_jobs", |
2015 | | - "parameters":[ |
2016 | | - { |
2017 | | - "$ref":"#/parameters/id" |
2018 | | - }, |
2019 | | - { |
2020 | | - "$ref":"#/parameters/full" |
2021 | | - } |
2022 | | - ], |
2023 | | - "responses":{ |
2024 | | - "200":{ |
2025 | | - "description":"List of jobs", |
2026 | | - "schema":{ |
2027 | | - "items":{ |
2028 | | - "$ref":"#/definitions/Job" |
2029 | | - }, |
2030 | | - "type":"array" |
2031 | | - } |
2032 | | - }, |
2033 | | - "404":{ |
2034 | | - "description":"User is not found", |
2035 | | - "schema":{ |
2036 | | - "$ref":"#/definitions/Error" |
2037 | | - } |
2038 | | - }, |
2039 | | - "default":{ |
2040 | | - "description":"Unexpected error", |
2041 | | - "schema":{ |
2042 | | - "$ref":"#/definitions/Error" |
2043 | | - } |
2044 | | - } |
2045 | | - }, |
2046 | | - "summary":"Get all of the jobs associated with a build", |
2047 | | - "tags":[ |
2048 | | - "Build", |
2049 | | - "Job" |
2050 | | - ] |
2051 | | - } |
2052 | | - }, |
2053 | 1938 | "/v1/{username}/jobs/{id}":{ |
2054 | 1939 | "get":{ |
2055 | 1940 | "operationId":"get_job", |
|
2348 | 2233 | "Asset" |
2349 | 2234 | ] |
2350 | 2235 | } |
| 2236 | + }, |
| 2237 | + "/v1.1/jobs":{ |
| 2238 | + "get":{ |
| 2239 | + "operationId":"get_jobs_v1.1", |
| 2240 | + "stringifyOptions": {}, |
| 2241 | + "parameters":[ |
| 2242 | + { |
| 2243 | + "$ref":"#/parameters/jobIds" |
| 2244 | + } |
| 2245 | + ], |
| 2246 | + "responses":{ |
| 2247 | + "200":{ |
| 2248 | + "description":"List of Jobs", |
| 2249 | + "schema":{ |
| 2250 | + "properties":{ |
| 2251 | + "jobs":{ |
| 2252 | + "description":"list of jobs", |
| 2253 | + "items":{ |
| 2254 | + "$ref":"#/definitions/Job" |
| 2255 | + }, |
| 2256 | + "type":"array" |
| 2257 | + } |
| 2258 | + }, |
| 2259 | + "type":"object" |
| 2260 | + } |
| 2261 | + }, |
| 2262 | + "404":{ |
| 2263 | + "description":"User is not found", |
| 2264 | + "schema":{ |
| 2265 | + "$ref":"#/definitions/Error" |
| 2266 | + } |
| 2267 | + }, |
| 2268 | + "default":{ |
| 2269 | + "description":"Unexpected error", |
| 2270 | + "schema":{ |
| 2271 | + "$ref":"#/definitions/Error" |
| 2272 | + } |
| 2273 | + } |
| 2274 | + }, |
| 2275 | + "summary":"Get Job Information", |
| 2276 | + "tags":[ |
| 2277 | + "Job" |
| 2278 | + ] |
| 2279 | + } |
2351 | 2280 | } |
2352 | 2281 | } |
2353 | 2282 | } |
0 commit comments