https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35197

--- Comment #25 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Victor Grousset/tuxayo from comment #16)
> There is no 404 case, it returns [ ] if tablename doesn't match an existing
> one.

This is a plural endpoint. Meaning it is expected to return an array. An empty
one if the query returns no results.

With my follow-up, the (renamed to resource_type) table_name attribute will get
its values validated beforehand, as Pedro said. So a 400 will get returned if
the request doesn't conform to the spec.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to