Skip to content

Commit 6a64c31

Browse files
OAS Update
1 parent e1bf9cb commit 6a64c31

1 file changed

Lines changed: 212 additions & 0 deletions

File tree

‎services/sca/v1beta/sca.json‎

Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,6 +2230,218 @@
22302230
}
22312231
}
22322232
},
2233+
"/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/start": {
2234+
"post": {
2235+
"operationId": "StartApplication",
2236+
"parameters": [
2237+
{
2238+
"description": "Project where the application resides.",
2239+
"in": "path",
2240+
"name": "projectId",
2241+
"required": true,
2242+
"schema": {
2243+
"pattern": "[^/]+",
2244+
"type": "string"
2245+
}
2246+
},
2247+
{
2248+
"description": "Region where the application resides.",
2249+
"in": "path",
2250+
"name": "region",
2251+
"required": true,
2252+
"schema": {
2253+
"pattern": "[^/]+",
2254+
"type": "string"
2255+
}
2256+
},
2257+
{
2258+
"description": "Environment where the application resides.",
2259+
"in": "path",
2260+
"name": "environmentId",
2261+
"required": true,
2262+
"schema": {
2263+
"pattern": "[^/]+",
2264+
"type": "string"
2265+
}
2266+
},
2267+
{
2268+
"description": "Application id to start.",
2269+
"in": "path",
2270+
"name": "applicationId",
2271+
"required": true,
2272+
"schema": {
2273+
"pattern": "[^/]+",
2274+
"type": "string"
2275+
}
2276+
}
2277+
],
2278+
"responses": {
2279+
"200": {
2280+
"content": {
2281+
"application/json": {
2282+
"schema": {
2283+
"type": "object"
2284+
}
2285+
}
2286+
},
2287+
"description": "A successful response."
2288+
},
2289+
"202": {
2290+
"content": {
2291+
"application/json": {
2292+
"schema": {}
2293+
}
2294+
},
2295+
"description": "Accepted. Application start initiated."
2296+
},
2297+
"401": {
2298+
"content": {
2299+
"application/json": {
2300+
"schema": {
2301+
"$ref": "#/components/schemas/ApiErrorResponse"
2302+
}
2303+
}
2304+
},
2305+
"description": "Unauthorized. Authentication token is missing or invalid."
2306+
},
2307+
"404": {
2308+
"content": {
2309+
"application/json": {
2310+
"schema": {
2311+
"$ref": "#/components/schemas/ApiErrorResponse"
2312+
}
2313+
}
2314+
},
2315+
"description": "Not Found. Application not found."
2316+
},
2317+
"4XX": {
2318+
"content": {
2319+
"application/json": {
2320+
"schema": {
2321+
"$ref": "#/components/schemas/ApiErrorResponse"
2322+
}
2323+
}
2324+
},
2325+
"description": "Request failed. Check the request and retry operation."
2326+
}
2327+
},
2328+
"summary": "Starts an existing application.",
2329+
"x-stackit-authorization": {
2330+
"actions": [
2331+
"sca.application.update"
2332+
],
2333+
"resource-id": "projectId",
2334+
"resource-id-type": "dynamic",
2335+
"resource-type": "project"
2336+
}
2337+
}
2338+
},
2339+
"/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/stop": {
2340+
"post": {
2341+
"operationId": "StopApplication",
2342+
"parameters": [
2343+
{
2344+
"description": "Project where the application resides.",
2345+
"in": "path",
2346+
"name": "projectId",
2347+
"required": true,
2348+
"schema": {
2349+
"pattern": "[^/]+",
2350+
"type": "string"
2351+
}
2352+
},
2353+
{
2354+
"description": "Region where the application resides.",
2355+
"in": "path",
2356+
"name": "region",
2357+
"required": true,
2358+
"schema": {
2359+
"pattern": "[^/]+",
2360+
"type": "string"
2361+
}
2362+
},
2363+
{
2364+
"description": "Environment where the application resides.",
2365+
"in": "path",
2366+
"name": "environmentId",
2367+
"required": true,
2368+
"schema": {
2369+
"pattern": "[^/]+",
2370+
"type": "string"
2371+
}
2372+
},
2373+
{
2374+
"description": "Application id to stop.",
2375+
"in": "path",
2376+
"name": "applicationId",
2377+
"required": true,
2378+
"schema": {
2379+
"pattern": "[^/]+",
2380+
"type": "string"
2381+
}
2382+
}
2383+
],
2384+
"responses": {
2385+
"200": {
2386+
"content": {
2387+
"application/json": {
2388+
"schema": {
2389+
"type": "object"
2390+
}
2391+
}
2392+
},
2393+
"description": "A successful response."
2394+
},
2395+
"202": {
2396+
"content": {
2397+
"application/json": {
2398+
"schema": {}
2399+
}
2400+
},
2401+
"description": "Accepted. Application stop initiated."
2402+
},
2403+
"401": {
2404+
"content": {
2405+
"application/json": {
2406+
"schema": {
2407+
"$ref": "#/components/schemas/ApiErrorResponse"
2408+
}
2409+
}
2410+
},
2411+
"description": "Unauthorized. Authentication token is missing or invalid."
2412+
},
2413+
"404": {
2414+
"content": {
2415+
"application/json": {
2416+
"schema": {
2417+
"$ref": "#/components/schemas/ApiErrorResponse"
2418+
}
2419+
}
2420+
},
2421+
"description": "Not Found. Application not found."
2422+
},
2423+
"4XX": {
2424+
"content": {
2425+
"application/json": {
2426+
"schema": {
2427+
"$ref": "#/components/schemas/ApiErrorResponse"
2428+
}
2429+
}
2430+
},
2431+
"description": "Request failed. Check the request and retry operation."
2432+
}
2433+
},
2434+
"summary": "Stops an existing application.",
2435+
"x-stackit-authorization": {
2436+
"actions": [
2437+
"sca.application.update"
2438+
],
2439+
"resource-id": "projectId",
2440+
"resource-id-type": "dynamic",
2441+
"resource-type": "project"
2442+
}
2443+
}
2444+
},
22332445
"/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/registries": {
22342446
"get": {
22352447
"operationId": "ListEnvironmentRegistries",

0 commit comments

Comments
 (0)