Skip to content

Commit

Permalink
Merge pull request #219 from DhariniSomani/CMGR-28264
Browse files Browse the repository at this point in the history
goLive public API changes
  • Loading branch information
bohnertchris authored Jul 13, 2022
2 parents b0f2bee + d75b48b commit 61c53dd
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/data/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@
"method": "POST",
"path": "/api/tenant/{tenantId}/programs"
},
{
"operation": "addFeedback",
"profiles": "Business Owner, Deployment Manager, Program Manager",
"method": "POST",
"path": "/api/program/{programId}/feedbacks"
},
{
"operation": "getEnvironmentLogs",
"profiles" : "Deployment Manager",
Expand Down
84 changes: 84 additions & 0 deletions swagger-specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2714,6 +2714,50 @@ paths:
$ref: '#/definitions/SslCertificate'
'404':
description: Program not found
'/api/program/{programId}/feedbacks':
post:
tags:
- Programs
summary: Post feedback
description: Add new feedback
operationId: postFeedback
parameters:
- name: programId
in: path
description: Identifier of the program
required: true
type: string
- in: body
name: body
description: Feedback
required: true
schema:
$ref: '#/definitions/NewFeedback'
- name: x-gw-ims-org-id
in: header
description: IMS organization ID that the request is being made under.
required: true
type: string
- name: Authorization
in: header
description: 'Bearer [token] - An access token for the technical account created through integration with Adobe IO'
required: true
type: string
- name: x-api-key
in: header
description: IMS Client ID (API Key) which is subscribed to consume services on console.adobe.io
required: true
type: string
- name: Content-Type
in: header
description: Must always be application/json
required: true
type: string
responses:
'400':
description: Invalid request
'404':
description: Application not found
'/api/program/{programId}/newRelicUsers':
get:
tags:
Expand Down Expand Up @@ -5621,6 +5665,43 @@ definitions:
items:
type: string
description: The PEM-encoded certificate chain.
NewFeedback:
type: object
required:
- rating
- type
properties:
createdAt:
type: string
description: Created time
id:
type: integer
description: Identifier of the feedback. Unique within the space.
rating:
type: integer
description: Rating values from 1 to 5
comment:
type: string
description: Feedback comment
type:
type: string
description: Type of feedback
enum:
- GO_LIVE
options:
type: object
description: Optional information about the feedback
description: Describes feedback
GoLiveDates:
type: object
properties:
plannedDate:
type: string
description: Date when go live is planned
actualDate:
type: string
description: Date when the program completed go live
description: Contains planned and actual go live dates of a program
PipelineUpdate:
type: object
description: Describe an update to a pipeline
Expand Down Expand Up @@ -5851,6 +5932,9 @@ definitions:
enum:
- aemsites
- aemassets
goLive:
"description": "Go live dates"
"$ref": "#/definitions/GoLiveDates"
NewEnvironment:
type: object
description: Description of a new program to be created
Expand Down

0 comments on commit 61c53dd

Please sign in to comment.