Returns the parameters of the Conduit methods.
Conduit conduit.query
conduit.query
conduit.query
API Method: conduit.query
API Method: conduit.query
Login Required: This method requires authentication. You must log in before you can make calls to it.
- Summary
- Returns the parameters of the Conduit methods.
- Returns
- dict<dict>
- Errors
- ERR-CONDUIT-CORE: See error message for details.
- OAuth Scope
- OAuth clients may always call this method.
Method Description
Method Description
Call Method
Call Method
Examples
Examples
- Use the Conduit API Tokens panel in Settings to generate or manage API tokens.
- If you submit parameters, these examples will update to show exactly how to encode the parameters you submit.
$ echo <json-parameters> | arc call-conduit --conduit-uri https://gitpull.it/ --conduit-token <conduit-token> -- conduit.query
$ curl https://gitpull.it/api/conduit.query \
-d api.token=api-token \
-d param=value \
...
-d api.token=api-token \
-d param=value \
...
<?php
require_once 'path/to/arcanist/support/init/init-script.php';
$api_token = "<api-token>";
$api_parameters = array(<parameters>);
$client = new ConduitClient('https://gitpull.it/');
$client->setConduitToken($api_token);
$result = $client->callMethodSynchronous('conduit.query', $api_parameters);
print_r($result);
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register