Skip to content

Commit

Permalink
Automated commit 'Merge pull request #1468 from sailpoint/sdhus/IDNLA…
Browse files Browse the repository at this point in the history
…NAI-9545

IDNLANAI-9545 - Updated the documentation for support DtoType in tagged objects' by github action: 6720968148
  • Loading branch information
tyler-mairose-sp committed Nov 1, 2023
1 parent 822e16e commit 2204c1a
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 18 deletions.
6 changes: 4 additions & 2 deletions idn/beta/paths/bulk-add-tagged-objects.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
post:
operationId: addTagsToManyObjects
operationId: setTagsToManyObjects
security:
- UserContextAuth: [ idn:tag:manage ]
tags:
- Tagged Objects
summary: Tag Multiple Objects
Expand All @@ -11,7 +13,7 @@ post:
authority is required to call this API.
requestBody:
required: true
description: Supported object types are ROLE, IDENTITY and SOD_POLICY.
description: Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
content:
application/json:
schema:
Expand Down
6 changes: 4 additions & 2 deletions idn/beta/paths/bulk-remove-tagged-objects.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
post:
operationId: removeTagsToManyObject
operationId: deleteTagsToManyObject
security:
- UserContextAuth: [ idn:tag:manage ]
tags:
- Tagged Objects
summary: Remove Tags from Multiple Objects
Expand All @@ -10,7 +12,7 @@ post:
A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN
authority is required to call this API.
requestBody:
description: Supported object types are ROLE, IDENTITY and SOD_POLICY.
description: Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
required: true
content:
application/json:
Expand Down
23 changes: 19 additions & 4 deletions idn/beta/paths/tagged-object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ get:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to retrieve.
example: ROLE
Expand Down Expand Up @@ -44,7 +49,7 @@ get:
'500':
$ref: '../../v3/responses/500.yaml'
put:
operationId: updateTaggedObject
operationId: putTaggedObject
security:
- UserContextAuth: [ idn:tag:manage ]
tags:
Expand All @@ -58,9 +63,14 @@ put:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to update.
example: ROLE
Expand Down Expand Up @@ -109,9 +119,14 @@ delete:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to delete.
example: ROLE
Expand Down
6 changes: 4 additions & 2 deletions idn/beta/paths/tags-get-shared.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
post:
operationId: getSharedTags
operationId: searchSharedTags
security:
- UserContextAuth: [ idn:tag:manage ]
tags:
- Tags
summary: Get Shared Tags
Expand All @@ -11,7 +13,7 @@ post:
authority is required to call this API.
requestBody:
required: true
description: Supported object types are ROLE, IDENTITY and SOD_POLICY.
description: Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
content:
application/json:
schema:
Expand Down
2 changes: 1 addition & 1 deletion idn/beta/schemas/BulkTaggedObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ properties:
objectRefs:
type: array
items:
$ref: '../../v3/schemas/BaseReferenceDto.yaml'
$ref: '../../v3/schemas/TaggedObjectDto.yaml'
tags:
type: array
items:
Expand Down
25 changes: 24 additions & 1 deletion idn/beta/schemas/TaggedObject.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
type: object
properties:
objectRef:
$ref: '../../v3/schemas/BaseReferenceDto.yaml'
type: object
properties:
type:
type: string
enum:
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
example: IDENTITY
description: DTO type
id:
type: string
description: ID of the object to which this reference applies
example: 2c91808568c529c60168cca6f90c1313
name:
nullable: true
type: string
description: Human-readable display name of the object to which this reference applies
example: William Wilson
tags:
type: array
items:
Expand Down
2 changes: 1 addition & 1 deletion idn/v3/paths/bulk-add-tagged-objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ post:
authority is required to call this API.
requestBody:
required: true
description: Supported object types are ROLE, IDENTITY and SOD_POLICY.
description: Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
content:
application/json:
schema:
Expand Down
2 changes: 1 addition & 1 deletion idn/v3/paths/bulk-remove-tagged-objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ post:
A token with API, CERT_ADMIN, ORG_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN
authority is required to call this API.
requestBody:
description: Supported object types are ROLE, IDENTITY and SOD_POLICY.
description: Supported object types are ACCESS_PROFILE, APPLICATION, CAMPAIGN, ENTITLEMENT, IDENTITY, ROLE, SOD_POLICY, SOURCE.
required: true
content:
application/json:
Expand Down
21 changes: 18 additions & 3 deletions idn/v3/paths/tagged-object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ get:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to retrieve.
example: ROLE
Expand Down Expand Up @@ -58,9 +63,14 @@ put:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to update.
example: ROLE
Expand Down Expand Up @@ -109,9 +119,14 @@ delete:
schema:
type: string
enum:
- ROLE
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
required: true
description: The type of tagged object to delete.
example: ROLE
Expand Down
12 changes: 11 additions & 1 deletion idn/v3/schemas/TaggedObjectDto.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
type: object
properties:
type:
$ref: '../../v3/schemas/DtoType.yaml'
type: string
enum:
- ACCESS_PROFILE
- APPLICATION
- CAMPAIGN
- ENTITLEMENT
- IDENTITY
- ROLE
- SOD_POLICY
- SOURCE
example: IDENTITY
description: DTO type
id:
type: string
Expand Down

0 comments on commit 2204c1a

Please sign in to comment.