mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/UA_API_review2' into 'master'
Update gs-core-api.yaml See merge request !362
This commit is contained in:
@@ -46,11 +46,10 @@ paths:
|
|||||||
- gs-sites
|
- gs-sites
|
||||||
summary: Create the Records Management (RM) site
|
summary: Create the Records Management (RM) site
|
||||||
description: |
|
description: |
|
||||||
**Note:** this endpoint is available in Records Management 2.6 and newer versions.
|
|
||||||
|
|
||||||
Creates the RM site with the given details.
|
Creates the RM site with the given details.
|
||||||
|
|
||||||
**Note:** the id of a site cannot be updated once the site has been created.
|
**Note:** The default site id is rm and the default site name is Records Management. The id of a site cannot be updated once the site has been created.
|
||||||
|
|
||||||
For example, to create an RM site named "Records Management" with "Records Management Description" as description, the following body could be used:
|
For example, to create an RM site named "Records Management" with "Records Management Description" as description, the following body could be used:
|
||||||
```JSON
|
```JSON
|
||||||
@@ -62,7 +61,7 @@ paths:
|
|||||||
|
|
||||||
The creator will be added as a member with Site Manager role.
|
The creator will be added as a member with Site Manager role.
|
||||||
|
|
||||||
When you create the RM site, the **filePlan** structure is also created.
|
When you create the RM site, the **filePlan** structure is also created including special containers, such as containers for transfers, holds and, unfiled records.
|
||||||
|
|
||||||
operationId: createRMSite
|
operationId: createRMSite
|
||||||
produces:
|
produces:
|
||||||
@@ -102,8 +101,7 @@ paths:
|
|||||||
- gs-sites
|
- gs-sites
|
||||||
summary: Get the Records Management (RM) site
|
summary: Get the Records Management (RM) site
|
||||||
description: |
|
description: |
|
||||||
**Note:** this endpoint is available in Records Management 2.6 and newer versions.
|
|
||||||
|
|
||||||
Gets information for RM site.
|
Gets information for RM site.
|
||||||
|
|
||||||
operationId: getRMSite
|
operationId: getRMSite
|
||||||
@@ -133,7 +131,6 @@ paths:
|
|||||||
- gs-sites
|
- gs-sites
|
||||||
summary: Delete the Records Management (RM) site
|
summary: Delete the Records Management (RM) site
|
||||||
description: |
|
description: |
|
||||||
**Note:** this endpoint is available in Records Management 2.6 and newer versions.
|
|
||||||
|
|
||||||
Deletes the RM site.
|
Deletes the RM site.
|
||||||
operationId: deleteRMSite
|
operationId: deleteRMSite
|
||||||
@@ -161,7 +158,6 @@ paths:
|
|||||||
- gs-sites
|
- gs-sites
|
||||||
summary: Update the Records Management (RM) site
|
summary: Update the Records Management (RM) site
|
||||||
description: |
|
description: |
|
||||||
**Note:** this endpoint is available in Records Management 2.6 and newer versions.
|
|
||||||
|
|
||||||
Update the details for the RM site. Site Manager or other (site) admin can update title or description.
|
Update the details for the RM site. Site Manager or other (site) admin can update title or description.
|
||||||
|
|
||||||
@@ -795,7 +791,7 @@ paths:
|
|||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- unfiled-record-folders
|
- unfiled-record-folders
|
||||||
summary : Delete an unfiled record folder
|
summary : Delete an unfiled record folder. Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||||
description: |
|
description: |
|
||||||
Deletes the unfiled record folder **unfiledRecordFolderId**.
|
Deletes the unfiled record folder **unfiledRecordFolderId**.
|
||||||
operationId: deleteUnfiledRecordFolder
|
operationId: deleteUnfiledRecordFolder
|
||||||
@@ -1403,7 +1399,7 @@ paths:
|
|||||||
- record-folders
|
- record-folders
|
||||||
summary : Delete a record folder
|
summary : Delete a record folder
|
||||||
description: |
|
description: |
|
||||||
Deletes record folder **recordFolderId**.
|
Deletes record folder **recordFolderId**. Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||||
operationId: deleteRecordFolder
|
operationId: deleteRecordFolder
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/recordFolderIdParam'
|
- $ref: '#/parameters/recordFolderIdParam'
|
||||||
@@ -1661,7 +1657,7 @@ paths:
|
|||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
- in: body
|
- in: body
|
||||||
name: recordBodyUpdate
|
name: recordBodyUpdate
|
||||||
description: The node information to update.
|
description: The record information to update.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/FilePlanComponentBodyUpdate'
|
$ref: '#/definitions/FilePlanComponentBodyUpdate'
|
||||||
@@ -1694,7 +1690,7 @@ paths:
|
|||||||
- records
|
- records
|
||||||
summary : Delete a record
|
summary : Delete a record
|
||||||
description: |
|
description: |
|
||||||
Deletes the record **recordId**.
|
Deletes the record **recordId**. Deleted file plan components cannot be recovered, they are deleted permanently.
|
||||||
operationId: deleteRecord
|
operationId: deleteRecord
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/recordIdParam'
|
- $ref: '#/parameters/recordIdParam'
|
||||||
@@ -1756,7 +1752,7 @@ paths:
|
|||||||
description: |
|
description: |
|
||||||
Files the record **recordId** in the target record folder.
|
Files the record **recordId** in the target record folder.
|
||||||
|
|
||||||
You can specify the target record folder by providing its id **targetParentId**
|
You need to specify the target record folder by providing its id **targetParentId**
|
||||||
|
|
||||||
If the record is already filed, a link to the target record folder is created.
|
If the record is already filed, a link to the target record folder is created.
|
||||||
|
|
||||||
@@ -1805,7 +1801,7 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- files
|
- files
|
||||||
summary: Declare as record
|
summary: Declare as record
|
||||||
description: Declares the file **fileId** in the unfiled records container.
|
description: Declares the file **fileId** in the unfiled records container. The original file is moved to the Records Management site and a secondary parent association is created in the file's original site.
|
||||||
operationId: declareRecord
|
operationId: declareRecord
|
||||||
parameters:
|
parameters:
|
||||||
- name: fileId
|
- name: fileId
|
||||||
|
Reference in New Issue
Block a user