Skip to content

Commit 117b76b

Browse files
docs: added examples for Microblocks and names API's (#1240)
1 parent e634b01 commit 117b76b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,13 +510,15 @@ paths:
510510
type: integer
511511
default: 20
512512
maximum: 200
513+
example: 100
513514
- name: offset
514515
in: query
515516
description: Index of the first microblock to fetch
516517
required: false
517518
example: 42000
518519
schema:
519520
type: integer
521+
example: 1000
520522
responses:
521523
200:
522524
description: List of microblocks
@@ -533,6 +535,7 @@ paths:
533535
required: true
534536
schema:
535537
type: string
538+
example: 0x044b6ee5bdc7d3cb16e9a263e892b8060b4f64c72900b02093b9f6fa74ae8a67
536539
get:
537540
summary: Get microblock
538541
description: Retrieves a specific microblock by `hash`

0 commit comments

Comments
 (0)