Skip to content

Commit

Permalink
Merge pull request #189 from stackql/feature/provider-updates
Browse files Browse the repository at this point in the history
updated `pagerduty` provider
  • Loading branch information
jeffreyaven committed Dec 19, 2023
2 parents 0734e8f + 6fb8725 commit c13268b
Show file tree
Hide file tree
Showing 33 changed files with 1,148 additions and 407 deletions.
16 changes: 13 additions & 3 deletions providers/src/pagerduty/v00.00.00000/services/abilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2486,6 +2486,13 @@ components:
title: Abilities
methods:
list_abilities:
operation:
$ref: '#/paths/~1abilities/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.abilities
_list_abilities:
operation:
$ref: '#/paths/~1abilities/get'
response:
Expand Down Expand Up @@ -2537,9 +2544,12 @@ paths:
type: array
description: The set of abilities your account has.
items:
type: string
description: 'A single ability, as a name.'
readOnly: true
type: object
properties:
ability_name:
type: string
description: 'A single ability, as a name.'
readOnly: true
required:
- abilities
examples:
Expand Down
14 changes: 14 additions & 0 deletions providers/src/pagerduty/v00.00.00000/services/add_ons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2600,6 +2600,13 @@ components:
title: Addons
methods:
list_addon:
operation:
$ref: '#/paths/~1addons/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.addon
_list_addon:
operation:
$ref: '#/paths/~1addons/get'
response:
Expand All @@ -2612,6 +2619,13 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_addon:
operation:
$ref: '#/paths/~1addons~1{id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.addon
_get_addon:
operation:
$ref: '#/paths/~1addons~1{id}/get'
response:
Expand Down
24 changes: 21 additions & 3 deletions providers/src/pagerduty/v00.00.00000/services/analytics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,8 @@ components:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select: []
select:
- $ref: '#/components/x-stackQL-resources/metrics_incidents_all/methods/get_analytics_metrics_incidents_all'
insert: []
update: []
delete: []
Expand All @@ -2749,7 +2750,8 @@ components:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select: []
select:
- $ref: '#/components/x-stackQL-resources/metrics_incidents_services/methods/get_analytics_metrics_incidents_service'
insert: []
update: []
delete: []
Expand All @@ -2765,7 +2767,8 @@ components:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select: []
select:
- $ref: '#/components/x-stackQL-resources/metrics_incidents_teams/methods/get_analytics_metrics_incidents_team'
insert: []
update: []
delete: []
Expand All @@ -2786,9 +2789,17 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $
_get_analytics_incidents_by_id:
operation:
$ref: '#/paths/~1analytics~1raw~1incidents~1{id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/raw_incidents/methods/get_analytics_incidents_by_id'
- $ref: '#/components/x-stackQL-resources/raw_incidents/methods/get_analytics_incidents'
insert: []
update: []
delete: []
Expand All @@ -2803,6 +2814,13 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.responses
_get_analytics_incident_responses_by_id:
operation:
$ref: '#/paths/~1analytics~1raw~1incidents~1{id}~1responses/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/raw_incidents_responses/methods/get_analytics_incident_responses_by_id'
Expand Down
7 changes: 7 additions & 0 deletions providers/src/pagerduty/v00.00.00000/services/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2738,6 +2738,13 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.records
_list_audit_records:
operation:
$ref: '#/paths/~1audit~1records/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/records/methods/list_audit_records'
Expand Down
108 changes: 91 additions & 17 deletions providers/src/pagerduty/v00.00.00000/services/automation_actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3149,12 +3149,26 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_all_automation_actions:
operation:
$ref: '#/paths/~1automation_actions~1actions/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.actions
_get_all_automation_actions:
operation:
$ref: '#/paths/~1automation_actions~1actions/get'
response:
mediaType: application/json
openAPIDocKey: '200'
get_automation_action:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.action
_get_automation_action:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}/get'
response:
Expand All @@ -3172,38 +3186,35 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/actions/methods/get_automation_action'
- $ref: '#/components/x-stackQL-resources/actions/methods/get_all_automation_actions'
insert:
- $ref: '#/components/x-stackQL-resources/actions/methods/create_automation_action'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/actions/methods/delete_automation_action'
actions_invocations:
id: pagerduty.automation_actions.actions_invocations
name: actions_invocations
title: Actions Invocations
methods:
create_automation_action_invocation:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1invocations/post'
response:
mediaType: application/json
openAPIDocKey: '201'
sqlVerbs:
select: []
select:
- $ref: '#/components/x-stackQL-resources/actions/methods/get_automation_action'
- $ref: '#/components/x-stackQL-resources/actions/methods/get_all_automation_actions'
insert:
- $ref: '#/components/x-stackQL-resources/actions_invocations/methods/create_automation_action_invocation'
- $ref: '#/components/x-stackQL-resources/actions/methods/create_automation_action_invocation'
- $ref: '#/components/x-stackQL-resources/actions/methods/create_automation_action'
update: []
delete: []
delete:
- $ref: '#/components/x-stackQL-resources/actions/methods/delete_automation_action'
actions_services:
id: pagerduty.automation_actions.actions_services
name: actions_services
title: Actions Services
methods:
get_automation_actions_action_service_associations:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1services/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.services
_get_automation_actions_action_service_associations:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1services/get'
response:
Expand All @@ -3216,6 +3227,13 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_automation_actions_action_service_association:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1services~1{service_id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.service
_get_automation_actions_action_service_association:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1services~1{service_id}/get'
response:
Expand Down Expand Up @@ -3248,6 +3266,13 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_automation_actions_action_team_associations:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1teams/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.teams
_get_automation_actions_action_team_associations:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1teams/get'
response:
Expand All @@ -3265,6 +3290,13 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.team
_get_automation_actions_action_team_association:
operation:
$ref: '#/paths/~1automation_actions~1actions~1{id}~1teams~1{team_id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/actions_teams/methods/get_automation_actions_action_team_association'
Expand All @@ -3280,6 +3312,13 @@ components:
title: Invocations
methods:
list_automation_action_invocations:
operation:
$ref: '#/paths/~1automation_actions~1invocations/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.invocations
_list_automation_action_invocations:
operation:
$ref: '#/paths/~1automation_actions~1invocations/get'
response:
Expand All @@ -3291,6 +3330,13 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.invocation
_get_automation_actions_invocation:
operation:
$ref: '#/paths/~1automation_actions~1invocations~1{id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/invocations/methods/get_automation_actions_invocation'
Expand All @@ -3310,12 +3356,26 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_automation_actions_runners:
operation:
$ref: '#/paths/~1automation_actions~1runners/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.runners
_get_automation_actions_runners:
operation:
$ref: '#/paths/~1automation_actions~1runners/get'
response:
mediaType: application/json
openAPIDocKey: '200'
get_automation_actions_runner:
operation:
$ref: '#/paths/~1automation_actions~1runners~1{id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.runner
_get_automation_actions_runner:
operation:
$ref: '#/paths/~1automation_actions~1runners~1{id}/get'
response:
Expand Down Expand Up @@ -3354,6 +3414,13 @@ components:
mediaType: application/json
openAPIDocKey: '201'
get_automation_actions_runner_team_associations:
operation:
$ref: '#/paths/~1automation_actions~1runners~1{id}~1teams/get'
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.teams
_get_automation_actions_runner_team_associations:
operation:
$ref: '#/paths/~1automation_actions~1runners~1{id}~1teams/get'
response:
Expand All @@ -3371,6 +3438,13 @@ components:
response:
mediaType: application/json
openAPIDocKey: '200'
objectKey: $.team
_get_automation_actions_runner_team_association:
operation:
$ref: '#/paths/~1automation_actions~1runners~1{id}~1teams~1{team_id}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/runners_teams/methods/get_automation_actions_runner_team_association'
Expand Down
Loading

0 comments on commit c13268b

Please sign in to comment.