mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge remote-tracking branch 'remotes/origin/feature/RM-6792_V1RestAPI' into feature/RM-6796_DeclareAndFileTests
This commit is contained in:
@@ -148,7 +148,7 @@ public class FilesEntityResource implements InitializingBean
|
||||
{
|
||||
// Get record folder, if provided
|
||||
NodeRef targetParent = null;
|
||||
String targetParentId = parameters.getParameter(RMNode.PARAM_PARENT_ID);
|
||||
final String targetParentId = parameters.getParameter(RMNode.PARAM_PARENT_ID);
|
||||
if (targetParentId != null)
|
||||
{
|
||||
targetParent = apiUtils.lookupAndValidateNodeType(targetParentId, RecordsManagementModel.TYPE_RECORD_FOLDER);
|
||||
|
@@ -1873,14 +1873,14 @@ paths:
|
||||
$ref: '#/definitions/RecordEntry'
|
||||
'400':
|
||||
description: |
|
||||
Invalid parameter: **fileId** is not a valid format
|
||||
Invalid parameter: **fileId** is not a valid format or **parentId** is not a valid format
|
||||
'401':
|
||||
description: Authentication failed
|
||||
'403':
|
||||
description: Current user does not have permission to declare a record
|
||||
'404':
|
||||
description: |
|
||||
**fileId** does not exist
|
||||
**fileId** does not exist or **parentId** does not exist
|
||||
'422':
|
||||
description: |
|
||||
Model integrity exception: the action breaks system's integrity restrictions
|
||||
|
Reference in New Issue
Block a user