mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-11-12 15:39:46 +00:00
[APPS-2853] Swagger Documentation for Retention Schedule V1 APIs
This commit is contained in:
committed by
suneet-gupta
parent
b1d9ed8bec
commit
fd04b94f82
@@ -2637,19 +2637,19 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/Error'
|
||||
##retention-schedule
|
||||
'/categories/{categoryId}/retention-schedules':
|
||||
'/record-categories/{categoryId}/retention-schedules':
|
||||
post:
|
||||
tags:
|
||||
- retention-schedule
|
||||
summary: Create a retention schedule
|
||||
description: |
|
||||
Create a retention schedule.
|
||||
For example, the following JSON body to create a retention schedule:
|
||||
For example, using the following JSON body will create a retention schedule:
|
||||
```JSON
|
||||
{
|
||||
"authority" : "Retention Authority",
|
||||
"instructions" : "Retention Instructions",
|
||||
"isRecordLevelDisposition" : false
|
||||
"isRecordLevel" : false
|
||||
}
|
||||
```
|
||||
operationId: createRetentionSchedule
|
||||
@@ -4469,7 +4469,7 @@ definitions:
|
||||
type: string
|
||||
instructions:
|
||||
type: string
|
||||
isRecordLevelDisposition:
|
||||
isRecordLevel:
|
||||
type: boolean
|
||||
RetentionScheduleResponse:
|
||||
type: object
|
||||
@@ -4482,7 +4482,7 @@ definitions:
|
||||
type: string
|
||||
instructions:
|
||||
type: string
|
||||
isRecordLevelDisposition:
|
||||
isRecordLevel:
|
||||
type: boolean
|
||||
unpublishedUpdates:
|
||||
type: boolean
|
||||
@@ -4504,7 +4504,7 @@ definitions:
|
||||
type: string
|
||||
instructions:
|
||||
type: string
|
||||
isRecordLevelDisposition:
|
||||
isRecordLevel:
|
||||
type: boolean
|
||||
unpublishedUpdates:
|
||||
type: boolean
|
||||
|
||||
Reference in New Issue
Block a user