diff options
Diffstat (limited to 'app/controllers/api.go')
-rw-r--r-- | app/controllers/api.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/controllers/api.go b/app/controllers/api.go index 5ee6591..39fc227 100644 --- a/app/controllers/api.go +++ b/app/controllers/api.go | |||
@@ -10,8 +10,11 @@ import ( | |||
10 | ) | 10 | ) |
11 | 11 | ||
12 | const ( | 12 | const ( |
13 | contentTypeV1 = "application/vnd.broker.v1+json" // Original type | 13 | contentTypeV1 = "application/vnd.broker.v1+json" // Original type |
14 | contentTypeV2 = "application/vnd.broker.v2+json" // Start of migration to multi-cloud | 14 | contentTypeV2 = "application/vnd.broker.v2+json" // Start of migration to multi-cloud |
15 | contentTypeV2AWSBash = "application/vnd.broker.v2.credential.aws.sh" // Bash Formatted Credential for AWS | ||
16 | contentTypeV2AWSPowershell = "application/vnd.broker.v2.credential.aws.psl" // Powershell Formatted Credential for AWS | ||
17 | contentTypeV2AWSConfig = "application/vnd.broker.v2.credential.aws.ini" // INI Formatted Credential for AWS | ||
15 | ) | 18 | ) |
16 | 19 | ||
17 | func APIIndexHandler(c echo.Context) error { | 20 | func APIIndexHandler(c echo.Context) error { |