It returns the UUID of the new item which is not the same as a location URI:
This, most likely will require a new PGUtil.post with a separate "prefix" parameter.
This test fails .. in MyItemsApiTest
Expected location header:
or (complete path)
or (last path segment + slash + UUID)
Actual location header:
This relative URI resolves to this wrong absolute URI: http://localhost:9230/528bd1cb-676a-4c15-838a-652afe1f1c1c
The Location, obviously, has not been used in much client software because the UUID is also returned in the body as "id" property. The error was seen by coincidence with mod-configuration which has a test that uses returned Location header.
For most endpoints we use the collection rtype that declares to return a correct Location header: https://github.com/folio-org/raml/blob/raml1.0/rtypes/collection.raml#L51