All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
appPreviewSetsAppPreviewsGetToManyRelated | GET /v1/appPreviewSets/{id}/appPreviews | |
appPreviewSetsAppPreviewsGetToManyRelationship | GET /v1/appPreviewSets/{id}/relationships/appPreviews | |
appPreviewSetsAppPreviewsReplaceToManyRelationship | PATCH /v1/appPreviewSets/{id}/relationships/appPreviews | |
appPreviewSetsCreateInstance | POST /v1/appPreviewSets | |
appPreviewSetsDeleteInstance | DELETE /v1/appPreviewSets/{id} | |
appPreviewSetsGetInstance | GET /v1/appPreviewSets/{id} |
\OpenAPI\Client\Model\AppPreviewsResponse appPreviewSetsAppPreviewsGetToManyRelated($id, $fields_app_previews, $fields_app_preview_sets, $limit, $include)
<?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\AppPreviewSetsApi(
// 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
$fields_app_previews = array('fields_app_previews_example'); // string[] | the fields to include for returned resources of type appPreviews
$fields_app_preview_sets = array('fields_app_preview_sets_example'); // string[] | the fields to include for returned resources of type appPreviewSets
$limit = 56; // int | maximum resources per page
$include = array('include_example'); // string[] | comma-separated list of relationships to include
try {
$result = $apiInstance->appPreviewSetsAppPreviewsGetToManyRelated($id, $fields_app_previews, $fields_app_preview_sets, $limit, $include);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsAppPreviewsGetToManyRelated: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
fields_app_previews | string[] | the fields to include for returned resources of type appPreviews | [optional] |
fields_app_preview_sets | string[] | the fields to include for returned resources of type appPreviewSets | [optional] |
limit | int | maximum resources per page | [optional] |
include | string[] | comma-separated list of relationships to include | [optional] |
\OpenAPI\Client\Model\AppPreviewsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\AppPreviewSetAppPreviewsLinkagesResponse appPreviewSetsAppPreviewsGetToManyRelationship($id, $limit)
<?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\AppPreviewSetsApi(
// 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
$limit = 56; // int | maximum resources per page
try {
$result = $apiInstance->appPreviewSetsAppPreviewsGetToManyRelationship($id, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsAppPreviewsGetToManyRelationship: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
limit | int | maximum resources per page | [optional] |
\OpenAPI\Client\Model\AppPreviewSetAppPreviewsLinkagesResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
appPreviewSetsAppPreviewsReplaceToManyRelationship($id, $app_preview_set_app_previews_linkages_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\AppPreviewSetsApi(
// 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
$app_preview_set_app_previews_linkages_request = new \OpenAPI\Client\Model\AppPreviewSetAppPreviewsLinkagesRequest(); // \OpenAPI\Client\Model\AppPreviewSetAppPreviewsLinkagesRequest | List of related linkages
try {
$apiInstance->appPreviewSetsAppPreviewsReplaceToManyRelationship($id, $app_preview_set_app_previews_linkages_request);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsAppPreviewsReplaceToManyRelationship: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
app_preview_set_app_previews_linkages_request | \OpenAPI\Client\Model\AppPreviewSetAppPreviewsLinkagesRequest | List of related linkages |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\OpenAPI\Client\Model\AppPreviewSetResponse appPreviewSetsCreateInstance($app_preview_set_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\AppPreviewSetsApi(
// 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
);
$app_preview_set_create_request = new \OpenAPI\Client\Model\AppPreviewSetCreateRequest(); // \OpenAPI\Client\Model\AppPreviewSetCreateRequest | AppPreviewSet representation
try {
$result = $apiInstance->appPreviewSetsCreateInstance($app_preview_set_create_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsCreateInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_preview_set_create_request | \OpenAPI\Client\Model\AppPreviewSetCreateRequest | AppPreviewSet representation |
\OpenAPI\Client\Model\AppPreviewSetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
appPreviewSetsDeleteInstance($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\AppPreviewSetsApi(
// 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->appPreviewSetsDeleteInstance($id);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsDeleteInstance: ', $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\AppPreviewSetResponse appPreviewSetsGetInstance($id, $fields_app_preview_sets, $include, $fields_app_previews, $limit_app_previews)
<?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\AppPreviewSetsApi(
// 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
$fields_app_preview_sets = array('fields_app_preview_sets_example'); // string[] | the fields to include for returned resources of type appPreviewSets
$include = array('include_example'); // string[] | comma-separated list of relationships to include
$fields_app_previews = array('fields_app_previews_example'); // string[] | the fields to include for returned resources of type appPreviews
$limit_app_previews = 56; // int | maximum number of related appPreviews returned (when they are included)
try {
$result = $apiInstance->appPreviewSetsGetInstance($id, $fields_app_preview_sets, $include, $fields_app_previews, $limit_app_previews);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppPreviewSetsApi->appPreviewSetsGetInstance: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | the id of the requested resource | |
fields_app_preview_sets | string[] | the fields to include for returned resources of type appPreviewSets | [optional] |
include | string[] | comma-separated list of relationships to include | [optional] |
fields_app_previews | string[] | the fields to include for returned resources of type appPreviews | [optional] |
limit_app_previews | int | maximum number of related appPreviews returned (when they are included) | [optional] |
\OpenAPI\Client\Model\AppPreviewSetResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]