Skip to content

Commit

Permalink
Automated commit 'Merge pull request #59 from sailpoint/NERRA-1795
Browse files Browse the repository at this point in the history
NERRA-1795: Add documentation for the isc_accounts API endpoint' by github action: 12712499763
  • Loading branch information
developer-relations-sp committed Jan 10, 2025
1 parent bb89057 commit 98fae66
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nerm/parameters/query/category.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: category
in: query
description: The category parameter is used to retrieve profiles belonging to profile types categorized under the allowed schema mapping categories. The permitted categories allowed are 'non-employee' and 'assignment'.
required: false
schema:
type: string
example: non-employee
8 changes: 8 additions & 0 deletions nerm/parameters/query/use_schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: use_schema
in: query
description: The use_schema parameter returns schema-mapped field names in the Profiles API response when set to true.
required: false
schema:
type: boolean
default: false
example: true
15 changes: 15 additions & 0 deletions nerm/paths/isc_account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
get:
summary: Retrieve single schema-mapped profile
operationId: getSingleSchemaMappedProfile
description: It returns a single stored profile, optionally with schema-mapped field names.
tags:
- isc accounts
parameters:
- $ref: "../parameters/path/id.yaml"
responses:
'200':
$ref: "../responses/Profile.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
18 changes: 18 additions & 0 deletions nerm/paths/isc_accounts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
get:
summary: Retrieve schema-mapped profiles collection
operationId: getSchemaMappedProfilesCollection
description: It returns a collection of stored profiles, optionally using schema-mapped field names if requested.
tags:
- isc accounts
parameters:
- $ref: "../parameters/query/category.yaml"
- $ref: "../parameters/query/page.yaml"
- $ref: "../parameters/query/per_page.yaml"
- $ref: "../parameters/query/use_schema.yaml"
responses:
'200':
$ref: "../responses/IscAccounts.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"
10 changes: 10 additions & 0 deletions nerm/responses/IscAccounts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Expected response to a valid request
content:
application/json:
schema:
type: object
properties:
profiles:
type: array
items:
$ref: '../schemas/GET/Profile.yaml'

0 comments on commit 98fae66

Please sign in to comment.