-
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 #1854 from sailpoint/ag/PLTCONN-…
…6281 PLTCONN-6281-source-schedules' by github action: 11356252552
- Loading branch information
1 parent
198cab5
commit c2de07f
Showing
4 changed files
with
278 additions
and
0 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,170 @@ | ||
|
||
get: | ||
operationId: getSourceSchedule | ||
security: | ||
- userAuth: [ idn:sources:read ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
- SOURCE_ADMIN | ||
- SOURCE_SUBADMIN | ||
tags: | ||
- Sources | ||
summary: Get Source Schedule by Type | ||
description: | | ||
Get the source schedule by type in Identity Security Cloud (ISC). | ||
parameters: | ||
- in: path | ||
name: sourceId | ||
required: true | ||
schema: | ||
type: string | ||
description: The Source id. | ||
example: 2c9180835d191a86015d28455b4a2329 | ||
- in: path | ||
name: scheduleType | ||
schema: | ||
type: string | ||
enum: | ||
- ACCOUNT_AGGREGATION | ||
- GROUP_AGGREGATION | ||
required: true | ||
description: The Schedule type. | ||
example: ACCOUNT_AGGREGATION | ||
responses: | ||
'200': | ||
description: The requested Schedule was successfully retrieved. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/sources/Schedule.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' | ||
patch: | ||
operationId: updateSourceSchedule | ||
security: | ||
- userAuth: [ idn:sources:update ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
- SOURCE_ADMIN | ||
- SOURCE_SUBADMIN | ||
tags: | ||
- Sources | ||
summary: Update Source Schedule (Partial) | ||
description: | | ||
Use this API to selectively update an existing Schedule using a JSONPatch payload. | ||
The following schedule fields are immutable and cannot be updated: | ||
- type | ||
parameters: | ||
- in: path | ||
name: sourceId | ||
required: true | ||
schema: | ||
type: string | ||
description: The Source id. | ||
example: 2c9180835d191a86015d28455b4a2329 | ||
- in: path | ||
name: scheduleType | ||
schema: | ||
type: string | ||
enum: | ||
- ACCOUNT_AGGREGATION | ||
- GROUP_AGGREGATION | ||
required: true | ||
description: The Schedule type. | ||
example: ACCOUNT_AGGREGATION | ||
requestBody: | ||
required: true | ||
description: The JSONPatch payload used to update the schedule. | ||
content: | ||
application/json-patch+json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: '../../v3/schemas/JsonPatchOperation.yaml' | ||
examples: | ||
add-attribute: | ||
summary: Replace an attribute of the schedule | ||
value: [ | ||
{ | ||
"op": "replace", | ||
"path": "/cronExpression", | ||
"value": "0 0 6 * * ?" | ||
} | ||
] | ||
responses: | ||
'200': | ||
description: The Schedule was successfully updated. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/sources/Schedule.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: deleteSourceSchedule | ||
security: | ||
- userAuth: [ idn:sources:update ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
- SOURCE_ADMIN | ||
- SOURCE_SUBADMIN | ||
tags: | ||
- Sources | ||
summary: Delete Source Schedule by type. | ||
parameters: | ||
- in: path | ||
name: sourceId | ||
required: true | ||
schema: | ||
type: string | ||
description: The Source id. | ||
example: 2c9180835d191a86015d28455b4a2329 | ||
- in: path | ||
name: scheduleType | ||
schema: | ||
type: string | ||
enum: | ||
- ACCOUNT_AGGREGATION | ||
- GROUP_AGGREGATION | ||
required: true | ||
description: The Schedule type. | ||
example: ACCOUNT_AGGREGATION | ||
responses: | ||
'204': | ||
$ref: '../../v3/responses/204.yaml' | ||
description: The Schedule was successfully deleted. | ||
'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' |
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,86 @@ | ||
|
||
get: | ||
operationId: getSourceSchedules | ||
security: | ||
- userAuth: [ idn:sources:read ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
- SOURCE_ADMIN | ||
- SOURCE_SUBADMIN | ||
tags: | ||
- Sources | ||
summary: List Schedules on Source | ||
description: Use this API to list the schedules that exist on the specified source in Identity Security Cloud (ISC). | ||
parameters: | ||
- in: path | ||
name: sourceId | ||
required: true | ||
schema: | ||
type: string | ||
description: Source ID. | ||
example: 2c9180835d191a86015d28455b4a2329 | ||
responses: | ||
'200': | ||
description: The schedules were successfully retrieved. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: '../schemas/sources/Schedule.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' | ||
post: | ||
operationId: createSourceSchedule | ||
security: | ||
- userAuth: [ idn:sources:update ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
- SOURCE_ADMIN | ||
- SOURCE_SUBADMIN | ||
tags: | ||
- Sources | ||
summary: Create Schedule on Source | ||
description: | | ||
Use this API to create a new schedule for a type on the specified source in Identity Security Cloud (ISC). | ||
parameters: | ||
- in: path | ||
name: sourceId | ||
required: true | ||
schema: | ||
type: string | ||
description: Source ID. | ||
example: 2c9180835d191a86015d28455b4a2329 | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/sources/Schedule.yaml' | ||
responses: | ||
'201': | ||
description: The schedule was successfully created on the specified source. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/sources/Schedule.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,16 @@ | ||
type: object | ||
required: | ||
- type | ||
- cronExpression | ||
properties: | ||
type: | ||
type: string | ||
enum: | ||
- ACCOUNT_AGGREGATION | ||
- GROUP_AGGREGATION | ||
description: The type of the Schedule. | ||
example: ACCOUNT_AGGREGATION | ||
cronExpression: | ||
type: string | ||
description: The cron expression of the schedule. | ||
example: "0 0 5,13,21 * * ?" |