All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
idfaDeclarationsCreateInstance | POST /v1/idfaDeclarations | |
idfaDeclarationsDeleteInstance | DELETE /v1/idfaDeclarations/{id} | |
idfaDeclarationsUpdateInstance | PATCH /v1/idfaDeclarations/{id} |
\OpenAPI\Client\Model\IdfaDeclarationResponse idfaDeclarationsCreateInstance($idfa_declaration_create_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: itc-bearer-token
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\IdfaDeclarationsApi(
// 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
);
$idfa_declaration_create_request = new \OpenAPI\Client\Model\IdfaDeclarationCreateRequest(); // \OpenAPI\Client\Model\IdfaDeclarationCreateRequest | IdfaDeclaration representation
try {
$result = $apiInstance->idfaDeclarationsCreateInstance($idfa_declaration_create_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IdfaDeclarationsApi->idfaDeclarationsCreateInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
idfa_declaration_create_request | \OpenAPI\Client\Model\IdfaDeclarationCreateRequest | IdfaDeclaration representation |
\OpenAPI\Client\Model\IdfaDeclarationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
idfaDeclarationsDeleteInstance($id)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: itc-bearer-token
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\IdfaDeclarationsApi(
// 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
);
$id = 'id_example'; // string | the id of the requested resource
try {
$apiInstance->idfaDeclarationsDeleteInstance($id);
} catch (Exception $e) {
echo 'Exception when calling IdfaDeclarationsApi->idfaDeclarationsDeleteInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource |
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]
\OpenAPI\Client\Model\IdfaDeclarationResponse idfaDeclarationsUpdateInstance($id, $idfa_declaration_update_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: itc-bearer-token
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\IdfaDeclarationsApi(
// 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
);
$id = 'id_example'; // string | the id of the requested resource
$idfa_declaration_update_request = new \OpenAPI\Client\Model\IdfaDeclarationUpdateRequest(); // \OpenAPI\Client\Model\IdfaDeclarationUpdateRequest | IdfaDeclaration representation
try {
$result = $apiInstance->idfaDeclarationsUpdateInstance($id, $idfa_declaration_update_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IdfaDeclarationsApi->idfaDeclarationsUpdateInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
idfa_declaration_update_request | \OpenAPI\Client\Model\IdfaDeclarationUpdateRequest | IdfaDeclaration representation |
\OpenAPI\Client\Model\IdfaDeclarationResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]