-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'Merge pull request #1526 from sailpoint/iiatsenko/P…
…LTUI-7029 PLTUI-7029: Added spec for GET /v3/brandings api method' by github action: 7665703237
- Loading branch information
1 parent
25e4a3b
commit 053928a
Showing
5 changed files
with
279 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
get: | ||
operationId: getBranding | ||
tags: | ||
- Branding | ||
summary: Get a branding item | ||
description: >- | ||
This API endpoint retrieves information for an existing branding item by name. | ||
A token with API, ORG_ADMIN authority is required to call this API. | ||
security: | ||
- UserContextAuth: [ idn:branding:read ] | ||
parameters: | ||
- in: path | ||
name: name | ||
schema: | ||
type: string | ||
required: true | ||
description: The name of the branding item to be retrieved | ||
example: default | ||
responses: | ||
'200': | ||
description: A branding item object | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/BrandingItem.yaml" | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'404': | ||
$ref: '../responses/404.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.yaml' | ||
put: | ||
operationId: setBrandingItem | ||
tags: | ||
- Branding | ||
summary: Update a branding item | ||
description: >- | ||
This API endpoint updates information for an existing branding item. | ||
A token with API, ORG_ADMIN authority is required to call this API. | ||
parameters: | ||
- in: path | ||
name: name | ||
schema: | ||
type: string | ||
required: true | ||
description: The name of the branding item to be retrieved | ||
example: default | ||
requestBody: | ||
required: true | ||
content: | ||
multipart/form-data: | ||
schema: | ||
$ref: '../schemas/BrandingItemCreate.yaml' | ||
security: | ||
- UserContextAuth: [ idn:branding:write ] | ||
responses: | ||
'200': | ||
description: Branding item updated | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/BrandingItem.yaml" | ||
'400': | ||
$ref: '../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../v3/responses/403.yaml' | ||
'404': | ||
$ref: '../../v3/responses/404.yaml' | ||
'429': | ||
$ref: '../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../v3/responses/500.yaml' | ||
delete: | ||
operationId: deleteBranding | ||
tags: | ||
- Branding | ||
summary: Delete a branding item | ||
description: >- | ||
This API endpoint delete information for an existing branding item by name. | ||
A token with API, ORG_ADMIN authority is required to call this API. | ||
security: | ||
- UserContextAuth: [ idn:branding:write ] | ||
parameters: | ||
- in: path | ||
name: name | ||
schema: | ||
type: string | ||
required: true | ||
description: The name of the branding item to be deleted | ||
example: default | ||
responses: | ||
'204': | ||
$ref: "../responses/204.yaml" | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'404': | ||
$ref: '../responses/404.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
get: | ||
operationId: getBrandingList | ||
tags: | ||
- Branding | ||
summary: List of branding items | ||
description: >- | ||
This API endpoint returns a list of branding items. | ||
A token with API, ORG_ADMIN authority is required to call this API. | ||
security: | ||
- UserContextAuth: [ idn:branding:read ] | ||
responses: | ||
'200': | ||
description: A list of branding items. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: "../schemas/BrandingItem.yaml" | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.yaml' | ||
post: | ||
operationId: createBrandingItem | ||
tags: | ||
- Branding | ||
summary: Create a branding item | ||
description: >- | ||
This API endpoint creates a branding item. | ||
A token with API, ORG_ADMIN authority is required to call this API. | ||
requestBody: | ||
required: true | ||
content: | ||
multipart/form-data: | ||
schema: | ||
$ref: '../schemas/BrandingItemCreate.yaml' | ||
security: | ||
- UserContextAuth: [ idn:branding:write ] | ||
responses: | ||
'201': | ||
description: Branding item created | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/BrandingItem.yaml" | ||
'400': | ||
$ref: '../../v3/responses/400.yaml' | ||
'401': | ||
$ref: '../../v3/responses/401.yaml' | ||
'403': | ||
$ref: '../../v3/responses/403.yaml' | ||
'429': | ||
$ref: '../../v3/responses/429.yaml' | ||
'500': | ||
$ref: '../../v3/responses/500.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
description: name of branding item | ||
example: "default" | ||
productName: | ||
type: string | ||
description: product name | ||
example: "product name" | ||
nullable: true | ||
actionButtonColor: | ||
type: string | ||
description: hex value of color for action button | ||
example: "0074D9" | ||
nullable: true | ||
activeLinkColor: | ||
type: string | ||
description: hex value of color for link | ||
example: "011E69" | ||
nullable: true | ||
navigationColor: | ||
type: string | ||
description: hex value of color for navigation bar | ||
example: "011E69" | ||
nullable: true | ||
emailFromAddress: | ||
type: string | ||
description: email from address | ||
example: "[email protected]" | ||
nullable: true | ||
standardLogoURL: | ||
type: string | ||
description: url to standard logo | ||
example: "" | ||
nullable: true | ||
loginInformationalMessage: | ||
type: string | ||
description: login information message | ||
example: "" | ||
nullable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
type: object | ||
required: | ||
- name | ||
- productName | ||
properties: | ||
name: | ||
type: string | ||
description: name of branding item | ||
example: "custom-branding-item" | ||
productName: | ||
type: string | ||
description: product name | ||
example: "product name" | ||
nullable: true | ||
actionButtonColor: | ||
type: string | ||
description: hex value of color for action button | ||
example: "0074D9" | ||
activeLinkColor: | ||
type: string | ||
description: hex value of color for link | ||
example: "011E69" | ||
navigationColor: | ||
type: string | ||
description: hex value of color for navigation bar | ||
example: "011E69" | ||
emailFromAddress: | ||
type: string | ||
description: email from address | ||
example: "[email protected]" | ||
loginInformationalMessage: | ||
type: string | ||
description: login information message | ||
example: "" | ||
fileStandard: | ||
type: string | ||
format: binary | ||
description: png file with logo | ||
example: \x00\x00\x00\x02 |