Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search/url endpoint response different length to request #29

Open
wilsonpage opened this issue Nov 15, 2016 · 2 comments
Open

search/url endpoint response different length to request #29

wilsonpage opened this issue Nov 15, 2016 · 2 comments

Comments

@wilsonpage
Copy link
Contributor

wilsonpage commented Nov 15, 2016

If the API is called with 3 urls:

POST [url1, url2, url3]

and a match can only be found for one, the response is:

[url1]

This makes it difficult to map items responses back to item requests.

+@samgiles

@wilsonpage
Copy link
Contributor Author

The response should be more like:

[{data}, {}, {}]

or

[{data}, false, false]

@wilsonpage
Copy link
Contributor Author

After digging a little deeper it appear that maybe the response array only ever contains the first item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant