|
396 | 396 | }]
|
397 | 397 | }
|
398 | 398 | },
|
399 |
| - "/forecasts/aws/costs": { |
| 399 | + "/forecasts/aws/costs/": { |
400 | 400 | "summary": "AWS Cost Forecasts",
|
401 | 401 | "get": {
|
402 | 402 | "tags":["Forecasts"],
|
|
441 | 441 | }]
|
442 | 442 | }
|
443 | 443 | },
|
444 |
| - "/forecasts/azure/costs": { |
| 444 | + "/forecasts/azure/costs/": { |
445 | 445 | "summary": "Azure Cost Forecasts",
|
446 | 446 | "get": {
|
447 | 447 | "tags":["Forecasts"],
|
|
486 | 486 | }]
|
487 | 487 | }
|
488 | 488 | },
|
489 |
| - "/forecasts/openshift/costs": { |
| 489 | + "/forecasts/gcp/costs/": { |
| 490 | + "summary": "GCP Cost Forecasts", |
| 491 | + "get": { |
| 492 | + "tags":["Forecasts"], |
| 493 | + "parameters": [{ |
| 494 | + "$ref": "#/components/parameters/QueryFilter", |
| 495 | + "name":"QueryFilter" |
| 496 | + }], |
| 497 | + "responses": { |
| 498 | + "200": { |
| 499 | + "description": "An object describing the cost forecast.", |
| 500 | + "content": { |
| 501 | + "application/json": { |
| 502 | + "schema": { |
| 503 | + "$ref": "#/components/schemas/Forecast" |
| 504 | + } |
| 505 | + } |
| 506 | + } |
| 507 | + }, |
| 508 | + "400": { |
| 509 | + "description": "Request Error", |
| 510 | + "content": { |
| 511 | + "application/json": { |
| 512 | + "schema": { |
| 513 | + "$ref": "#/components/schemas/Error" |
| 514 | + } |
| 515 | + } |
| 516 | + } |
| 517 | + }, |
| 518 | + "500": { |
| 519 | + "description": "Unexpected Error", |
| 520 | + "content": { |
| 521 | + "application/json": { |
| 522 | + "schema": { |
| 523 | + "$ref": "#/components/schemas/Error" |
| 524 | + } |
| 525 | + } |
| 526 | + } |
| 527 | + } |
| 528 | + }, |
| 529 | + "security": [{ |
| 530 | + "basic_auth": [] |
| 531 | + }] |
| 532 | + } |
| 533 | + }, |
| 534 | + "/forecasts/openshift/costs/": { |
490 | 535 | "summary": "OpenShift Cost Forecasts",
|
491 | 536 | "get": {
|
492 | 537 | "tags":["Forecasts"],
|
|
531 | 576 | }]
|
532 | 577 | }
|
533 | 578 | },
|
534 |
| - "/forecasts/openshift/infrastructures/aws/costs": { |
| 579 | + "/forecasts/openshift/infrastructures/aws/costs/": { |
535 | 580 | "summary": "OpenShift on AWS Cost Forecasts",
|
536 | 581 | "get": {
|
537 | 582 | "tags":["Forecasts"],
|
|
576 | 621 | }]
|
577 | 622 | }
|
578 | 623 | },
|
579 |
| - "/forecasts/openshift/infrastructures/all/costs": { |
| 624 | + "/forecasts/openshift/infrastructures/all/costs/": { |
580 | 625 | "summary": "OpenShift on Cloud Cost Forecasts",
|
581 | 626 | "get": {
|
582 | 627 | "tags":["Forecasts"],
|
|
621 | 666 | }]
|
622 | 667 | }
|
623 | 668 | },
|
624 |
| - "/forecasts/openshift/infrastructures/azure/costs": { |
| 669 | + "/forecasts/openshift/infrastructures/azure/costs/": { |
625 | 670 | "summary": "OpenShift on Azure Cost Forecasts",
|
626 | 671 | "get": {
|
627 | 672 | "tags":["Forecasts"],
|
|
2406 | 2451 | }
|
2407 | 2452 | }
|
2408 | 2453 | },
|
| 2454 | + "/user-access/": { |
| 2455 | + "get": { |
| 2456 | + "tags": [ |
| 2457 | + "UserAccess" |
| 2458 | + ], |
| 2459 | + "summary": "Returns user permission status.", |
| 2460 | + "operationId": "listUserAccess", |
| 2461 | + "parameters": [{ |
| 2462 | + "$ref": "#/components/parameters/QueryType" |
| 2463 | + } |
| 2464 | + ], |
| 2465 | + "responses": { |
| 2466 | + "200": { |
| 2467 | + "description": "| - 200 response", |
| 2468 | + "content": { |
| 2469 | + "application/json": { |
| 2470 | + "schema": { |
| 2471 | + "$ref": "#/components/schemas/UserAccessListPagination" |
| 2472 | + } |
| 2473 | + } |
| 2474 | + } |
| 2475 | + } |
| 2476 | + } |
| 2477 | + } |
| 2478 | + }, |
2409 | 2479 | "/sources/": {
|
2410 | 2480 | "get": {
|
2411 | 2481 | "tags": [
|
|
3822 | 3892 | "type": "boolean"
|
3823 | 3893 | }
|
3824 | 3894 | },
|
| 3895 | + "QueryType": { |
| 3896 | + "name": "type", |
| 3897 | + "in": "query", |
| 3898 | + "description": "String to identify user access permission type (i.e. AWS, cost_model).", |
| 3899 | + "schema": { |
| 3900 | + "type": "string" |
| 3901 | + } |
| 3902 | + }, |
3825 | 3903 | "QueryValue": {
|
3826 | 3904 | "in": "query",
|
3827 | 3905 | "name": "value",
|
|
4476 | 4554 | }
|
4477 | 4555 | ]
|
4478 | 4556 | },
|
| 4557 | + "UserAccessListPagination": { |
| 4558 | + "allOf": [{ |
| 4559 | + "$ref": "#/components/schemas/ListPagination" |
| 4560 | + }, |
| 4561 | + { |
| 4562 | + "type": "object", |
| 4563 | + "required": [ |
| 4564 | + "data" |
| 4565 | + ], |
| 4566 | + "properties": { |
| 4567 | + "data": { |
| 4568 | + "type": "array", |
| 4569 | + "items": { |
| 4570 | + "$ref": "#/components/schemas/UserAccessTypeOut" |
| 4571 | + } |
| 4572 | + } |
| 4573 | + } |
| 4574 | + } |
| 4575 | + ] |
| 4576 | + }, |
4479 | 4577 | "ResourceTypeListPagination": {
|
4480 | 4578 | "allOf": [{
|
4481 | 4579 | "$ref": "#/components/schemas/ListPagination"
|
|
4523 | 4621 | }
|
4524 | 4622 | }
|
4525 | 4623 | },
|
| 4624 | + "UserAccessTypeOut": { |
| 4625 | + "properties": { |
| 4626 | + "type": { |
| 4627 | + "type": "string" |
| 4628 | + }, |
| 4629 | + "access": { |
| 4630 | + "type": "boolean" |
| 4631 | + } |
| 4632 | + } |
| 4633 | + }, |
4526 | 4634 | "ResourceTypeListOut": {
|
4527 | 4635 | "properties": {
|
4528 | 4636 | "value": {
|
|
0 commit comments