You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the API specifications the objectIDs field of a search response is an integer array that defaults to []. However, when performing a search that yields no results (such as https://collectionapi.metmuseum.org/public/collection/v1/search?q=noresult) this is the response I receive from the API:
{"total":0,"objectIDs":null}
It seems the API and specs do not match up. This can be (and has been for me) an unexpected stumbling block.
The text was updated successfully, but these errors were encountered:
According to the API specifications the
objectIDs
field of a search response is an integer array that defaults to[]
. However, when performing a search that yields no results (such ashttps://collectionapi.metmuseum.org/public/collection/v1/search?q=noresult
) this is the response I receive from the API:It seems the API and specs do not match up. This can be (and has been for me) an unexpected stumbling block.
The text was updated successfully, but these errors were encountered: