Stream: hapi
Topic: Period in generated ID's
Thomas Stigsen (Mar 02 2020 at 10:46):
I just discovered resources in my HAPI repository with weird ID's...
Our ressource ID's are just sequential numbers, like
"id": "57140",
But now I see resources with long generated ID's with periods in them.
"id": "0.7926044446109661"
These resources are created in a transactional bundle.
Other resources created in the same bundle has got ID's with "proper" syntax (ie. no periods)
I wonder if this behaviour is caused by us trying to create too many resources in one go?, and that the HAPI server can't reserve more than x number of "proper" ID's?
Is this something that we can configure on the client/server?
Thanks
James Agnew (Mar 03 2020 at 21:03):
I would assume those were created by client-assigned ID (i.e. create using an HTTP PUT). HAPI is not able to generate IDs that have dots in them.
Last updated: Apr 12 2022 at 19:14 UTC