RFC Errata
RFC 8620, "The JSON Meta Application Protocol (JMAP)", July 2019
Note: This RFC has been updated by RFC 9404
Source of RFC: jmap (art)
Errata ID: 6605
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Neil Jenkins
Date Reported: 2021-06-09
Section 5.5 says:
o position: "UnsignedInt" The zero-based index of the first result in the "ids" array within the complete list of query results.
It should say:
o position: "UnsignedInt" The zero-based index of the first result in the "ids" array within the complete list of query results. If the "ids" array is empty, the value is undefined and MUST NOT be used by the client.
Notes:
The position response argument in "/query" is only defined when there is at least one id returned in the response. Make it clearer that when there are no ids returned, the client cannot rely on it being any particular value.