Skip to content

Commit 5438148

Browse files
committed
Add sample for deactivate response
1 parent df25e58 commit 5438148

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

en/asgardeo/docs/apis/restapis/actions.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,16 @@ paths:
487487
application/json:
488488
schema:
489489
$ref: '#/components/schemas/ActionBasicResponse'
490+
example:
491+
id: "24f64d17-9824-4e28-8413-de45728d8e84"
492+
type: "PRE_ISSUE_ACCESS_TOKEN"
493+
name: "Access Token Pre Issue"
494+
description: "This action is executed before issuing an access token."
495+
status: "INACTIVE"
496+
links:
497+
- href: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
498+
method: GET
499+
rel: self
490500
'400':
491501
description: Bad Request
492502
content:
@@ -662,7 +672,7 @@ components:
662672
items:
663673
$ref: '#/components/schemas/Link'
664674
example:
665-
- href: "/t/{organization-name}/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
675+
- href: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
666676
method: GET
667677
rel: self
668678

@@ -711,7 +721,7 @@ components:
711721
self:
712722
type: string
713723
description: "API endpoint referring to the location of the given action type."
714-
example: "/t/{organization-name}/api/server/v1/actions/preIssueAccessToken"
724+
example: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
715725

716726
AuthenticationType:
717727
type: object

en/identity-server/next/docs/apis/restapis/actions.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,16 @@ paths:
494494
application/json:
495495
schema:
496496
$ref: '#/components/schemas/ActionBasicResponse'
497+
example:
498+
id: "24f64d17-9824-4e28-8413-de45728d8e84"
499+
type: "PRE_ISSUE_ACCESS_TOKEN"
500+
name: "Access Token Pre Issue"
501+
description: "This action is executed before issuing an access token."
502+
status: "INACTIVE"
503+
links:
504+
- href: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
505+
method: GET
506+
rel: self
497507
'400':
498508
description: Bad Request
499509
content:
@@ -669,7 +679,7 @@ components:
669679
items:
670680
$ref: '#/components/schemas/Link'
671681
example:
672-
- href: "/t/wso2.com/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
682+
- href: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
673683
method: GET
674684
rel: self
675685

@@ -718,7 +728,7 @@ components:
718728
self:
719729
type: string
720730
description: "API endpoint referring to the location of the given action type."
721-
example: "/t/wso2.com/api/server/v1/actions/preIssueAccessToken"
731+
example: "/api/server/v1/actions/preIssueAccessToken/24f64d17-9824-4e28-8413-de45728d8e84"
722732

723733
AuthenticationType:
724734
type: object

0 commit comments

Comments
 (0)