couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Williams <space.ship.travel...@gmail.com>
Subject validate_doc_update response?
Date Sun, 22 Jul 2012 08:07:25 GMT
Hi,

1/ I'm wondering what are valid responses to validate_doc_update? The query
services I've seen return either a hash {forbidden: "message"} or 1

Can I return true rather than 1? Seems more logical..

How do I report multiple failures? e.g. Title required, Author required.

2/ Why is the name "validate_doc_update" so verbose when compared with
"lists", "filters", etc? Why not just "validates"?

Thanks,
Samuel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message