Overview
Use a known resource, such as a validator, to query for more details about it and the resources it’s built on. This recipe uses a validator ID and fetches details about the validator, its source, segmentation, and window, using fragments where possible.Steps
1
Create a fragment
Fragments are reusable building blocks across one or more queries. This fragment expands the details of a tag, and is used for both the validator’s tags and the source’s tags.
2
Construct the query
Write a
validator query that selects the fields you need. For the available fields, see the API documentation.Full code sample
Python