chore: sdk update · hostinger/api-php-sdk@3f8145e · GitHub
Skip to content

Commit 3f8145e

Browse files
chore: sdk update
1 parent 169fcee commit 3f8145e

1,297 files changed

Lines changed: 1320 additions & 1320 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 2 additions & 2 deletions

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hostinger/api-php-sdk",
3-
"version": "1.65.0",
3+
"version": "1.65.1",
44
"description": "Hostinger API PHP SDK",
55
"keywords": [
66
"hostinger",

‎docs/Api/AgentReadinessScansApi.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ All URIs are relative to https://developers.hostinger.com, except if the operati
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |
7-
| [**getWebsiteScanV1()**](AgentReadinessScansApi.md#getWebsiteScanV1) | **GET** /api/agent-readiness/v1/scans/{domain} | Get website scan |
8-
| [**runWebsiteScanV1()**](AgentReadinessScansApi.md#runWebsiteScanV1) | **POST** /api/agent-readiness/v1/scans | Run website scan |
7+
| [**getAgentReadinessScanV1()**](AgentReadinessScansApi.md#getAgentReadinessScanV1) | **GET** /api/agent-readiness/v1/scans/{domain} | Get agent readiness scan |
8+
| [**runAgentReadinessScanV1()**](AgentReadinessScansApi.md#runAgentReadinessScanV1) | **POST** /api/agent-readiness/v1/scans | Run agent readiness scan |
99

1010

11-
## `getWebsiteScanV1()`
11+
## `getAgentReadinessScanV1()`
1212

1313
```php
14-
getWebsiteScanV1($domain): \Hostinger\Model\AgentReadinessV1ScansScanResource
14+
getAgentReadinessScanV1($domain): \Hostinger\Model\AgentReadinessV1ScansScanResource
1515
```
1616

17-
Get website scan
17+
Get agent readiness scan
1818

19-
Get the latest agent readiness scan of a website.\\n Scans started with the `Run website scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run website scan` operation first.
19+
Get the latest agent readiness scan of a website.\\n Scans started with the `Run agent readiness scan` operation are asynchronous. While the status is `pending`, the result fields are null; wait a few seconds and call this operation again until the status is `completed` or `failed`. A `failed` scan is not retried; run the scan again.\\n A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every check with the evidence found and how to fix it. Check names are listed by the `List checks` operation.\\n Returns 404 when the domain has never been scanned; use the `Run agent readiness scan` operation first.
2020

2121
### Example
2222

@@ -33,10 +33,10 @@ $apiInstance = new Hostinger\Api\AgentReadinessScansApi(config: $config);
3333
$domain = example.com; // string | Domain name the scan was run for
3434

3535
try {
36-
$result = $apiInstance->getWebsiteScanV1($domain);
36+
$result = $apiInstance->getAgentReadinessScanV1($domain);
3737
print_r($result);
3838
} catch (Exception $e) {
39-
echo 'Exception when calling AgentReadinessScansApi->getWebsiteScanV1: ', $e->getMessage(), PHP_EOL;
39+
echo 'Exception when calling AgentReadinessScansApi->getAgentReadinessScanV1: ', $e->getMessage(), PHP_EOL;
4040
}
4141
```
4242

@@ -54,15 +54,15 @@ try {
5454
[[Back to Model list]](../../README.md#models)
5555
[[Back to README]](../../README.md)
5656

57-
## `runWebsiteScanV1()`
57+
## `runAgentReadinessScanV1()`
5858

5959
```php
60-
runWebsiteScanV1($agentReadinessV1ScansRunScanRequest): \Hostinger\Model\AgentReadinessV1ScansScanResource
60+
runAgentReadinessScanV1($agentReadinessV1ScansRunScanRequest): \Hostinger\Model\AgentReadinessV1ScansScanResource
6161
```
6262

63-
Run website scan
63+
Run agent readiness scan
6464

65-
Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get website scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
65+
Start a scan of how ready a public website is for AI agents to discover, read and act on.\\n Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually `pending` with no results yet. To get the results, poll the `Get agent readiness scan` operation with the same domain every few seconds until its status is `completed` or `failed`. The scan itself is limited to 60 seconds, plus any time it waits in the queue. A `failed` scan is not retried; run this operation again.\\n Starting a scan for a domain that already has a pending scan from the last 5 minutes returns that scan instead of starting a new one.
6666

6767
### Example
6868

@@ -79,10 +79,10 @@ $apiInstance = new Hostinger\Api\AgentReadinessScansApi(config: $config);
7979
$agentReadinessV1ScansRunScanRequest = new \Hostinger\Model\AgentReadinessV1ScansRunScanRequest(); // \Hostinger\Model\AgentReadinessV1ScansRunScanRequest
8080

8181
try {
82-
$result = $apiInstance->runWebsiteScanV1($agentReadinessV1ScansRunScanRequest);
82+
$result = $apiInstance->runAgentReadinessScanV1($agentReadinessV1ScansRunScanRequest);
8383
print_r($result);
8484
} catch (Exception $e) {
85-
echo 'Exception when calling AgentReadinessScansApi->runWebsiteScanV1: ', $e->getMessage(), PHP_EOL;
85+
echo 'Exception when calling AgentReadinessScansApi->runAgentReadinessScanV1: ', $e->getMessage(), PHP_EOL;
8686
}
8787
```
8888

‎src/Api/AgencyHostingCacheApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingCronJobsApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingDatabasesApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingDatacentersApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingDomainsApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingFilesApi.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Hostinger API PHP SDK
77
*
8-
* API Version: 1.67.0
8+
* API Version: 1.67.1
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

‎src/Api/AgencyHostingMetricsApi.php‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)