Automated commit 'Merge pull request #6 from sailpoint/NEROCKET-183-158

NEROCKET-183-158 adding docs for NEROCKET-158 that had previosuly had…' by github action: 6238224524
This commit is contained in:
developer-relations-sp
2023-09-19 16:17:15 +00:00
parent 63662edb84
commit 84ab5caaaa
9 changed files with 128 additions and 0 deletions

View File

@@ -60,6 +60,11 @@ paths:
$ref: "./paths/ne_attribute_options.yaml"
/ne_attribute_options/{id}:
$ref: "./paths/ne_attribute_options_id.yaml"
# Pages
/pages/profile_pages:
$ref: "./paths/pages/profile_page.yaml"
/pages/workflow_pages:
$ref: "./paths/pages/workflow_page.yaml"
# Profile Types
/profile_type:
$ref: "./paths/profile_type.yaml"

View File

@@ -0,0 +1,15 @@
post:
summary: Create a profile page
operationId: createProfilePage
description: Create a profile page
tags:
- pages
requestBody:
$ref: "../../requestBodies/POST/Pages/ProfilePage.yaml"
responses:
'200':
$ref: "../../responses/Pages.yaml"
'400':
$ref: "../../responses/400.yaml"
'500':
$ref: "../../responses/500.yaml"

View File

@@ -0,0 +1,15 @@
post:
summary: Create a workflow page
operationId: createWorkflowPage
description: Create a workflow page
tags:
- pages
requestBody:
$ref: "../../requestBodies/POST/Pages/WorkflowPage.yaml"
responses:
'200':
$ref: "../../responses/Pages.yaml"
'400':
$ref: "../../responses/400.yaml"
'500':
$ref: "../../responses/500.yaml"

View File

@@ -0,0 +1,9 @@
required: true
content:
application/json:
schema:
type: object
properties:
page:
type: object
$ref: "../../../schemas/POST/Pages/ProfilePage.yaml"

View File

@@ -0,0 +1,9 @@
required: true
content:
application/json:
schema:
type: object
properties:
page:
type: object
$ref: "../../../schemas/POST/Pages/WorkflowPage.yaml"

View File

@@ -0,0 +1,9 @@
description: Expected response to a valid request
content:
application/json:
schema:
type: object
properties:
page:
type: object
$ref: '../schemas/GET/Pages.yaml'

View File

@@ -0,0 +1,24 @@
type: object
properties:
uid:
type: string
description: The uid of the page
example: page_uid
description:
type: text
example: Page for workflow
description: The description of the page
name:
type: string
example: My Page Name
description: The name of the page
archived:
type: boolean
example: false
description: Determines whether the page is archived
id:
type: string
format: uuid
readOnly: true
description: The id of the form
example: 2e06b876-f456-473d-bd65-b6435e0b6b2d

View File

@@ -0,0 +1,18 @@
type: object
properties:
uid:
type: string
description: The uid of the page
example: page_uid
description:
type: text
example: Page for workflow
description: The description of the page
name:
type: string
example: My Page Name
description: The name of the page
archived:
type: boolean
example: false
description: Determines whether the page is archived

View File

@@ -0,0 +1,24 @@
type: object
properties:
uid:
type: string
description: The uid of the page
example: page_uid
description:
type: text
example: Page for workflow
description: The description of the page
name:
type: string
example: My Page Name
description: The name of the page
archived:
type: boolean
example: false
description: Determines whether the page is archived
id:
type: string
format: uuid
readOnly: true
description: The id of the form
example: 2e06b876-f456-473d-bd65-b6435e0b6b2d