ivoa-std / DataLink

DataLink standard (DAL)
3 stars 6 forks source link

Inconsistency about behaviour without ID parameter #95

Closed mbtaylor closed 1 year ago

mbtaylor commented 1 year ago

I think there's a discrepancy between Section 2.1.1 and Section 3.4 concerning what happens if no ID parameter is supplied to the {links} endpoint.

Sec 2.1.1 says:

"If the client submits no ID values, the service must respond with a normal response (e.g. an empty results table for VOTable output)."

implying it's legitimate to supply no ID, but Sec 3.4 says:

"The error handling specified for DALI-sync resources applies to service failure (where no links can be generated) and to the usage error where no ID parameter is specified."

implying that supplying no ID is an error. If authors agree this is a discrepancy I'd suggest removing the text " and to the usage error where no ID parameter is specified".

msdemlei commented 1 year ago

On Thu, Feb 09, 2023 at 04:33:52AM -0800, Mark Taylor wrote:

implying that supplying no ID is an error. If authors agree this is a discrepancy I'd suggest removing the text " and to the usage error where no ID parameter is specified".

Agreed.