Execute a batch query
Functions exactly like the POST version of the endpoint with all parameters passed in the query string instead of the body.
Query parameters
Query to execute (e.g. SQL)
Dialect of the query
Number of leading records to skip when returning result (used for pagination)
Maximum number of records to return (used for pagination)
How the output data should be encoded
How to encode the schema of the result
What information to include in the response
Response
Example response
{
"commitment": {
"inputHash": "f162070983d692f648185febe6d6fa607630ae68649f7e6fc45b94680096c06e4fadb",
"outputHash": "f162070983d692f648185febe6d6fa607630ae68649f7e6fc45b94680096c06e4fadb",
"subQueriesHash": "f162070983d692f648185febe6d6fa607630ae68649f7e6fc45b94680096c06e4fadb"
},
"input": {
"datasets": [
{
"alias": "kamu/eth-to-usd",
"blockHash": "f162070983d692f648185febe6d6fa607630ae68649f7e6fc45b94680096c06e4fadb",
"id": "did:odf:fed01969b7413a41f25ba969b7413a41f25ba4016461736574607650ec170632ade10"
}
],
"query": "select event_time, from, to, close from \"kamu/eth-to-usd\""
},
"proof": {
"proofValue": "uAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"verificationMethod": "did:key:z6MkmgVreHBu2ABaD59Jq1J2JneXwzpsUWwEWXS4kLhjb4V4"
},
"subQueries": []
}Changes
Changed in 3 of the 53 revisions of this API.2810
- ●
added the new
EcdsaSecp256k1Signature2019enum value to theproof/typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
EcdsaSecp256k1Signature2019enum value to thesubQueries/items/proof/typeresponse property for the response status200response-property-enum-value-added
- ●
- ●
added the new
OdfJsonenum value to theinput/schemaFormatresponse property for the response status200response-property-enum-value-added
- ●
added the new
OdfJsonenum value to theoutput/schemaFormatresponse property for the response status200response-property-enum-value-added
- ●
added the new
OdfJsonenum value to thesubQueries/items/input/schemaFormatresponse property for the response status200response-property-enum-value-added
- ●
added the new
OdfYamlenum value to theinput/schemaFormatresponse property for the response status200response-property-enum-value-added
- ●
added the new
OdfYamlenum value to theoutput/schemaFormatresponse property for the response status200response-property-enum-value-added
- ●
added the new
OdfYamlenum value to thesubQueries/items/input/schemaFormatresponse property for the response status200response-property-enum-value-added
- ○
added the new enum value
OdfJsonto thequeryrequest parameterschemaFormatrequest-parameter-enum-value-added
- ○
added the new enum value
OdfYamlto thequeryrequest parameterschemaFormatrequest-parameter-enum-value-added
- ●
- ▲
removed the enum value
OdfJsonfrom thequeryrequest parameterschemaFormatrequest-parameter-enum-value-removed
- ▲
removed the enum value
OdfYamlfrom thequeryrequest parameterschemaFormatrequest-parameter-enum-value-removed
- ○
removed the
EcdsaSecp256k1Signature2019enum value from theproof/typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
EcdsaSecp256k1Signature2019enum value from thesubQueries/items/proof/typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfJsonenum value from theinput/schemaFormatresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfJsonenum value from theoutput/schemaFormatresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfJsonenum value from thesubQueries/items/input/schemaFormatresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfYamlenum value from theinput/schemaFormatresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfYamlenum value from theoutput/schemaFormatresponse property for the response status200response-property-enum-value-removed
- ○
removed the
OdfYamlenum value from thesubQueries/items/input/schemaFormatresponse property for the response status200response-property-enum-value-removed
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲