[APPS-2853] Swagger Documentation for Retention Schedule V1 APIs

This commit is contained in:
Sathish Kumar
2024-06-25 14:56:46 +05:30
committed by suneet-gupta
parent e13d38f2e1
commit 7b86a0ec8a

View File

@@ -2674,7 +2674,7 @@ paths:
$ref: '#/definitions/RetentionScheduleResponse' $ref: '#/definitions/RetentionScheduleResponse'
'400': '400':
description: | description: |
Invalid parameter: recordCategoryId is not a valid format Invalid parameter: value of recordCategoryId is invalid
'401': '401':
description: Authentication failed description: Authentication failed
'403': '403':
@@ -2713,7 +2713,7 @@ paths:
$ref: '#/definitions/RetentionScheduleResponseList' $ref: '#/definitions/RetentionScheduleResponseList'
'400': '400':
description: | description: |
Invalid parameter: recordCategoryId is not a valid format Invalid parameter: value of recordCategoryId is invalid
'401': '401':
description: Authentication failed description: Authentication failed
'403': '403':
@@ -2772,7 +2772,7 @@ paths:
$ref: '#/definitions/RetentionStepNodeBodyResponse' $ref: '#/definitions/RetentionStepNodeBodyResponse'
'400': '400':
description: | description: |
Invalid parameter: retentionScheduleId is not a valid format Invalid parameter: value of retentionScheduleId is invalid
Invalid parameter (e.g. event, period, periodProperty) Invalid parameter (e.g. event, period, periodProperty)
'401': '401':
description: Authentication failed description: Authentication failed
@@ -2813,7 +2813,7 @@ paths:
$ref: '#/definitions/RetentionStepsNodeBodyResponse' $ref: '#/definitions/RetentionStepsNodeBodyResponse'
'400': '400':
description: | description: |
Invalid parameter: retentionScheduleId is not a valid format Invalid parameter: value of retentionScheduleId is invalid
'401': '401':
description: Authentication failed description: Authentication failed
'403': '403':
@@ -4527,10 +4527,6 @@ definitions:
type: array type: array
items: items:
$ref: '#/definitions/Actions' $ref: '#/definitions/Actions'
events:
type: array
items:
type: string
Actions: Actions:
type: object type: object
properties: properties:
@@ -4556,6 +4552,10 @@ definitions:
type: boolean type: boolean
location: location:
type: string type: string
events:
type: array
items:
type: string
index: index:
type: integer type: integer
RetentionStepNodeBodyCreate: RetentionStepNodeBodyCreate: