There is a RestAPI to create a node as
We can set properties in the JSON body as shown at (*1) when we create a new node, but it fails to create a node when we set a wrong value to cm:creator like we set a username, which does not exist in the repository. This is expected as cm:creator is one of the cm:auditable aspect as a mandatory property. Although, we get "201 successful response". We should be able to get the failed response.
Steps to reproduce
1. Run the create node POST RestAPI query with the following JSON Body. Note: Please make sure to set the username to cm:creator, which does not exist in the repository.
(*1) Request JSON Body
Here is the example query.
it outputs the 201 successful response with this output, but we cannot see the node uuid-3a8476ee-0f10-4255-9de1-ee1a76449788 in the database nor Alfresco Share under the parent
It should outputs the failed response