We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
api/cards/{id}/exists
returns a 200 response if the element was found with: { "exists": true }
{ "exists": true }
otherwise it returns a 404 error:
{ "error": { "name": "Error", "status": 404, "message": "Unknown \"card\" id \"2\".", "statusCode": 404, "stack": "Error: Unknown \"card\" id \"2\".\n at Function.setRemoting.rest.after ...." } }
The proper behavior when the object is not found is to return a 200 response with: { "exists": false }
{ "exists": false }
otherwise there is no point in reading the returned attribute.
The text was updated successfully, but these errors were encountered:
reproducible, reporting as a bug
Sorry, something went wrong.
Make sure GET /:id/exists returns 200 {exists: true|false}
e0ed755
#679
Fixed in #681
Thanks for the update!
No branches or pull requests
api/cards/{id}/exists
returns a 200 response if the element was found with:
{ "exists": true }
otherwise it returns a 404 error:
The proper behavior when the object is not found is to return a 200 response with:
{ "exists": false }
otherwise there is no point in reading the returned attribute.
The text was updated successfully, but these errors were encountered: