yes, that is how the id field works in the v1 changelist API, but may I ask why you are using the old/original version? Are you needing to support very old (at this point, unsupported) releases of OneFS? Unless you are, I would strongly recommend using one of two the newer API endpoints, either
8/snapshot/changelists//entries
or
10/snapshot/changelists//entries
In both cases, the new entries endpoint gives much more information, and it provides a lin attribute that is always the lin, separate from the id attribute which, as you saw, also contains hidden flags in the upper byte.
tenortim
36 Posts
0
June 13th, 2022 07:00
Hello @SadhanaP ,
yes, that is how the id field works in the v1 changelist API, but may I ask why you are using the old/original version? Are you needing to support very old (at this point, unsupported) releases of OneFS? Unless you are, I would strongly recommend using one of two the newer API endpoints, either
or
In both cases, the new entries endpoint gives much more information, and it provides a lin attribute that is always the lin, separate from the id attribute which, as you saw, also contains hidden flags in the upper byte.
Regards,
Tim
SadhanaP
10 Posts
0
June 16th, 2022 04:00
Hi Tim,
Thanks for the information. I was just exploring the apis, will try to use the suggested api.
Thanks