Accept: text/markdown on /query concatenates matched note bodies into one markdown document, each fragment preceded by an HTML-comment source marker. Adds __anw-order (frontmatter-key ordering, asc/desc, missing-key-last) and __anw-kind (homogeneity guard, 400 on a mixed merge). Both evaluate over the full matched set before __anw-limit truncates. Merge mode uses its own body-cloning projection; the JSON path is unchanged (no body clone).
8 lines
271 B
Text
8 lines
271 B
Text
# [ANW-26] __anw-kind=kind passes when every matched note carries the same
|
|
# value (both PDRs have kind: PDR).
|
|
GET {{host}}/query?__anw-path=Projects&kind=PDR&__anw-kind=kind
|
|
Accept: text/markdown
|
|
HTTP 200
|
|
[Asserts]
|
|
body contains "First PDR."
|
|
body contains "Second PDR."
|