7.4.5.1 Run a PGQL Query Asynchronously
HTTP Request: GET https://localhost:7007/ui/v1/async-query?pgql=<PGQL query>&graph=<graph>¶llelism=<value>&size=<size value>
See Table 7-3 for more information on query parameters.
Request
The following curl
command executes a PGQL query asynchronously on a property graph:
curl --cacert /etc/oracle/graph/ca_certificate.pem -b cookie.txt 'https://localhost:7007/ui/v1/async-query?pgql=SELECT%20e%0AMATCH%20()-%5Be%5D-%3E()%0ALIMIT%205&graph=hr¶llelism=&size=100'
Response: None.
Note:
An error message will be returned in case the query is malformed or if the graph does not exist.Parent topic: Asynchronous REST Endpoints