Skip to content

Commit 54b39cf

Browse files
committed
Add release notes
1 parent f959fc0 commit 54b39cf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

doc/release-notes-24098.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Notable changes
2+
===============
3+
4+
Updated REST APIs
5+
-----------------
6+
7+
- The `/headers/` and `/blockfilterheaders/` endpoints have been updated to use
8+
a query parameter instead of path parameter to specify the result count. The
9+
count parameter is now optional, and defaults to 5 for both endpoints. The old
10+
endpoints are still functional, and have no documented behaviour change.
11+
12+
For `/headers`, use
13+
`GET /rest/headers/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>`
14+
instead of
15+
`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>` (deprecated)
16+
17+
For `/blockfilterheaders/`, use
18+
`GET /rest/blockfilterheaders/<FILTERTYPE>/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>`
19+
instead of
20+
`GET /rest/blockfilterheaders/<FILTERTYPE>/<COUNT>/<BLOCK-HASH>.<bin|hex|json>` (deprecated)
21+
22+
(#24098)

0 commit comments

Comments
 (0)