All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| crawlersCreate() | POST /api/v2/organizations/{organization}/projects/{project}/crawlers | Create a new crawler |
| crawlersDelete() | DELETE /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler} | Delete a crawler |
| crawlersGetRunById() | GET /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/runs/{run_id} | Get a run by ID |
| crawlersGetRuns() | GET /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/runs | Get all runs for a crawler |
| crawlersList() | GET /api/v2/organizations/{organization}/projects/{project}/crawlers | List crawlers for the project |
| crawlersRead() | GET /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler} | Get details of a single crawler |
| crawlersRun() | POST /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/run | Run a crawler |
| crawlersUpdate() | PATCH /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler} | Update a crawler |
crawlersCreate($organization, $project, $v2_crawler_request): \QuantClient\Model\V2CrawlerCreate a new crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$v2_crawler_request = new \QuantClient\Model\V2CrawlerRequest(); // \QuantClient\Model\V2CrawlerRequest
try {
$result = $apiInstance->crawlersCreate($organization, $project, $v2_crawler_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersCreate: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| v2_crawler_request | \QuantClient\Model\V2CrawlerRequest |
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersDelete($organization, $project, $crawler)Delete a crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | The UUID of the crawler
try {
$apiInstance->crawlersDelete($organization, $project, $crawler);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersDelete: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | The UUID of the crawler |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersGetRunById($organization, $project, $crawler, $run_id): \QuantClient\Model\V2CrawlerRunGet a run by ID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | Crawler identifier
$run_id = 1; // int | Run identifier
try {
$result = $apiInstance->crawlersGetRunById($organization, $project, $crawler, $run_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersGetRunById: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | Crawler identifier | |
| run_id | int | Run identifier |
\QuantClient\Model\V2CrawlerRun
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersGetRuns($organization, $project, $crawler): \QuantClient\Model\V2CrawlerRun[]Get all runs for a crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | Crawler identifier
try {
$result = $apiInstance->crawlersGetRuns($organization, $project, $crawler);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersGetRuns: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | Crawler identifier |
\QuantClient\Model\V2CrawlerRun[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersList($organization, $project)List crawlers for the project
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
try {
$apiInstance->crawlersList($organization, $project);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersList: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersRead($organization, $project, $crawler): \QuantClient\Model\V2CrawlerGet details of a single crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | The UUID of the crawler
try {
$result = $apiInstance->crawlersRead($organization, $project, $crawler);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersRead: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | The UUID of the crawler |
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersRun($organization, $project, $crawler, $crawlers_run_request): \QuantClient\Model\CrawlersRun200ResponseRun a crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | Crawler identifier
$crawlers_run_request = new \QuantClient\Model\CrawlersRunRequest(); // \QuantClient\Model\CrawlersRunRequest
try {
$result = $apiInstance->crawlersRun($organization, $project, $crawler, $crawlers_run_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersRun: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | Crawler identifier | |
| crawlers_run_request | \QuantClient\Model\CrawlersRunRequest | [optional] |
\QuantClient\Model\CrawlersRun200Response
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crawlersUpdate($organization, $project, $crawler, $v2_crawler_request): \QuantClient\Model\V2CrawlerUpdate a crawler
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\CrawlersApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organization = test-org; // string | Organization identifier
$project = test-project; // string | Project identifier
$crawler = 00000000-0000-0000-0000-000000000000; // string | The UUID of the crawler
$v2_crawler_request = new \QuantClient\Model\V2CrawlerRequest(); // \QuantClient\Model\V2CrawlerRequest
try {
$result = $apiInstance->crawlersUpdate($organization, $project, $crawler, $v2_crawler_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CrawlersApi->crawlersUpdate: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organization | string | Organization identifier | |
| project | string | Project identifier | |
| crawler | string | The UUID of the crawler | |
| v2_crawler_request | \QuantClient\Model\V2CrawlerRequest |
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]