Skip to content

Commit ebb5c89

Browse files
chore: sdk update
1 parent 28b14ab commit ebb5c89

406 files changed

Lines changed: 1153 additions & 392 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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Class | Method | HTTP request | Description
134134
*ReachContactsApi* | [**deleteAContactV1**](docs/Api/ReachContactsApi.md#deleteacontactv1) | **DELETE** /api/reach/v1/contacts/{uuid} | Delete a contact
135135
*ReachContactsApi* | [**listContactGroupsV1**](docs/Api/ReachContactsApi.md#listcontactgroupsv1) | **GET** /api/reach/v1/contacts/groups | List contact groups
136136
*ReachContactsApi* | [**listContactsV1**](docs/Api/ReachContactsApi.md#listcontactsv1) | **GET** /api/reach/v1/contacts | List contacts
137+
*ReachProfilesApi* | [**getProfileDomainDNSStatusV1**](docs/Api/ReachProfilesApi.md#getprofiledomaindnsstatusv1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains/dns-status | Get profile domain DNS status
137138
*ReachProfilesApi* | [**listProfilesV1**](docs/Api/ReachProfilesApi.md#listprofilesv1) | **GET** /api/reach/v1/profiles | List Profiles
138139
*ReachSegmentsApi* | [**createANewContactSegmentV1**](docs/Api/ReachSegmentsApi.md#createanewcontactsegmentv1) | **POST** /api/reach/v1/segmentation/segments | Create a new contact segment
139140
*ReachSegmentsApi* | [**getSegmentDetailsV1**](docs/Api/ReachSegmentsApi.md#getsegmentdetailsv1) | **GET** /api/reach/v1/segmentation/segments/{segmentUuid} | Get segment details
@@ -315,6 +316,10 @@ Class | Method | HTTP request | Description
315316
- [ReachV1ContactsSegmentsStoreRequestConditionsInner](docs/Model/ReachV1ContactsSegmentsStoreRequestConditionsInner.md)
316317
- [ReachV1ContactsSegmentsStoreRequestConditionsInnerValue](docs/Model/ReachV1ContactsSegmentsStoreRequestConditionsInnerValue.md)
317318
- [ReachV1ContactsStoreRequest](docs/Model/ReachV1ContactsStoreRequest.md)
319+
- [ReachV1ProfilesDomainsDnsRecordStatus](docs/Model/ReachV1ProfilesDomainsDnsRecordStatus.md)
320+
- [ReachV1ProfilesDomainsDnsRecordStatusActualInner](docs/Model/ReachV1ProfilesDomainsDnsRecordStatusActualInner.md)
321+
- [ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner](docs/Model/ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner.md)
322+
- [ReachV1ProfilesDomainsDnsStatusResource](docs/Model/ReachV1ProfilesDomainsDnsStatusResource.md)
318323
- [ReachV1ProfilesProfileResource](docs/Model/ReachV1ProfilesProfileResource.md)
319324
- [ReachV1ProfilesProfileResourceLimits](docs/Model/ReachV1ProfilesProfileResourceLimits.md)
320325
- [ReachV1ProfilesProfileResourceProfilesInner](docs/Model/ReachV1ProfilesProfileResourceProfilesInner.md)

docs/Api/ReachProfilesApi.md

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

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |
7+
| [**getProfileDomainDNSStatusV1()**](ReachProfilesApi.md#getProfileDomainDNSStatusV1) | **GET** /api/reach/v1/profiles/{profileUuid}/domains/dns-status | Get profile domain DNS status |
78
| [**listProfilesV1()**](ReachProfilesApi.md#listProfilesV1) | **GET** /api/reach/v1/profiles | List Profiles |
89

910

11+
## `getProfileDomainDNSStatusV1()`
12+
13+
```php
14+
getProfileDomainDNSStatusV1($profileUuid): \Hostinger\Model\ReachV1ProfilesDomainsDnsStatusResource
15+
```
16+
17+
Get profile domain DNS status
18+
19+
Retrieve the DNS configuration status for a profile's domain. This endpoint reports the state of MX, SPF, DKIM and DMARC records, including the actual records found and the suggested records required for correct email delivery.
20+
21+
### Example
22+
23+
```php
24+
<?php
25+
require_once(__DIR__ . '/vendor/autoload.php');
26+
27+
28+
// Configure Bearer authorization: apiToken
29+
$config = Hostinger\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
30+
31+
32+
$apiInstance = new Hostinger\Api\ReachProfilesApi(config: $config);
33+
$profileUuid = 550e8400-e09b-41d4-a716-400055000000; // string | Profile uuid parameter
34+
35+
try {
36+
$result = $apiInstance->getProfileDomainDNSStatusV1($profileUuid);
37+
print_r($result);
38+
} catch (Exception $e) {
39+
echo 'Exception when calling ReachProfilesApi->getProfileDomainDNSStatusV1: ', $e->getMessage(), PHP_EOL;
40+
}
41+
```
42+
43+
### Parameters
44+
45+
| Name | Type | Description | Notes |
46+
| ------------- | ------------- | ------------- | ------------- |
47+
| **profileUuid** | **string**| Profile uuid parameter | |
48+
49+
### Return type
50+
51+
[**\Hostinger\Model\ReachV1ProfilesDomainsDnsStatusResource**](../Model/ReachV1ProfilesDomainsDnsStatusResource.md)
52+
53+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
54+
[[Back to Model list]](../../README.md#models)
55+
[[Back to README]](../../README.md)
56+
1057
## `listProfilesV1()`
1158

1259
```php
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# # ReachV1ProfilesDomainsDnsRecordStatus
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**actual** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatusActualInner[]**](ReachV1ProfilesDomainsDnsRecordStatusActualInner.md) | |
8+
**suggested** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner[]**](ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner.md) | |
9+
**isValid** | **bool** | |
10+
11+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# # ReachV1ProfilesDomainsDnsRecordStatusActualInner
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | **string** | |
8+
**value** | **string** | |
9+
10+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# # ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **string** | |
8+
**type** | **string** | |
9+
**value** | **string** | |
10+
11+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# # ReachV1ProfilesDomainsDnsStatusResource
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**domain** | **string** | |
8+
**mx** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatus**](ReachV1ProfilesDomainsDnsRecordStatus.md) | |
9+
**spf** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatus**](ReachV1ProfilesDomainsDnsRecordStatus.md) | |
10+
**dkim** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatus**](ReachV1ProfilesDomainsDnsRecordStatus.md) | |
11+
**dmarc** | [**\Hostinger\Model\ReachV1ProfilesDomainsDnsRecordStatus**](ReachV1ProfilesDomainsDnsRecordStatus.md) | |
12+
13+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

src/Api/BillingCatalogApi.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: 0.19.2
8+
* API Version: 0.19.3
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/BillingPaymentMethodsApi.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: 0.19.2
8+
* API Version: 0.19.3
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/BillingSubscriptionsApi.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: 0.19.2
8+
* API Version: 0.19.3
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/DNSSnapshotApi.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: 0.19.2
8+
* API Version: 0.19.3
99
* @url https://github.com/hostinger/api-php-sdk
1010
*
1111
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!

0 commit comments

Comments
 (0)