I want to create a rewrite handler which makes a bulk entry eg:
< Code> "From": "/ CreateSomeStuff", "to": "../../_bulk_docs", "Method": "Post"This works fine. But the ID is also like the creation of the Request Body in the Rewriting Rules, the way in which the query was created in this example, I had to rewrite the URL:
"rewrite": [ {From "": "/ blog", "to": "_list / post / all", "a There is no way to do something like this: "": "/ CreateSomeStuff": {"descending": true, "border": 5}}],
, "To": "../../_bulk_docs", "method": "post", "request": {"body": {{"foo": true}, {"bar": false}}}
This is not possibly as far as I know although you probably set some default value Are trying. This can be done in another way. You must create an updated handler and rewrite the URL. Like I have the following rewriting:
{"from": "createStreamStream", "to": "../your_design_doc/_update/in-place", "method": "post" }
In your design document, you add something described here
Comments
Post a Comment