Documentation ¶
Overview ¶
Package asc is a Go client library for accessing Apple's App Store Connect API.
Usage ¶
Import the package as you normally would:
import "github.com/tutorioapp/asc-go/asc"
Construct a new App Store Connect client, then use the various services on the client to access different parts of the App Store Connect API. For example:
client := asc.NewClient(nil) // list all apps with the bundle ID "com.sky.MyApp" apps, _, err := client.Apps.ListApps(&asc.ListAppsQuery{ FilterBundleID: []string{"com.sky.MyApp"}, })
The client is divided into logical chunks closely corresponding to the layout and structure of Apple's own documentation at https://developer.apple.com/documentation/appstoreconnectapi.
For more sample code snippets, head over to the https://github.com/tutorioapp/asc-go/tree/main/examples directory.
Authentication ¶
You may find that the code snippet above will always fail due to a lack of authorization. The App Store Connect API has no methods that allow for unauthorized requests. To make it easy to authenticate with App Store Connect, the asc-go library offers a solution for signing and rotating JSON Web Tokens automatically. For example, the above snippet could be made to look a little more like this:
import ( "os" "time" "github.com/tutorioapp/asc-go/asc" ) func main() { // Key ID for the given private key, described in App Store Connect keyID := "...." // Issuer ID for the App Store Connect team issuerID := "...." // A duration value for the lifetime of a token. App Store Connect does not accept // a token with a lifetime of longer than 20 minutes expiryDuration = 20*time.Minute // The bytes of the PKCS#8 private key created on App Store Connect. Keep this key // safe as you can only download it once. privateKey = os.ReadFile("path/to/key") auth, err = asc.NewTokenConfig(keyID, issuerID, expiryDuration, privateKey) if err != nil { return nil, err } client := asc.NewClient(auth.Client()) // list all apps with the bundle ID "com.sky.MyApp" in the authenticated user's team apps, _, err := client.Apps.ListApps(&asc.ListAppsQuery{ FilterBundleID: []string{"com.sky.MyApp"}, }) }
The authenticated client created here will automatically regenerate the token if it expires. Also note that all App Store Connect APIs are scoped to the credentials of the pre-configured key, so you can't use this API to make queries against the entire App Store. For more information on creating the necessary credentials for the App Store Connect API, see the documentation at https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api.
Rate Limiting ¶
Apple imposes a rate limit on all API clients. The returned Response.Rate value contains the rate limit information from the most recent API call. If the API produces a rate limit error, it will be identifiable as an ErrorResponse with an error code of 429.
Learn more about rate limiting at https://developer.apple.com/documentation/appstoreconnectapi/identifying_rate_limits.
Pagination ¶
All requests for resource collections (apps, builds, beta groups, etc.) support pagination. Responses for paginated resources will contain a Links property of type PagedDocumentLinks, with Reference URLs for first, next, and self. A Reference can have its cursor extracted with the Cursor() method, and that can be passed to a query param using its Cursor field. You can also find more information about the per-page limit and total count of resources in the response's Meta field of type PagingInformation.
auth, _ = asc.NewTokenConfig(keyID, issuerID, expiryDuration, privateKey) client := asc.NewClient(auth.Client()) opt := &asc.ListAppsQuery{ FilterBundleID: []string{"com.sky.MyApp"}, } var allApps []asc.App for { apps, _, err := apps, _, err := client.Apps.ListApps(opt) if err != nil { return err } allApps = append(allApps, apps.Data...) if apps.Links.Next == nil { break } cursor := apps.Links.Next.Cursor() if cursor == "" { break } opt.Cursor = cursor }
Index ¶
- Variables
- func Bool(v bool) *bool
- func Float(v float64) *float64
- func Int(v int) *int
- func String(v string) *string
- type AgeRatingDeclaration
- type AgeRatingDeclarationAttributes
- type AgeRatingDeclarationResponse
- type AgeRatingDeclarationUpdateRequestAttributes
- type App
- type AppAttributes
- type AppCategoriesResponse
- type AppCategory
- type AppCategoryAttributes
- type AppCategoryRelationships
- type AppCategoryResponse
- type AppCategoryResponseIncluded
- type AppEncryptionDeclaration
- type AppEncryptionDeclarationAttributes
- type AppEncryptionDeclarationRelationships
- type AppEncryptionDeclarationResponse
- type AppEncryptionDeclarationState
- type AppEncryptionDeclarationsResponse
- type AppInfo
- type AppInfoAttributes
- type AppInfoLocalization
- type AppInfoLocalizationAttributes
- type AppInfoLocalizationCreateRequestAttributes
- type AppInfoLocalizationRelationships
- type AppInfoLocalizationResponse
- type AppInfoLocalizationUpdateRequestAttributes
- type AppInfoLocalizationsResponse
- type AppInfoRelationships
- type AppInfoResponse
- type AppInfoResponseIncluded
- type AppInfoUpdateRequestRelationships
- type AppInfosResponse
- type AppMediaAssetState
- type AppMediaStateError
- type AppPreOrder
- type AppPreOrderAttributes
- type AppPreOrderRelationships
- type AppPreOrderResponse
- type AppPreview
- type AppPreviewAttributes
- type AppPreviewRelationships
- type AppPreviewResponse
- type AppPreviewSet
- type AppPreviewSetAppPreviewsLinkagesResponse
- type AppPreviewSetAttributes
- type AppPreviewSetRelationships
- type AppPreviewSetResponse
- type AppPreviewSetsResponse
- type AppPreviewsResponse
- type AppPrice
- type AppPricePoint
- type AppPricePointAttributes
- type AppPricePointRelationships
- type AppPricePointResponse
- type AppPricePointsResponse
- type AppPriceRelationships
- type AppPriceResponse
- type AppPriceTier
- type AppPriceTierRelationships
- type AppPriceTierResponse
- type AppPriceTiersResponse
- type AppPricesResponse
- type AppRelationships
- type AppResponse
- type AppResponseIncluded
- func (i *AppResponseIncluded) AppInfo() *AppInfo
- func (i *AppResponseIncluded) AppPreOrder() *AppPreOrder
- func (i *AppResponseIncluded) AppPrice() *AppPrice
- func (i *AppResponseIncluded) AppStoreVersion() *AppStoreVersion
- func (i *AppResponseIncluded) BetaAppLocalization() *BetaAppLocalization
- func (i *AppResponseIncluded) BetaAppReviewDetail() *BetaAppReviewDetail
- func (i *AppResponseIncluded) BetaGroup() *BetaGroup
- func (i *AppResponseIncluded) BetaLicenseAgreement() *BetaLicenseAgreement
- func (i *AppResponseIncluded) Build() *Build
- func (i *AppResponseIncluded) EndUserLicenseAgreement() *EndUserLicenseAgreement
- func (i *AppResponseIncluded) GameCenterEnabledVersion() *GameCenterEnabledVersion
- func (i *AppResponseIncluded) InAppPurchase() *InAppPurchase
- func (i *AppResponseIncluded) PerfPowerMetric() *PerfPowerMetric
- func (i *AppResponseIncluded) PrereleaseVersion() *PrereleaseVersion
- func (i *AppResponseIncluded) Territory() *Territory
- func (i *AppResponseIncluded) UnmarshalJSON(b []byte) error
- type AppScreenshot
- type AppScreenshotAttributes
- type AppScreenshotRelationships
- type AppScreenshotResponse
- type AppScreenshotSet
- type AppScreenshotSetAppScreenshotsLinkagesResponse
- type AppScreenshotSetAttributes
- type AppScreenshotSetRelationships
- type AppScreenshotSetResponse
- type AppScreenshotSetsResponse
- type AppScreenshotsResponse
- type AppStoreAgeRating
- type AppStoreReviewAttachment
- type AppStoreReviewAttachmentAttributes
- type AppStoreReviewAttachmentRelationships
- type AppStoreReviewAttachmentResponse
- type AppStoreReviewAttachmentsResponse
- type AppStoreReviewDetail
- type AppStoreReviewDetailAttributes
- type AppStoreReviewDetailCreateRequestAttributes
- type AppStoreReviewDetailRelationships
- type AppStoreReviewDetailResponse
- type AppStoreReviewDetailUpdateRequestAttributes
- type AppStoreVersion
- type AppStoreVersionAttributes
- type AppStoreVersionBuildLinkageResponse
- type AppStoreVersionCreateRequestAttributes
- type AppStoreVersionLocalization
- type AppStoreVersionLocalizationAttributes
- type AppStoreVersionLocalizationCreateRequestAttributes
- type AppStoreVersionLocalizationRelationships
- type AppStoreVersionLocalizationResponse
- type AppStoreVersionLocalizationResponseIncluded
- type AppStoreVersionLocalizationUpdateRequestAttributes
- type AppStoreVersionLocalizationsResponse
- type AppStoreVersionPhasedRelease
- type AppStoreVersionPhasedReleaseAttributes
- type AppStoreVersionPhasedReleaseResponse
- type AppStoreVersionRelationships
- type AppStoreVersionResponse
- type AppStoreVersionResponseIncluded
- func (i *AppStoreVersionResponseIncluded) AgeRatingDeclaration() *AgeRatingDeclaration
- func (i *AppStoreVersionResponseIncluded) AppStoreReviewDetail() *AppStoreReviewDetail
- func (i *AppStoreVersionResponseIncluded) AppStoreVersionLocalization() *AppStoreVersionLocalization
- func (i *AppStoreVersionResponseIncluded) AppStoreVersionPhasedRelease() *AppStoreVersionPhasedRelease
- func (i *AppStoreVersionResponseIncluded) AppStoreVersionSubmission() *AppStoreVersionSubmission
- func (i *AppStoreVersionResponseIncluded) Build() *Build
- func (i *AppStoreVersionResponseIncluded) IDFADeclaration() *IDFADeclaration
- func (i *AppStoreVersionResponseIncluded) RoutingAppCoverage() *RoutingAppCoverage
- func (i *AppStoreVersionResponseIncluded) UnmarshalJSON(b []byte) error
- type AppStoreVersionState
- type AppStoreVersionSubmission
- type AppStoreVersionSubmissionRelationships
- type AppStoreVersionSubmissionResponse
- type AppStoreVersionUpdateRequestAttributes
- type AppStoreVersionsResponse
- type AppUpdateRequestAttributes
- type AppsResponse
- type AppsService
- func (s *AppsService) CommitAppPreview(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string, ...) (*AppPreviewResponse, *Response, error)
- func (s *AppsService) CommitAppScreenshot(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*AppScreenshotResponse, *Response, error)
- func (s *AppsService) CommitRoutingAppCoverage(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*RoutingAppCoverageResponse, *Response, error)
- func (s *AppsService) CreateAppInfoLocalization(ctx context.Context, attributes AppInfoLocalizationCreateRequestAttributes, ...) (*AppInfoLocalizationResponse, *Response, error)
- func (s *AppsService) CreateAppPreview(ctx context.Context, fileName string, fileSize int64, appPreviewSetID string) (*AppPreviewResponse, *Response, error)
- func (s *AppsService) CreateAppPreviewSet(ctx context.Context, previewType PreviewType, ...) (*AppPreviewSetResponse, *Response, error)
- func (s *AppsService) CreateAppScreenshot(ctx context.Context, fileName string, fileSize int64, ...) (*AppScreenshotResponse, *Response, error)
- func (s *AppsService) CreateAppScreenshotSet(ctx context.Context, screenshotDisplayType ScreenshotDisplayType, ...) (*AppScreenshotSetResponse, *Response, error)
- func (s *AppsService) CreateAppStoreVersion(ctx context.Context, attributes AppStoreVersionCreateRequestAttributes, ...) (*AppStoreVersionResponse, *Response, error)
- func (s *AppsService) CreateAppStoreVersionLocalization(ctx context.Context, ...) (*AppStoreVersionLocalizationResponse, *Response, error)
- func (s *AppsService) CreateCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
- func (s *AppsService) CreateEULA(ctx context.Context, agreementText string, appID string, territoryIDs []string) (*EndUserLicenseAgreementResponse, *Response, error)
- func (s *AppsService) CreateInAppPurchase(ctx context.Context, appID string, ...) (*InAppPurchaseResponse, *Response, error)
- func (s *AppsService) CreateRoutingAppCoverage(ctx context.Context, fileName string, fileSize int64, appStoreVersionID string) (*RoutingAppCoverageResponse, *Response, error)
- func (s *AppsService) DeleteAppInfoLocalization(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppPreview(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppPreviewSet(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppScreenshot(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppScreenshotSet(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppStoreVersion(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteAppStoreVersionLocalization(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteEULA(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) DeleteRoutingAppCoverage(ctx context.Context, id string) (*Response, error)
- func (s *AppsService) GetAgeRatingDeclarationForAppInfo(ctx context.Context, id string, params *GetAgeRatingDeclarationForAppInfoQuery) (*AgeRatingDeclarationResponse, *Response, error)
- func (s *AppsService) GetApp(ctx context.Context, id string, params *GetAppQuery) (*AppResponse, *Response, error)
- func (s *AppsService) GetAppCategory(ctx context.Context, id string, params *GetAppCategoryQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetAppInfo(ctx context.Context, id string, params *GetAppInfoQuery) (*AppInfoResponse, *Response, error)
- func (s *AppsService) GetAppInfoLocalization(ctx context.Context, id string, params *GetAppInfoLocalizationQuery) (*AppInfoLocalizationResponse, *Response, error)
- func (s *AppsService) GetAppPreview(ctx context.Context, id string, params *GetAppPreviewQuery) (*AppPreviewResponse, *Response, error)
- func (s *AppsService) GetAppPreviewSet(ctx context.Context, id string, params *GetAppPreviewSetQuery) (*AppPreviewSetResponse, *Response, error)
- func (s *AppsService) GetAppScreenshot(ctx context.Context, id string, params *GetAppScreenshotQuery) (*AppScreenshotResponse, *Response, error)
- func (s *AppsService) GetAppScreenshotSet(ctx context.Context, id string, params *GetAppScreenshotSetQuery) (*AppScreenshotSetResponse, *Response, error)
- func (s *AppsService) GetAppStoreVersion(ctx context.Context, id string, params *GetAppStoreVersionQuery) (*AppStoreVersionResponse, *Response, error)
- func (s *AppsService) GetAppStoreVersionLocalization(ctx context.Context, id string, params *GetAppStoreVersionLocalizationQuery) (*AppStoreVersionLocalizationResponse, *Response, error)
- func (s *AppsService) GetBuildIDForAppStoreVersion(ctx context.Context, id string) (*AppStoreVersionBuildLinkageResponse, *Response, error)
- func (s *AppsService) GetEULA(ctx context.Context, id string, params *GetEULAQuery) (*EndUserLicenseAgreementResponse, *Response, error)
- func (s *AppsService) GetEULAForApp(ctx context.Context, id string, params *GetEULAForAppQuery) (*EndUserLicenseAgreementResponse, *Response, error)
- func (s *AppsService) GetInAppPurchase(ctx context.Context, id string, params *GetInAppPurchaseQuery) (*InAppPurchaseResponse, *Response, error)
- func (s *AppsService) GetParentCategoryForAppCategory(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetPrimaryCategoryForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetPrimarySubcategoryOneForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetPrimarySubcategoryTwoForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetRoutingAppCoverage(ctx context.Context, id string, params *GetRoutingAppCoverageQuery) (*RoutingAppCoverageResponse, *Response, error)
- func (s *AppsService) GetRoutingAppCoverageForAppStoreVersion(ctx context.Context, id string, params *GetRoutingAppCoverageForVersionQuery) (*RoutingAppCoverageResponse, *Response, error)
- func (s *AppsService) GetSecondaryCategoryForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetSecondarySubcategoryOneForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) GetSecondarySubcategoryTwoForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
- func (s *AppsService) ListAppCategories(ctx context.Context, params *ListAppCategoriesQuery) (*AppCategoriesResponse, *Response, error)
- func (s *AppsService) ListAppInfoLocalizationsForAppInfo(ctx context.Context, id string, ...) (*AppInfoLocalizationsResponse, *Response, error)
- func (s *AppsService) ListAppInfosForApp(ctx context.Context, id string, params *ListAppInfosForAppQuery) (*AppInfosResponse, *Response, error)
- func (s *AppsService) ListAppPreviewIDsForSet(ctx context.Context, id string, params *ListAppPreviewIDsForSetQuery) (*AppPreviewSetAppPreviewsLinkagesResponse, *Response, error)
- func (s *AppsService) ListAppPreviewSetsForAppStoreVersionLocalization(ctx context.Context, id string, ...) (*AppPreviewSetsResponse, *Response, error)
- func (s *AppsService) ListAppPreviewsForSet(ctx context.Context, id string, params *ListAppPreviewsForSetQuery) (*AppPreviewsResponse, *Response, error)
- func (s *AppsService) ListAppScreenshotIDsForSet(ctx context.Context, id string, params *ListAppScreenshotIDsForSetQuery) (*AppScreenshotSetAppScreenshotsLinkagesResponse, *Response, error)
- func (s *AppsService) ListAppScreenshotSetsForAppStoreVersionLocalization(ctx context.Context, id string, ...) (*AppScreenshotSetsResponse, *Response, error)
- func (s *AppsService) ListAppScreenshotsForSet(ctx context.Context, id string, params *ListAppScreenshotsForSetQuery) (*AppScreenshotsResponse, *Response, error)
- func (s *AppsService) ListAppStoreVersionsForApp(ctx context.Context, id string, params *ListAppStoreVersionsQuery) (*AppStoreVersionsResponse, *Response, error)
- func (s *AppsService) ListApps(ctx context.Context, params *ListAppsQuery) (*AppsResponse, *Response, error)
- func (s *AppsService) ListCompatibleVersionIDsForGameCenterEnabledVersion(ctx context.Context, id string, ...) (*GameCenterEnabledVersionCompatibleVersionsLinkagesResponse, *Response, error)
- func (s *AppsService) ListCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, ...) (*GameCenterEnabledVersionsResponse, *Response, error)
- func (s *AppsService) ListGameCenterEnabledVersionsForApp(ctx context.Context, id string, ...) (*GameCenterEnabledVersionsResponse, *Response, error)
- func (s *AppsService) ListInAppPurchasesForApp(ctx context.Context, id string, params *ListInAppPurchasesQuery) (*InAppPurchasesResponse, *Response, error)
- func (s *AppsService) ListLocalizationsForAppStoreVersion(ctx context.Context, id string, ...) (*AppStoreVersionLocalizationsResponse, *Response, error)
- func (s *AppsService) ListSubcategoriesForAppCategory(ctx context.Context, id string, params *ListSubcategoriesForAppCategoryQuery) (*AppCategoriesResponse, *Response, error)
- func (s *AppsService) RemoveBetaTestersFromApp(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
- func (s *AppsService) RemoveCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
- func (s *AppsService) ReplaceAppPreviewsForSet(ctx context.Context, id string, appPreviewIDs []string) (*Response, error)
- func (s *AppsService) ReplaceAppScreenshotsForSet(ctx context.Context, id string, appScreenshotIDs []string) (*Response, error)
- func (s *AppsService) UpdateAgeRatingDeclaration(ctx context.Context, id string, ...) (*AgeRatingDeclarationResponse, *Response, error)
- func (s *AppsService) UpdateApp(ctx context.Context, id string, attributes *AppUpdateRequestAttributes, ...) (*AppResponse, *Response, error)
- func (s *AppsService) UpdateAppInfo(ctx context.Context, id string, ...) (*AppInfoResponse, *Response, error)
- func (s *AppsService) UpdateAppInfoLocalization(ctx context.Context, id string, ...) (*AppInfoLocalizationResponse, *Response, error)
- func (s *AppsService) UpdateAppStoreVersion(ctx context.Context, id string, ...) (*AppStoreVersionResponse, *Response, error)
- func (s *AppsService) UpdateAppStoreVersionLocalization(ctx context.Context, id string, ...) (*AppStoreVersionLocalizationResponse, *Response, error)
- func (s *AppsService) UpdateBuildForAppStoreVersion(ctx context.Context, id string, buildID *string) (*AppStoreVersionBuildLinkageResponse, *Response, error)
- func (s *AppsService) UpdateCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
- func (s *AppsService) UpdateEULA(ctx context.Context, id string, agreementText *string, territoryIDs []string) (*EndUserLicenseAgreementResponse, *Response, error)
- type AuthTransport
- type BetaAppLocalization
- type BetaAppLocalizationAttributes
- type BetaAppLocalizationCreateRequestAttributes
- type BetaAppLocalizationRelationships
- type BetaAppLocalizationResponse
- type BetaAppLocalizationUpdateRequestAttributes
- type BetaAppLocalizationsResponse
- type BetaAppReviewDetail
- type BetaAppReviewDetailAttributes
- type BetaAppReviewDetailRelationships
- type BetaAppReviewDetailResponse
- type BetaAppReviewDetailUpdateRequestAttributes
- type BetaAppReviewDetailsResponse
- type BetaAppReviewSubmission
- type BetaAppReviewSubmissionAttributes
- type BetaAppReviewSubmissionRelationships
- type BetaAppReviewSubmissionResponse
- type BetaAppReviewSubmissionsResponse
- type BetaBuildLocalization
- type BetaBuildLocalizationAttributes
- type BetaBuildLocalizationRelationships
- type BetaBuildLocalizationResponse
- type BetaBuildLocalizationsResponse
- type BetaGroup
- type BetaGroupAttributes
- type BetaGroupBetaTestersLinkagesResponse
- type BetaGroupBuildsLinkagesResponse
- type BetaGroupCreateRequestAttributes
- type BetaGroupRelationships
- type BetaGroupResponse
- type BetaGroupResponseIncluded
- type BetaGroupUpdateRequestAttributes
- type BetaGroupsResponse
- type BetaInviteType
- type BetaLicenseAgreement
- type BetaLicenseAgreementAttributes
- type BetaLicenseAgreementRelationships
- type BetaLicenseAgreementResponse
- type BetaLicenseAgreementsResponse
- type BetaReviewState
- type BetaTester
- type BetaTesterAppsLinkagesResponse
- type BetaTesterAttributes
- type BetaTesterBetaGroupsLinkagesResponse
- type BetaTesterBuildsLinkagesResponse
- type BetaTesterCreateRequestAttributes
- type BetaTesterInvitation
- type BetaTesterInvitationResponse
- type BetaTesterRelationships
- type BetaTesterResponse
- type BetaTesterResponseIncluded
- type BetaTestersResponse
- type BrazilAgeRating
- type Build
- type BuildAppEncryptionDeclarationLinkageResponse
- type BuildAttributes
- type BuildBetaDetail
- type BuildBetaDetailAttributes
- type BuildBetaDetailRelationships
- type BuildBetaDetailResponse
- type BuildBetaDetailsResponse
- type BuildBetaNotification
- type BuildBetaNotificationResponse
- type BuildIcon
- type BuildIconAttributes
- type BuildIconsResponse
- type BuildIndividualTestersLinkagesResponse
- type BuildRelationships
- type BuildResponse
- type BuildResponseIncluded
- func (i *BuildResponseIncluded) App() *App
- func (i *BuildResponseIncluded) AppEncryptionDeclaration() *AppEncryptionDeclaration
- func (i *BuildResponseIncluded) AppStoreVersion() *AppStoreVersion
- func (i *BuildResponseIncluded) BetaAppReviewSubmission() *BetaAppReviewSubmission
- func (i *BuildResponseIncluded) BetaBuildLocalization() *BetaBuildLocalization
- func (i *BuildResponseIncluded) BetaTester() *BetaTester
- func (i *BuildResponseIncluded) BuildBetaDetail() *BuildBetaDetail
- func (i *BuildResponseIncluded) BuildIcon() *BuildIcon
- func (i *BuildResponseIncluded) DiagnosticSignature() *DiagnosticSignature
- func (i *BuildResponseIncluded) PerfPowerMetric() *PerfPowerMetric
- func (i *BuildResponseIncluded) PrereleaseVersion() *PrereleaseVersion
- func (i *BuildResponseIncluded) UnmarshalJSON(b []byte) error
- type BuildsResponse
- type BuildsService
- func (s *BuildsService) AssignBuildsToAppEncryptionDeclaration(ctx context.Context, id string, buildIDs []string) (*Response, error)
- func (s *BuildsService) CreateAccessForBetaGroupsToBuild(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
- func (s *BuildsService) CreateAccessForIndividualTestersToBuild(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
- func (s *BuildsService) GetAppEncryptionDeclaration(ctx context.Context, id string, params *GetAppEncryptionDeclarationQuery) (*AppEncryptionDeclarationResponse, *Response, error)
- func (s *BuildsService) GetAppEncryptionDeclarationForBuild(ctx context.Context, id string, ...) (*AppEncryptionDeclarationResponse, *Response, error)
- func (s *BuildsService) GetAppEncryptionDeclarationIDForBuild(ctx context.Context, id string) (*BuildAppEncryptionDeclarationLinkageResponse, *Response, error)
- func (s *BuildsService) GetAppForAppEncryptionDeclaration(ctx context.Context, id string, params *GetAppForEncryptionDeclarationQuery) (*AppResponse, *Response, error)
- func (s *BuildsService) GetAppForBuild(ctx context.Context, id string, params *GetAppForBuildQuery) (*AppResponse, *Response, error)
- func (s *BuildsService) GetAppStoreVersionForBuild(ctx context.Context, id string, params *GetAppStoreVersionForBuildQuery) (*AppStoreVersionResponse, *Response, error)
- func (s *BuildsService) GetBuild(ctx context.Context, id string, params *GetBuildQuery) (*BuildResponse, *Response, error)
- func (s *BuildsService) GetBuildForAppStoreVersion(ctx context.Context, id string, params *GetBuildForAppStoreVersionQuery) (*BuildResponse, *Response, error)
- func (s *BuildsService) ListAppEncryptionDeclarations(ctx context.Context, params *ListAppEncryptionDeclarationsQuery) (*AppEncryptionDeclarationsResponse, *Response, error)
- func (s *BuildsService) ListBuilds(ctx context.Context, params *ListBuildsQuery) (*BuildsResponse, *Response, error)
- func (s *BuildsService) ListBuildsForApp(ctx context.Context, id string, params *ListBuildsForAppQuery) (*BuildsResponse, *Response, error)
- func (s *BuildsService) ListIconsForBuild(ctx context.Context, id string, params *ListIconsQuery) (*BuildIconsResponse, *Response, error)
- func (s *BuildsService) ListResourceIDsForIndividualTestersForBuild(ctx context.Context, id string, ...) (*BuildIndividualTestersLinkagesResponse, *Response, error)
- func (s *BuildsService) RemoveAccessForBetaGroupsFromBuild(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
- func (s *BuildsService) RemoveAccessForIndividualTestersFromBuild(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
- func (s *BuildsService) UpdateAppEncryptionDeclarationForBuild(ctx context.Context, id string, appEncryptionDeclarationID *string) (*Response, error)
- func (s *BuildsService) UpdateBuild(ctx context.Context, id string, expired *bool, usesNonExemptEncryption *bool, ...) (*BuildResponse, *Response, error)
- type BundleID
- type BundleIDAttributes
- type BundleIDCapabilitiesResponse
- type BundleIDCapability
- type BundleIDCapabilityAttributes
- type BundleIDCapabilityResponse
- type BundleIDCreateRequestAttributes
- type BundleIDPlatform
- type BundleIDRelationships
- type BundleIDResponse
- type BundleIDResponseIncluded
- type BundleIDsResponse
- type CapabilityOption
- type CapabilitySetting
- type CapabilityType
- type Certificate
- type CertificateAttributes
- type CertificateResponse
- type CertificateType
- type CertificatesResponse
- type Client
- type Date
- type DateTime
- type Device
- type DeviceAttributes
- type DeviceResponse
- type DevicesResponse
- type DiagnosticLog
- type DiagnosticLogsResponse
- type DiagnosticSignature
- type DiagnosticSignatureAttributes
- type DiagnosticSignaturesResponse
- type DocumentLinks
- type DownloadFinanceReportsQuery
- type DownloadSalesAndTrendsReportsQuery
- type Email
- type EndUserLicenseAgreement
- type EndUserLicenseAgreementAttributes
- type EndUserLicenseAgreementRelationships
- type EndUserLicenseAgreementResponse
- type ErrInvalidEmail
- type ErrInvalidIncluded
- type ErrorMeta
- type ErrorResponse
- type ErrorResponseError
- type ErrorSource
- type ExternalBetaState
- type GameCenterEnabledVersion
- type GameCenterEnabledVersionAttributes
- type GameCenterEnabledVersionCompatibleVersionsLinkagesResponse
- type GameCenterEnabledVersionRelationships
- type GameCenterEnabledVersionsResponse
- type GetAgeRatingDeclarationForAppInfoQuery
- type GetAppCategoryForAppInfoQuery
- type GetAppCategoryQuery
- type GetAppEncryptionDeclarationForBuildQuery
- type GetAppEncryptionDeclarationQuery
- type GetAppForBetaAppLocalizationQuery
- type GetAppForBetaAppReviewDetailQuery
- type GetAppForBetaGroupQuery
- type GetAppForBetaLicenseAgreementQuery
- type GetAppForBuildQuery
- type GetAppForBundleIDQuery
- type GetAppForEncryptionDeclarationQuery
- type GetAppForPrereleaseVersionQuery
- type GetAppInfoLocalizationQuery
- type GetAppInfoQuery
- type GetAppPreviewQuery
- type GetAppPreviewSetQuery
- type GetAppPricePointQuery
- type GetAppPriceTierQuery
- type GetAppQuery
- type GetAppScreenshotQuery
- type GetAppScreenshotSetQuery
- type GetAppStoreReviewDetailsForAppStoreVersionQuery
- type GetAppStoreVersionForBuildQuery
- type GetAppStoreVersionLocalizationQuery
- type GetAppStoreVersionPhasedReleaseForAppStoreVersionQuery
- type GetAppStoreVersionQuery
- type GetAppStoreVersionSubmissionForAppStoreVersionQuery
- type GetAttachmentQuery
- type GetBetaAppLocalizationQuery
- type GetBetaAppReviewDetailQuery
- type GetBetaAppReviewDetailsForAppQuery
- type GetBetaAppReviewSubmissionForBuildQuery
- type GetBetaAppReviewSubmissionQuery
- type GetBetaBuildLocalizationQuery
- type GetBetaGroupQuery
- type GetBetaLicenseAgreementForAppQuery
- type GetBetaLicenseAgreementQuery
- type GetBetaTesterQuery
- type GetBuildBetaDetailForBuildQuery
- type GetBuildBetaDetailsQuery
- type GetBuildForAppStoreVersionQuery
- type GetBuildForBetaAppReviewSubmissionQuery
- type GetBuildForBetaBuildLocalizationQuery
- type GetBuildForBuildBetaDetailQuery
- type GetBuildQuery
- type GetBundleIDForProfileQuery
- type GetBundleIDQuery
- type GetCertificateQuery
- type GetDeviceQuery
- type GetEULAForAppQuery
- type GetEULAQuery
- type GetIDFADeclarationForAppStoreVersionQuery
- type GetInAppPurchaseQuery
- type GetInvitationQuery
- type GetLogsForDiagnosticSignatureQuery
- type GetPerfPowerMetricsQuery
- type GetPreOrderForAppQuery
- type GetPreOrderQuery
- type GetPrereleaseVersionForBuildQuery
- type GetPrereleaseVersionQuery
- type GetPriceQuery
- type GetProfileQuery
- type GetReviewDetailQuery
- type GetRoutingAppCoverageForVersionQuery
- type GetRoutingAppCoverageQuery
- type GetTerritoryForAppPricePointQuery
- type GetUserQuery
- type IDFADeclaration
- type IDFADeclarationAttributes
- type IDFADeclarationCreateRequestAttributes
- type IDFADeclarationRelationships
- type IDFADeclarationResponse
- type IDFADeclarationUpdateRequestAttributes
- type IconAssetType
- type ImageAsset
- type InAppPurchase
- type InAppPurchaseAttributes
- type InAppPurchaseCreateRequestAttributes
- type InAppPurchaseRelationships
- type InAppPurchaseResponse
- type InAppPurchaseType
- type InAppPurchasesResponse
- type InternalBetaState
- type KidsAgeBand
- type ListAppCategoriesQuery
- type ListAppEncryptionDeclarationsQuery
- type ListAppIDsForBetaTesterQuery
- type ListAppInfoLocalizationsForAppInfoQuery
- type ListAppInfosForAppQuery
- type ListAppPreviewIDsForSetQuery
- type ListAppPreviewSetsForAppStoreVersionLocalizationQuery
- type ListAppPreviewsForSetQuery
- type ListAppPricePointsQuery
- type ListAppPriceTiersQuery
- type ListAppScreenshotIDsForSetQuery
- type ListAppScreenshotSetsForAppStoreVersionLocalizationQuery
- type ListAppScreenshotsForSetQuery
- type ListAppStoreVersionsQuery
- type ListAppsForBetaTesterQuery
- type ListAppsQuery
- type ListAttachmentQuery
- type ListBetaAppLocalizationsForAppQuery
- type ListBetaAppLocalizationsQuery
- type ListBetaAppReviewDetailsQuery
- type ListBetaAppReviewSubmissionsQuery
- type ListBetaBuildLocalizationsForBuildQuery
- type ListBetaBuildLocalizationsQuery
- type ListBetaGroupIDsForBetaTesterQuery
- type ListBetaGroupsForAppQuery
- type ListBetaGroupsForBetaTesterQuery
- type ListBetaGroupsQuery
- type ListBetaLicenseAgreementsQuery
- type ListBetaTesterIDsForBetaGroupQuery
- type ListBetaTestersForBetaGroupQuery
- type ListBetaTestersQuery
- type ListBuildBetaDetailsQuery
- type ListBuildIDsForBetaGroupQuery
- type ListBuildIDsIndividuallyAssignedToBetaTesterQuery
- type ListBuildsForAppQuery
- type ListBuildsForBetaGroupQuery
- type ListBuildsForPrereleaseVersionQuery
- type ListBuildsIndividuallyAssignedToBetaTesterQuery
- type ListBuildsQuery
- type ListBundleIDsQuery
- type ListCapabilitiesForBundleIDQuery
- type ListCertificatesForProfileQuery
- type ListCertificatesQuery
- type ListCompatibleVersionIDsForGameCenterEnabledVersionQuery
- type ListCompatibleVersionsForGameCenterEnabledVersionQuery
- type ListDevicesInProfileQuery
- type ListDevicesQuery
- type ListDiagnosticsSignaturesQuery
- type ListGameCenterEnabledVersionsForAppQuery
- type ListIconsQuery
- type ListInAppPurchasesQuery
- type ListIndividualTestersForBuildQuery
- type ListInvitationsQuery
- type ListLocalizationsForAppStoreVersionQuery
- type ListPrereleaseVersionsForAppQuery
- type ListPrereleaseVersionsQuery
- type ListPricePointsForAppPriceTierQuery
- type ListPricesQuery
- type ListProfilesForBundleIDQuery
- type ListProfilesQuery
- type ListResourceIDsForIndividualTestersForBuildQuery
- type ListSubcategoriesForAppCategoryQuery
- type ListTerritoriesQuery
- type ListUsersQuery
- type ListVisibleAppsByResourceIDQuery
- type ListVisibleAppsQuery
- type NewAppPriceRelationship
- type PagedDocumentLinks
- type PagedRelationship
- type PagingInformation
- type PerfPowerMetric
- type PerfPowerMetricAttributes
- type PerfPowerMetricsResponse
- type PhasedReleaseState
- type Platform
- type PrereleaseVersion
- type PrereleaseVersionAttributes
- type PrereleaseVersionRelationships
- type PrereleaseVersionResponse
- type PrereleaseVersionResponseIncluded
- type PrereleaseVersionsResponse
- type PreviewType
- type PricingService
- func (s *PricingService) GetAppPricePoint(ctx context.Context, id string, params *GetAppPricePointQuery) (*AppPricePointResponse, *Response, error)
- func (s *PricingService) GetAppPriceTier(ctx context.Context, id string, params *GetAppPriceTierQuery) (*AppPriceTierResponse, *Response, error)
- func (s *PricingService) GetPrice(ctx context.Context, id string, params *GetPriceQuery) (*AppPriceResponse, *Response, error)
- func (s *PricingService) GetTerritoryForAppPrice(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoryResponse, *Response, error)
- func (s *PricingService) GetTerritoryForAppPricePoint(ctx context.Context, id string, params *GetTerritoryForAppPricePointQuery) (*TerritoryResponse, *Response, error)
- func (s *PricingService) ListAppPricePoints(ctx context.Context, params *ListAppPricePointsQuery) (*AppPricePointsResponse, *Response, error)
- func (s *PricingService) ListAppPriceTiers(ctx context.Context, params *ListAppPriceTiersQuery) (*AppPriceTiersResponse, *Response, error)
- func (s *PricingService) ListPricePointsForAppPriceTier(ctx context.Context, id string, params *ListPricePointsForAppPriceTierQuery) (*AppPricePointsResponse, *Response, error)
- func (s *PricingService) ListPricesForApp(ctx context.Context, id string, params *ListPricesQuery) (*AppPricesResponse, *Response, error)
- func (s *PricingService) ListTerritories(ctx context.Context, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
- func (s *PricingService) ListTerritoriesForApp(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
- func (s *PricingService) ListTerritoriesForEULA(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
- type Profile
- type ProfileAttributes
- type ProfileRelationships
- type ProfileResponse
- type ProfileResponseIncluded
- type ProfilesResponse
- type ProvisioningService
- func (s *ProvisioningService) CreateBundleID(ctx context.Context, attributes BundleIDCreateRequestAttributes) (*BundleIDResponse, *Response, error)
- func (s *ProvisioningService) CreateCertificate(ctx context.Context, certificateType CertificateType, csrContent io.Reader) (*CertificateResponse, *Response, error)
- func (s *ProvisioningService) CreateDevice(ctx context.Context, name string, udid string, platform BundleIDPlatform) (*DeviceResponse, *Response, error)
- func (s *ProvisioningService) CreateProfile(ctx context.Context, name string, profileType string, ...) (*ProfileResponse, *Response, error)
- func (s *ProvisioningService) DeleteBundleID(ctx context.Context, id string) (*Response, error)
- func (s *ProvisioningService) DeleteProfile(ctx context.Context, id string) (*Response, error)
- func (s *ProvisioningService) DisableCapability(ctx context.Context, id string) (*Response, error)
- func (s *ProvisioningService) EnableCapability(ctx context.Context, capabilityType CapabilityType, ...) (*BundleIDCapabilityResponse, *Response, error)
- func (s *ProvisioningService) GetAppForBundleID(ctx context.Context, id string, params *GetAppForBundleIDQuery) (*AppResponse, *Response, error)
- func (s *ProvisioningService) GetBundleID(ctx context.Context, id string, params *GetBundleIDQuery) (*BundleIDResponse, *Response, error)
- func (s *ProvisioningService) GetBundleIDForProfile(ctx context.Context, id string, params *GetBundleIDForProfileQuery) (*BundleIDResponse, *Response, error)
- func (s *ProvisioningService) GetCertificate(ctx context.Context, id string, params *GetCertificateQuery) (*CertificateResponse, *Response, error)
- func (s *ProvisioningService) GetDevice(ctx context.Context, id string, params *GetDeviceQuery) (*DeviceResponse, *Response, error)
- func (s *ProvisioningService) GetProfile(ctx context.Context, id string, params *GetProfileQuery) (*ProfileResponse, *Response, error)
- func (s *ProvisioningService) ListBundleIDs(ctx context.Context, params *ListBundleIDsQuery) (*BundleIDsResponse, *Response, error)
- func (s *ProvisioningService) ListCapabilitiesForBundleID(ctx context.Context, id string, params *ListCapabilitiesForBundleIDQuery) (*BundleIDCapabilitiesResponse, *Response, error)
- func (s *ProvisioningService) ListCertificates(ctx context.Context, params *ListCertificatesQuery) (*CertificatesResponse, *Response, error)
- func (s *ProvisioningService) ListCertificatesInProfile(ctx context.Context, id string, params *ListCertificatesForProfileQuery) (*CertificatesResponse, *Response, error)
- func (s *ProvisioningService) ListDevices(ctx context.Context, params *ListDevicesQuery) (*DevicesResponse, *Response, error)
- func (s *ProvisioningService) ListDevicesInProfile(ctx context.Context, id string, params *ListDevicesInProfileQuery) (*DevicesResponse, *Response, error)
- func (s *ProvisioningService) ListProfiles(ctx context.Context, params *ListProfilesQuery) (*ProfilesResponse, *Response, error)
- func (s *ProvisioningService) ListProfilesForBundleID(ctx context.Context, id string, params *ListProfilesForBundleIDQuery) (*ProfilesResponse, *Response, error)
- func (s *ProvisioningService) RevokeCertificate(ctx context.Context, id string) (*Response, error)
- func (s *ProvisioningService) UpdateBundleID(ctx context.Context, id string, name *string) (*BundleIDResponse, *Response, error)
- func (s *ProvisioningService) UpdateCapability(ctx context.Context, id string, capabilityType *CapabilityType, ...) (*BundleIDCapabilityResponse, *Response, error)
- func (s *ProvisioningService) UpdateDevice(ctx context.Context, id string, name *string, status *string) (*DeviceResponse, *Response, error)
- type PublishingService
- func (s *PublishingService) CreatePhasedRelease(ctx context.Context, phasedReleaseState *PhasedReleaseState, ...) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
- func (s *PublishingService) CreatePreOrder(ctx context.Context, appReleaseDate *Date, appID string) (*AppPreOrderResponse, *Response, error)
- func (s *PublishingService) DeletePhasedRelease(ctx context.Context, id string) (*Response, error)
- func (s *PublishingService) DeletePreOrder(ctx context.Context, id string) (*Response, error)
- func (s *PublishingService) GetAppStoreVersionPhasedReleaseForAppStoreVersion(ctx context.Context, id string, ...) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
- func (s *PublishingService) GetPreOrder(ctx context.Context, id string, params *GetPreOrderQuery) (*AppPreOrderResponse, *Response, error)
- func (s *PublishingService) GetPreOrderForApp(ctx context.Context, id string, params *GetPreOrderForAppQuery) (*AppPreOrderResponse, *Response, error)
- func (s *PublishingService) UpdatePhasedRelease(ctx context.Context, id string, state *PhasedReleaseState) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
- func (s *PublishingService) UpdatePreOrder(ctx context.Context, id string, appReleaseDate *Date) (*AppPreOrderResponse, *Response, error)
- type Rate
- type Reference
- type Relationship
- type RelationshipData
- type RelationshipLinks
- type ReportingService
- func (s *ReportingService) DownloadFinanceReports(ctx context.Context, params *DownloadFinanceReportsQuery) (io.Reader, *Response, error)
- func (s *ReportingService) DownloadSalesAndTrendsReports(ctx context.Context, params *DownloadSalesAndTrendsReportsQuery) (io.Reader, *Response, error)
- func (s *ReportingService) GetLogsForDiagnosticSignature(ctx context.Context, id string, params *GetLogsForDiagnosticSignatureQuery) (*DiagnosticLogsResponse, *Response, error)
- func (s *ReportingService) GetPerfPowerMetricsForApp(ctx context.Context, id string, params *GetPerfPowerMetricsQuery) (*PerfPowerMetricsResponse, *Response, error)
- func (s *ReportingService) GetPerfPowerMetricsForBuild(ctx context.Context, id string, params *GetPerfPowerMetricsQuery) (*PerfPowerMetricsResponse, *Response, error)
- func (s *ReportingService) ListDiagnosticSignaturesForBuild(ctx context.Context, id string, params *ListDiagnosticsSignaturesQuery) (*DiagnosticSignaturesResponse, *Response, error)
- type ResourceLinks
- type Response
- type RoutingAppCoverage
- type RoutingAppCoverageAttributes
- type RoutingAppCoverageRelationships
- type RoutingAppCoverageResponse
- type ScreenshotDisplayType
- type SubmissionService
- func (s *SubmissionService) CommitAttachment(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*AppStoreReviewAttachmentResponse, *Response, error)
- func (s *SubmissionService) CreateAttachment(ctx context.Context, fileName string, fileSize int64, ...) (*AppStoreReviewAttachmentResponse, *Response, error)
- func (s *SubmissionService) CreateIDFADeclaration(ctx context.Context, attributes IDFADeclarationCreateRequestAttributes, ...) (*IDFADeclarationResponse, *Response, error)
- func (s *SubmissionService) CreateReviewDetail(ctx context.Context, attributes *AppStoreReviewDetailCreateRequestAttributes, ...) (*AppStoreReviewDetailResponse, *Response, error)
- func (s *SubmissionService) CreateSubmission(ctx context.Context, appStoreVersionID string) (*AppStoreVersionSubmissionResponse, *Response, error)
- func (s *SubmissionService) DeleteAttachment(ctx context.Context, id string) (*Response, error)
- func (s *SubmissionService) DeleteIDFADeclaration(ctx context.Context, id string) (*Response, error)
- func (s *SubmissionService) DeleteSubmission(ctx context.Context, id string) (*Response, error)
- func (s *SubmissionService) GetAppStoreVersionSubmissionForAppStoreVersion(ctx context.Context, id string, ...) (*AppStoreVersionSubmissionResponse, *Response, error)
- func (s *SubmissionService) GetAttachment(ctx context.Context, id string, params *GetAttachmentQuery) (*AppStoreReviewAttachmentResponse, *Response, error)
- func (s *SubmissionService) GetIDFADeclarationForAppStoreVersion(ctx context.Context, id string, ...) (*IDFADeclarationResponse, *Response, error)
- func (s *SubmissionService) GetReviewDetail(ctx context.Context, id string, params *GetReviewDetailQuery) (*AppStoreReviewDetailResponse, *Response, error)
- func (s *SubmissionService) GetReviewDetailsForAppStoreVersion(ctx context.Context, id string, ...) (*AppStoreReviewDetailResponse, *Response, error)
- func (s *SubmissionService) ListAttachmentsForReviewDetail(ctx context.Context, id string, params *ListAttachmentQuery) (*AppStoreReviewAttachmentsResponse, *Response, error)
- func (s *SubmissionService) UpdateIDFADeclaration(ctx context.Context, id string, ...) (*IDFADeclarationResponse, *Response, error)
- func (s *SubmissionService) UpdateReviewDetail(ctx context.Context, id string, ...) (*AppStoreReviewDetailResponse, *Response, error)
- type Subscription
- type SubscriptionAttributes
- type SubscriptionAvailabilityAttributes
- type SubscriptionAvailabilityData
- type SubscriptionData
- type SubscriptionGroup
- type SubscriptionGroupAttributes
- type SubscriptionGroupData
- type SubscriptionGroupLocalization
- type SubscriptionGroupLocalizationAttributes
- type SubscriptionGroupLocalizationData
- type SubscriptionGroupLocalizationResponse
- type SubscriptionGroupResponse
- type SubscriptionGroupsResponse
- type SubscriptionLocalization
- type SubscriptionLocalizationAttributes
- type SubscriptionLocalizationData
- type SubscriptionLocalizationResponse
- type SubscriptionPeriod
- type SubscriptionPrice
- type SubscriptionPriceAttributes
- type SubscriptionPriceCreate
- type SubscriptionPriceCreateAttributes
- type SubscriptionPriceCreateData
- type SubscriptionPriceCreateRequest
- type SubscriptionPriceCreateResponse
- type SubscriptionPriceInlineCreate
- type SubscriptionPriceInlineCreateAttributes
- type SubscriptionPriceInlineCreateRelationships
- type SubscriptionPricePoint
- type SubscriptionPricePointAttributes
- type SubscriptionPricePointsResponse
- type SubscriptionPriceResponse
- type SubscriptionPriceScheduleCreateRequestRelationships
- type SubscriptionPriceUpdateRelationships
- type SubscriptionResponse
- type SubscriptionUpdateAttributes
- type SubscriptionUpdateRelationships
- type SubscriptionUpdateRequestData
- type SubscriptionsResponse
- type SubscriptionsService
- func (s *SubscriptionsService) CreateSubscription(ctx context.Context, name, productID, groupID, reviewNotes string, ...) (*SubscriptionResponse, *Response, error)
- func (s *SubscriptionsService) CreateSubscriptionGroup(ctx context.Context, appID, groupName string) (*SubscriptionGroupResponse, *Response, error)
- func (s *SubscriptionsService) CreateSubscriptionGroupLocalization(ctx context.Context, groupID, locale, appName, groupName string) (*SubscriptionGroupLocalizationResponse, *Response, error)
- func (s *SubscriptionsService) CreateSubscriptionLocalization(ctx context.Context, subscriptionID, locale, name, description string) (*SubscriptionLocalizationResponse, *Response, error)
- func (s *SubscriptionsService) CreateSubscriptionPriceChange(ctx context.Context, subscriptionID, priceID, regionID string, ...) (*SubscriptionPriceCreateResponse, *Response, error)
- func (s *SubscriptionsService) DeleteSubscription(ctx context.Context, subscriptionID string) (*Response, error)
- func (s *SubscriptionsService) DeleteSubscriptionGroup(ctx context.Context, groupID string) (*Response, error)
- func (s *SubscriptionsService) DeleteSubscriptionGroupLocalization(ctx context.Context, localizationID string) (*Response, error)
- func (s *SubscriptionsService) DeleteSubscriptionLocalization(ctx context.Context, subscriptionLocalizationID string) (*Response, error)
- func (s *SubscriptionsService) GetSubscription(ctx context.Context, id string) (*SubscriptionResponse, *Response, error)
- func (s *SubscriptionsService) GetSubscriptionGroups(ctx context.Context, appID, groupName string) (*SubscriptionGroupsResponse, *Response, error)
- func (s *SubscriptionsService) GetSubscriptionPrice(ctx context.Context, id, territory string) (*SubscriptionPriceResponse, *Response, error)
- func (s *SubscriptionsService) GetSubscriptionPricePoints(ctx context.Context, id, territory string) (*SubscriptionPricePointsResponse, *Response, error)
- func (s *SubscriptionsService) ListSubscriptionsByGroup(ctx context.Context, id string) (*SubscriptionsResponse, *Response, error)
- func (s *SubscriptionsService) ReserveSubscriptionReviewScreenshot(ctx context.Context, id string, file fs.File) (*Response, error)
- func (s *SubscriptionsService) SetSubscriptionAvailability(ctx context.Context, subscriptionID string, regions []*RelationshipData) (*Response, error)
- func (s *SubscriptionsService) SetSubscriptionPrices(ctx context.Context, subID string, startTime time.Time, ...) (*SubscriptionResponse, *Response, error)
- func (s *SubscriptionsService) SubmitSubscriptionForReview(ctx context.Context, id string) (*Response, error)
- func (s *SubscriptionsService) UploadFile(ctx context.Context, url string, file fs.File) (*http.Response, error)
- type TerritoriesResponse
- type Territory
- type TerritoryAttributes
- type TerritoryResponse
- type TestflightService
- func (s *TestflightService) AddBetaTesterToBetaGroups(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
- func (s *TestflightService) AddBetaTestersToBetaGroup(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
- func (s *TestflightService) AddBuildsToBetaGroup(ctx context.Context, id string, buildIDs []string) (*Response, error)
- func (s *TestflightService) AssignSingleBetaTesterToBuilds(ctx context.Context, id string, buildIDs []string) (*Response, error)
- func (s *TestflightService) CreateAvailableBuildNotification(ctx context.Context, buildID string) (*BuildBetaNotificationResponse, *Response, error)
- func (s *TestflightService) CreateBetaAppLocalization(ctx context.Context, attributes BetaAppLocalizationCreateRequestAttributes, ...) (*BetaAppLocalizationResponse, *Response, error)
- func (s *TestflightService) CreateBetaAppReviewSubmission(ctx context.Context, buildID string) (*BetaAppReviewSubmissionResponse, *Response, error)
- func (s *TestflightService) CreateBetaBuildLocalization(ctx context.Context, locale string, whatsNew *string, buildID string) (*BetaBuildLocalizationResponse, *Response, error)
- func (s *TestflightService) CreateBetaGroup(ctx context.Context, attributes BetaGroupCreateRequestAttributes, appID string, ...) (*BetaGroupResponse, *Response, error)
- func (s *TestflightService) CreateBetaTester(ctx context.Context, attributes BetaTesterCreateRequestAttributes, ...) (*BetaTesterResponse, *Response, error)
- func (s *TestflightService) CreateBetaTesterInvitation(ctx context.Context, appID string, betaTesterID string) (*BetaTesterInvitationResponse, *Response, error)
- func (s *TestflightService) DeleteBetaAppLocalization(ctx context.Context, id string) (*Response, error)
- func (s *TestflightService) DeleteBetaBuildLocalization(ctx context.Context, id string) (*Response, error)
- func (s *TestflightService) DeleteBetaGroup(ctx context.Context, id string) (*Response, error)
- func (s *TestflightService) DeleteBetaTester(ctx context.Context, id string) (*Response, error)
- func (s *TestflightService) GetAppForBetaAppLocalization(ctx context.Context, id string, params *GetAppForBetaAppLocalizationQuery) (*AppResponse, *Response, error)
- func (s *TestflightService) GetAppForBetaAppReviewDetail(ctx context.Context, id string, params *GetAppForBetaAppReviewDetailQuery) (*AppResponse, *Response, error)
- func (s *TestflightService) GetAppForBetaGroup(ctx context.Context, id string, params *GetAppForBetaGroupQuery) (*AppResponse, *Response, error)
- func (s *TestflightService) GetAppForBetaLicenseAgreement(ctx context.Context, id string, params *GetAppForBetaLicenseAgreementQuery) (*AppResponse, *Response, error)
- func (s *TestflightService) GetAppForPrereleaseVersion(ctx context.Context, id string, params *GetAppForPrereleaseVersionQuery) (*AppResponse, *Response, error)
- func (s *TestflightService) GetBetaAppLocalization(ctx context.Context, id string, params *GetBetaAppLocalizationQuery) (*BetaAppLocalizationResponse, *Response, error)
- func (s *TestflightService) GetBetaAppReviewDetail(ctx context.Context, id string, params *GetBetaAppReviewDetailQuery) (*BetaAppReviewDetailResponse, *Response, error)
- func (s *TestflightService) GetBetaAppReviewDetailsForApp(ctx context.Context, id string, params *GetBetaAppReviewDetailsForAppQuery) (*BetaAppReviewDetailResponse, *Response, error)
- func (s *TestflightService) GetBetaAppReviewSubmission(ctx context.Context, id string, params *GetBetaAppReviewSubmissionQuery) (*BetaAppReviewSubmissionResponse, *Response, error)
- func (s *TestflightService) GetBetaAppReviewSubmissionForBuild(ctx context.Context, id string, ...) (*BetaAppReviewSubmissionResponse, *Response, error)
- func (s *TestflightService) GetBetaBuildLocalization(ctx context.Context, id string, params *GetBetaBuildLocalizationQuery) (*BetaBuildLocalizationResponse, *Response, error)
- func (s *TestflightService) GetBetaGroup(ctx context.Context, id string, params *GetBetaGroupQuery) (*BetaGroupResponse, *Response, error)
- func (s *TestflightService) GetBetaLicenseAgreement(ctx context.Context, id string, params *GetBetaLicenseAgreementQuery) (*BetaLicenseAgreementResponse, *Response, error)
- func (s *TestflightService) GetBetaLicenseAgreementForApp(ctx context.Context, id string, params *GetBetaLicenseAgreementForAppQuery) (*BetaLicenseAgreementResponse, *Response, error)
- func (s *TestflightService) GetBetaTester(ctx context.Context, id string, params *GetBetaTesterQuery) (*BetaTesterResponse, *Response, error)
- func (s *TestflightService) GetBuildBetaDetail(ctx context.Context, id string, params *GetBuildBetaDetailsQuery) (*BuildBetaDetailResponse, *Response, error)
- func (s *TestflightService) GetBuildBetaDetailForBuild(ctx context.Context, id string, params *GetBuildBetaDetailForBuildQuery) (*BuildBetaDetailResponse, *Response, error)
- func (s *TestflightService) GetBuildForBetaAppReviewSubmission(ctx context.Context, id string, ...) (*BuildResponse, *Response, error)
- func (s *TestflightService) GetBuildForBetaBuildLocalization(ctx context.Context, id string, params *GetBuildForBetaBuildLocalizationQuery) (*BuildResponse, *Response, error)
- func (s *TestflightService) GetBuildForBuildBetaDetail(ctx context.Context, id string, params *GetBuildForBuildBetaDetailQuery) (*BuildResponse, *Response, error)
- func (s *TestflightService) GetPrereleaseVersion(ctx context.Context, id string, params *GetPrereleaseVersionQuery) (*PrereleaseVersionResponse, *Response, error)
- func (s *TestflightService) GetPrereleaseVersionForBuild(ctx context.Context, id string, params *GetPrereleaseVersionForBuildQuery) (*PrereleaseVersionResponse, *Response, error)
- func (s *TestflightService) ListAppIDsForBetaTester(ctx context.Context, id string, params *ListAppIDsForBetaTesterQuery) (*BetaTesterAppsLinkagesResponse, *Response, error)
- func (s *TestflightService) ListAppsForBetaTester(ctx context.Context, id string, params *ListAppsForBetaTesterQuery) (*AppsResponse, *Response, error)
- func (s *TestflightService) ListBetaAppLocalizations(ctx context.Context, params *ListBetaAppLocalizationsQuery) (*BetaAppLocalizationsResponse, *Response, error)
- func (s *TestflightService) ListBetaAppLocalizationsForApp(ctx context.Context, id string, params *ListBetaAppLocalizationsForAppQuery) (*BetaAppLocalizationsResponse, *Response, error)
- func (s *TestflightService) ListBetaAppReviewDetails(ctx context.Context, params *ListBetaAppReviewDetailsQuery) (*BetaAppReviewDetailsResponse, *Response, error)
- func (s *TestflightService) ListBetaAppReviewSubmissions(ctx context.Context, params *ListBetaAppReviewSubmissionsQuery) (*BetaAppReviewSubmissionsResponse, *Response, error)
- func (s *TestflightService) ListBetaBuildLocalizations(ctx context.Context, params *ListBetaBuildLocalizationsQuery) (*BetaBuildLocalizationsResponse, *Response, error)
- func (s *TestflightService) ListBetaBuildLocalizationsForBuild(ctx context.Context, id string, ...) (*BetaBuildLocalizationsResponse, *Response, error)
- func (s *TestflightService) ListBetaGroupIDsForBetaTester(ctx context.Context, id string, params *ListBetaGroupIDsForBetaTesterQuery) (*BetaTesterBetaGroupsLinkagesResponse, *Response, error)
- func (s *TestflightService) ListBetaGroups(ctx context.Context, params *ListBetaGroupsQuery) (*BetaGroupsResponse, *Response, error)
- func (s *TestflightService) ListBetaGroupsForApp(ctx context.Context, id string, params *ListBetaGroupsForAppQuery) (*BetaGroupsResponse, *Response, error)
- func (s *TestflightService) ListBetaGroupsForBetaTester(ctx context.Context, id string, params *ListBetaGroupsForBetaTesterQuery) (*BetaGroupsResponse, *Response, error)
- func (s *TestflightService) ListBetaLicenseAgreements(ctx context.Context, params *ListBetaLicenseAgreementsQuery) (*BetaLicenseAgreementsResponse, *Response, error)
- func (s *TestflightService) ListBetaTesterIDsForBetaGroup(ctx context.Context, id string, params *ListBetaTesterIDsForBetaGroupQuery) (*BetaGroupBetaTestersLinkagesResponse, *Response, error)
- func (s *TestflightService) ListBetaTesters(ctx context.Context, params *ListBetaTestersQuery) (*BetaTestersResponse, *Response, error)
- func (s *TestflightService) ListBetaTestersForBetaGroup(ctx context.Context, id string, params *ListBetaTestersForBetaGroupQuery) (*BetaTestersResponse, *Response, error)
- func (s *TestflightService) ListBuildBetaDetails(ctx context.Context, params *ListBuildBetaDetailsQuery) (*BuildBetaDetailsResponse, *Response, error)
- func (s *TestflightService) ListBuildIDsForBetaGroup(ctx context.Context, id string, params *ListBuildIDsForBetaGroupQuery) (*BetaGroupBuildsLinkagesResponse, *Response, error)
- func (s *TestflightService) ListBuildIDsIndividuallyAssignedToBetaTester(ctx context.Context, id string, ...) (*BetaTesterBuildsLinkagesResponse, *Response, error)
- func (s *TestflightService) ListBuildsForBetaGroup(ctx context.Context, id string, params *ListBuildsForBetaGroupQuery) (*BuildsResponse, *Response, error)
- func (s *TestflightService) ListBuildsForPrereleaseVersion(ctx context.Context, id string, params *ListBuildsForPrereleaseVersionQuery) (*BuildsResponse, *Response, error)
- func (s *TestflightService) ListBuildsIndividuallyAssignedToBetaTester(ctx context.Context, id string, ...) (*BuildsResponse, *Response, error)
- func (s *TestflightService) ListIndividualTestersForBuild(ctx context.Context, id string, params *ListIndividualTestersForBuildQuery) (*BetaTestersResponse, *Response, error)
- func (s *TestflightService) ListPrereleaseVersions(ctx context.Context, params *ListPrereleaseVersionsQuery) (*PrereleaseVersionsResponse, *Response, error)
- func (s *TestflightService) ListPrereleaseVersionsForApp(ctx context.Context, id string, params *ListPrereleaseVersionsForAppQuery) (*PrereleaseVersionsResponse, *Response, error)
- func (s *TestflightService) RemoveBetaTesterFromBetaGroups(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
- func (s *TestflightService) RemoveBetaTestersFromBetaGroup(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
- func (s *TestflightService) RemoveBuildsFromBetaGroup(ctx context.Context, id string, buildIDs []string) (*Response, error)
- func (s *TestflightService) RemoveSingleBetaTesterAccessApps(ctx context.Context, id string, appIDs []string) (*Response, error)
- func (s *TestflightService) UnassignSingleBetaTesterFromBuilds(ctx context.Context, id string, buildIDs []string) (*Response, error)
- func (s *TestflightService) UpdateBetaAppLocalization(ctx context.Context, id string, ...) (*BetaAppLocalizationResponse, *Response, error)
- func (s *TestflightService) UpdateBetaAppReviewDetail(ctx context.Context, id string, ...) (*BetaAppReviewDetailResponse, *Response, error)
- func (s *TestflightService) UpdateBetaBuildLocalization(ctx context.Context, id string, whatsNew *string) (*BetaBuildLocalizationResponse, *Response, error)
- func (s *TestflightService) UpdateBetaGroup(ctx context.Context, id string, attributes *BetaGroupUpdateRequestAttributes) (*BetaGroupResponse, *Response, error)
- func (s *TestflightService) UpdateBetaLicenseAgreement(ctx context.Context, id string, agreementText *string) (*BetaLicenseAgreementResponse, *Response, error)
- func (s *TestflightService) UpdateBuildBetaDetail(ctx context.Context, id string, autoNotifyEnabled *bool) (*BuildBetaDetailResponse, *Response, error)
- type UploadOperation
- type UploadOperationError
- type UploadOperationHeader
- type User
- type UserAttributes
- type UserInvitation
- type UserInvitationAttributes
- type UserInvitationCreateRequestAttributes
- type UserInvitationRelationships
- type UserInvitationResponse
- type UserInvitationsResponse
- type UserRelationships
- type UserResponse
- type UserRole
- type UserUpdateRequestAttributes
- type UserVisibleAppsLinkagesResponse
- type UsersResponse
- type UsersService
- func (s *UsersService) AddVisibleAppsForUser(ctx context.Context, id string, appIDs []string) (*Response, error)
- func (s *UsersService) CancelInvitation(ctx context.Context, id string) (*Response, error)
- func (s *UsersService) CreateInvitation(ctx context.Context, attributes UserInvitationCreateRequestAttributes, ...) (*UserInvitationResponse, *Response, error)
- func (s *UsersService) GetInvitation(ctx context.Context, id string, params *GetInvitationQuery) (*UserInvitationResponse, *Response, error)
- func (s *UsersService) GetUser(ctx context.Context, id string, params *GetUserQuery) (*UserResponse, *Response, error)
- func (s *UsersService) ListInvitations(ctx context.Context, params *ListInvitationsQuery) (*UserInvitationsResponse, *Response, error)
- func (s *UsersService) ListUsers(ctx context.Context, params *ListUsersQuery) (*UsersResponse, *Response, error)
- func (s *UsersService) ListVisibleAppsByResourceIDForUser(ctx context.Context, id string, params *ListVisibleAppsByResourceIDQuery) (*UserVisibleAppsLinkagesResponse, *Response, error)
- func (s *UsersService) ListVisibleAppsForInvitation(ctx context.Context, id string, params *ListVisibleAppsQuery) (*AppsResponse, *Response, error)
- func (s *UsersService) ListVisibleAppsForUser(ctx context.Context, id string, params *ListVisibleAppsQuery) (*AppsResponse, *Response, error)
- func (s *UsersService) RemoveUser(ctx context.Context, id string) (*Response, error)
- func (s *UsersService) RemoveVisibleAppsFromUser(ctx context.Context, id string, appIDs []string) (*Response, error)
- func (s *UsersService) UpdateUser(ctx context.Context, id string, attributes *UserUpdateRequestAttributes, ...) (*UserResponse, *Response, error)
- func (s *UsersService) UpdateVisibleAppsForUser(ctx context.Context, id string, appIDs []string) (*Response, error)
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidPrivateKey = errors.New("key could not be parsed as a valid ecdsa.PrivateKey")
ErrInvalidPrivateKey happens when a key cannot be parsed as a ECDSA PKCS8 private key.
var ErrMissingCSRContent = errors.New("no csr content provided, could not send request")
ErrMissingCSRContent happens when CreateCertificate is provided a nil Reader for processing a certificate signing request (CSR).
var ErrMissingChunkBounds = errors.New("could not establish bounds of upload operation")
ErrMissingChunkBounds happens when the UploadOperation object is missing an offset or length used to mark what bytes in the Reader will be uploaded.
var ErrMissingPEM = errors.New("no PEM blob found")
ErrMissingPEM happens when the bytes cannot be decoded as a PEM block.
var ErrMissingUploadDestination = errors.New("could not establish destination of upload operation")
ErrMissingUploadDestination happens when the UploadOperation object is missing a URL or HTTP method.
Functions ¶
func Bool ¶
Bool is a helper routine that allocates a new bool value to store v and returns a pointer to it.
func Float ¶
Float is a helper routine that allocates a new float64 value to store v and returns a pointer to it.
Types ¶
type AgeRatingDeclaration ¶
type AgeRatingDeclaration struct { Attributes *AgeRatingDeclarationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
AgeRatingDeclaration defines model for AgeRatingDeclaration.
https://developer.apple.com/documentation/appstoreconnectapi/ageratingdeclaration
type AgeRatingDeclarationAttributes ¶
type AgeRatingDeclarationAttributes struct { AlcoholTobaccoOrDrugUseOrReferences *string `json:"alcoholTobaccoOrDrugUseOrReferences,omitempty"` Contests *string `json:"contests,omitempty"` Gambling *bool `json:"gambling,omitempty"` GamblingSimulated *string `json:"gamblingSimulated,omitempty"` HorrorOrFearThemes *string `json:"horrorOrFearThemes,omitempty"` KidsAgeBand *KidsAgeBand `json:"kidsAgeBand,omitempty"` MatureOrSuggestiveThemes *string `json:"matureOrSuggestiveThemes,omitempty"` MedicalOrTreatmentInformation *string `json:"medicalOrTreatmentInformation,omitempty"` ProfanityOrCrudeHumor *string `json:"profanityOrCrudeHumor,omitempty"` SexualContentGraphicAndNudity *string `json:"sexualContentGraphicAndNudity,omitempty"` SexualContentOrNudity *string `json:"sexualContentOrNudity,omitempty"` SeventeenPlus *bool `json:"seventeenPlus,omitempty"` UnrestrictedWebAccess *bool `json:"unrestrictedWebAccess,omitempty"` ViolenceCartoonOrFantasy *string `json:"violenceCartoonOrFantasy,omitempty"` ViolenceRealistic *string `json:"violenceRealistic,omitempty"` ViolenceRealisticProlongedGraphicOrSadistic *string `json:"violenceRealisticProlongedGraphicOrSadistic,omitempty"` }
AgeRatingDeclarationAttributes defines model for AgeRatingDeclaration.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/ageratingdeclaration/attributes
type AgeRatingDeclarationResponse ¶
type AgeRatingDeclarationResponse struct { Data AgeRatingDeclaration `json:"data"` Links DocumentLinks `json:"links"` }
AgeRatingDeclarationResponse defines model for AgeRatingDeclarationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/ageratingdeclarationresponse
type AgeRatingDeclarationUpdateRequestAttributes ¶
type AgeRatingDeclarationUpdateRequestAttributes struct { AlcoholTobaccoOrDrugUseOrReferences *string `json:"alcoholTobaccoOrDrugUseOrReferences,omitempty"` Contests *string `json:"contests,omitempty"` Gambling *bool `json:"gambling,omitempty"` GamblingSimulated *string `json:"gamblingSimulated,omitempty"` HorrorOrFearThemes *string `json:"horrorOrFearThemes,omitempty"` KidsAgeBand *KidsAgeBand `json:"kidsAgeBand,omitempty"` MatureOrSuggestiveThemes *string `json:"matureOrSuggestiveThemes,omitempty"` MedicalOrTreatmentInformation *string `json:"medicalOrTreatmentInformation,omitempty"` ProfanityOrCrudeHumor *string `json:"profanityOrCrudeHumor,omitempty"` SexualContentGraphicAndNudity *string `json:"sexualContentGraphicAndNudity,omitempty"` SexualContentOrNudity *string `json:"sexualContentOrNudity,omitempty"` SeventeenPlus *bool `json:"seventeenPlus,omitempty"` UnrestrictedWebAccess *bool `json:"unrestrictedWebAccess,omitempty"` ViolenceCartoonOrFantasy *string `json:"violenceCartoonOrFantasy,omitempty"` ViolenceRealistic *string `json:"violenceRealistic,omitempty"` ViolenceRealisticProlongedGraphicOrSadistic *string `json:"violenceRealisticProlongedGraphicOrSadistic,omitempty"` }
AgeRatingDeclarationUpdateRequestAttributes are attributes for AgeRatingDeclarationUpdateRequest
type App ¶
type App struct { Attributes *AppAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
App defines model for App.
https://developer.apple.com/documentation/appstoreconnectapi/app
type AppAttributes ¶
type AppAttributes struct { AvailableInNewTerritories *bool `json:"availableInNewTerritories,omitempty"` BundleID *string `json:"bundleId,omitempty"` ContentRightsDeclaration *string `json:"contentRightsDeclaration,omitempty"` IsOrEverWasMadeForKids *bool `json:"isOrEverWasMadeForKids,omitempty"` Name *string `json:"name,omitempty"` PrimaryLocale *string `json:"primaryLocale,omitempty"` Sku *string `json:"sku,omitempty"` }
AppAttributes defines model for App.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/app/attributes
type AppCategoriesResponse ¶
type AppCategoriesResponse struct { Data []AppCategory `json:"data"` Included []AppCategoryResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppCategoriesResponse defines model for AppCategoriesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appcategoriesresponse
type AppCategory ¶
type AppCategory struct { Attributes *AppCategoryAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppCategoryRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppCategory defines model for AppCategory.
https://developer.apple.com/documentation/appstoreconnectapi/appcategory
type AppCategoryAttributes ¶
type AppCategoryAttributes struct {
Platforms []Platform `json:"platforms,omitempty"`
}
AppCategoryAttributes defines model for AppCategory.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appcategory/attributes
type AppCategoryRelationships ¶
type AppCategoryRelationships struct { Parent *Relationship `json:"parent,omitempty"` Subcategories *PagedRelationship `json:"subcategories,omitempty"` }
AppCategoryRelationships defines model for AppCategory.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appcategory/relationships
type AppCategoryResponse ¶
type AppCategoryResponse struct { Data AppCategory `json:"data"` Included []AppCategoryResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppCategoryResponse defines model for AppCategoryResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appcategoryresponse
type AppCategoryResponseIncluded ¶
type AppCategoryResponseIncluded included
AppCategoryResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a AppCategoryResponse or AppCategoriesResponse.
func (*AppCategoryResponseIncluded) AppCategory ¶
func (i *AppCategoryResponseIncluded) AppCategory() *AppCategory
AppCategory returns the AppCategory stored within, if one is present.
func (*AppCategoryResponseIncluded) UnmarshalJSON ¶
func (i *AppCategoryResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in AppCategoryResponseIncluded.
type AppEncryptionDeclaration ¶
type AppEncryptionDeclaration struct { Attributes *AppEncryptionDeclarationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppEncryptionDeclarationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppEncryptionDeclaration defines model for AppEncryptionDeclaration.
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclaration
type AppEncryptionDeclarationAttributes ¶
type AppEncryptionDeclarationAttributes struct { AppEncryptionDeclarationState *AppEncryptionDeclarationState `json:"appEncryptionDeclarationState,omitempty"` AvailableOnFrenchStore *bool `json:"availableOnFrenchStore,omitempty"` CodeValue *string `json:"codeValue,omitempty"` ContainsProprietaryCryptography *bool `json:"containsProprietaryCryptography,omitempty"` ContainsThirdPartyCryptography *bool `json:"containsThirdPartyCryptography,omitempty"` DocumentName *string `json:"documentName,omitempty"` DocumentType *string `json:"documentType,omitempty"` DocumentURL *string `json:"documentUrl,omitempty"` Exempt *bool `json:"exempt,omitempty"` Platform *Platform `json:"platform,omitempty"` UploadedDate *DateTime `json:"uploadedDate,omitempty"` UsesEncryption *bool `json:"usesEncryption,omitempty"` }
AppEncryptionDeclarationAttributes defines model for AppEncryptionDeclaration.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclaration/attributes
type AppEncryptionDeclarationRelationships ¶
type AppEncryptionDeclarationRelationships struct {
App *Relationship `json:"app,omitempty"`
}
AppEncryptionDeclarationRelationships defines model for AppEncryptionDeclaration.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclaration/relationships
type AppEncryptionDeclarationResponse ¶
type AppEncryptionDeclarationResponse struct { Data AppEncryptionDeclaration `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppEncryptionDeclarationResponse defines model for AppEncryptionDeclarationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclarationresponse
type AppEncryptionDeclarationState ¶
type AppEncryptionDeclarationState string
AppEncryptionDeclarationState defines model for AppEncryptionDeclarationState.
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclarationstate
const ( // AppEncryptionDeclarationStateApproved is an app encryption declaration state type for Approved. AppEncryptionDeclarationStateApproved AppEncryptionDeclarationState = "APPROVED" // AppEncryptionDeclarationStateExpired is an app encryption declaration state type for Expired. AppEncryptionDeclarationStateExpired AppEncryptionDeclarationState = "EXPIRED" // AppEncryptionDeclarationStateInvalid is an app encryption declaration state type for Invalid. AppEncryptionDeclarationStateInvalid AppEncryptionDeclarationState = "INVALID" // AppEncryptionDeclarationStateInReview is an app encryption declaration state type for InReview. AppEncryptionDeclarationStateInReview AppEncryptionDeclarationState = "IN_REVIEW" // AppEncryptionDeclarationStateRejected is an app encryption declaration state type for Rejected. AppEncryptionDeclarationStateRejected AppEncryptionDeclarationState = "REJECTED" )
type AppEncryptionDeclarationsResponse ¶
type AppEncryptionDeclarationsResponse struct { Data []AppEncryptionDeclaration `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppEncryptionDeclarationsResponse defines model for AppEncryptionDeclarationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appencryptiondeclarationsresponse
type AppInfo ¶
type AppInfo struct { Attributes *AppInfoAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppInfoRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppInfo defines model for AppInfo.
https://developer.apple.com/documentation/appstoreconnectapi/appinfo
type AppInfoAttributes ¶
type AppInfoAttributes struct { AppStoreAgeRating *AppStoreAgeRating `json:"appStoreAgeRating,omitempty"` AppStoreState *AppStoreVersionState `json:"appStoreState,omitempty"` BrazilAgeRating *BrazilAgeRating `json:"brazilAgeRating,omitempty"` KidsAgeBand *KidsAgeBand `json:"kidsAgeBand,omitempty"` }
AppInfoAttributes defines model for AppInfo.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appinfo/attributes
type AppInfoLocalization ¶
type AppInfoLocalization struct { Attributes *AppInfoLocalizationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppInfoLocalizationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppInfoLocalization defines model for AppInfoLocalization.
https://developer.apple.com/documentation/appstoreconnectapi/appinfolocalization
type AppInfoLocalizationAttributes ¶
type AppInfoLocalizationAttributes struct { Locale *string `json:"locale,omitempty"` Name *string `json:"name,omitempty"` PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` Subtitle *string `json:"subtitle,omitempty"` }
AppInfoLocalizationAttributes defines model for AppInfoLocalization.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appinfolocalization/attributes
type AppInfoLocalizationCreateRequestAttributes ¶
type AppInfoLocalizationCreateRequestAttributes struct { Locale string `json:"locale"` Name *string `json:"name,omitempty"` PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` Subtitle *string `json:"subtitle,omitempty"` }
AppInfoLocalizationCreateRequestAttributes are attributes for AppInfoLocalizationCreateRequest
type AppInfoLocalizationRelationships ¶
type AppInfoLocalizationRelationships struct {
AppInfo *Relationship `json:"appInfo,omitempty"`
}
AppInfoLocalizationRelationships defines model for AppInfoLocalization.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appinfolocalization/relationships
type AppInfoLocalizationResponse ¶
type AppInfoLocalizationResponse struct { Data AppInfoLocalization `json:"data"` Links DocumentLinks `json:"links"` }
AppInfoLocalizationResponse defines model for AppInfoLocalizationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appinfolocalizationresponse
type AppInfoLocalizationUpdateRequestAttributes ¶
type AppInfoLocalizationUpdateRequestAttributes struct { Name *string `json:"name,omitempty"` PrivacyPolicyText *string `json:"privacyPolicyText,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` Subtitle *string `json:"subtitle,omitempty"` }
AppInfoLocalizationUpdateRequestAttributes are attributes for AppInfoLocalizationUpdateRequest
type AppInfoLocalizationsResponse ¶
type AppInfoLocalizationsResponse struct { Data []AppInfoLocalization `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppInfoLocalizationsResponse defines model for AppInfoLocalizationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appinfolocalizationsresponse
type AppInfoRelationships ¶
type AppInfoRelationships struct { App *Relationship `json:"app,omitempty"` AppInfoLocalizations *PagedRelationship `json:"appInfoLocalizations,omitempty"` PrimaryCategory *Relationship `json:"primaryCategory,omitempty"` PrimarySubcategoryOne *Relationship `json:"primarySubcategoryOne,omitempty"` PrimarySubcategoryTwo *Relationship `json:"primarySubcategoryTwo,omitempty"` SecondaryCategory *Relationship `json:"secondaryCategory,omitempty"` SecondarySubcategoryOne *Relationship `json:"secondarySubcategoryOne,omitempty"` SecondarySubcategoryTwo *Relationship `json:"secondarySubcategoryTwo,omitempty"` AgeRatingDeclaration *Relationship `json:"ageRatingDeclarations,omitempty"` }
AppInfoRelationships defines model for AppInfo.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appinfo/relationships
type AppInfoResponse ¶
type AppInfoResponse struct { Data AppInfo `json:"data"` Included []AppInfoResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppInfoResponse defines model for AppInfoResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appinforesponse
type AppInfoResponseIncluded ¶
type AppInfoResponseIncluded included
AppInfoResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a AppInfoResponse or AppInfosResponse.
func (*AppInfoResponseIncluded) AppCategory ¶
func (i *AppInfoResponseIncluded) AppCategory() *AppCategory
AppCategory returns the AppCategory stored within, if one is present.
func (*AppInfoResponseIncluded) AppInfoLocalization ¶
func (i *AppInfoResponseIncluded) AppInfoLocalization() *AppInfoLocalization
AppInfoLocalization returns the AppInfoLocalization stored within, if one is present.
func (*AppInfoResponseIncluded) UnmarshalJSON ¶
func (i *AppInfoResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in AppInfoResponseIncluded.
type AppInfoUpdateRequestRelationships ¶
type AppInfoUpdateRequestRelationships struct { PrimaryCategoryID *string PrimarySubcategoryOneID *string PrimarySubcategoryTwoID *string SecondaryCategoryID *string SecondarySubcategoryOneID *string SecondarySubcategoryTwoID *string }
AppInfoUpdateRequestRelationships is a public-facing options object for AppInfoUpdateRequest relationships.
type AppInfosResponse ¶
type AppInfosResponse struct { Data []AppInfo `json:"data"` Included []AppInfoResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppInfosResponse defines model for AppInfosResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appinfosresponse
type AppMediaAssetState ¶
type AppMediaAssetState struct { Errors []AppMediaStateError `json:"errors,omitempty"` State *string `json:"state,omitempty"` Warnings []AppMediaStateError `json:"warnings,omitempty"` }
AppMediaAssetState defines model for AppMediaAssetState.
https://developer.apple.com/documentation/appstoreconnectapi/appmediastateerror
type AppMediaStateError ¶
type AppMediaStateError struct { Code *string `json:"code,omitempty"` Description *string `json:"description,omitempty"` }
AppMediaStateError defines model for AppMediaStateError.
https://developer.apple.com/documentation/appstoreconnectapi/appmediaassetstate
type AppPreOrder ¶
type AppPreOrder struct { Attributes *AppPreOrderAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPreOrderRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPreOrder defines model for AppPreOrder.
https://developer.apple.com/documentation/appstoreconnectapi/apppreorder
type AppPreOrderAttributes ¶
type AppPreOrderAttributes struct { AppReleaseDate *Date `json:"appReleaseDate,omitempty"` PreOrderAvailableDate *Date `json:"preOrderAvailableDate,omitempty"` }
AppPreOrderAttributes defines model for AppPreOrder.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/apppreorder/attributes
type AppPreOrderRelationships ¶
type AppPreOrderRelationships struct {
App *Relationship `json:"app,omitempty"`
}
AppPreOrderRelationships defines model for AppPreOrder.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/apppreorder/relationships
type AppPreOrderResponse ¶
type AppPreOrderResponse struct { Data AppPreOrder `json:"data"` Links DocumentLinks `json:"links"` }
AppPreOrderResponse defines model for AppPreOrderResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppreorderresponse
type AppPreview ¶
type AppPreview struct { Attributes *AppPreviewAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPreviewRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPreview defines model for AppPreview.
https://developer.apple.com/documentation/appstoreconnectapi/apppreview
type AppPreviewAttributes ¶
type AppPreviewAttributes struct { AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"` FileName *string `json:"fileName,omitempty"` FileSize *int64 `json:"fileSize,omitempty"` MimeType *string `json:"mimeType,omitempty"` PreviewFrameTimeCode *string `json:"previewFrameTimeCode,omitempty"` PreviewImage *ImageAsset `json:"previewImage,omitempty"` SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"` UploadOperations []UploadOperation `json:"uploadOperations,omitempty"` VideoURL *string `json:"videoUrl,omitempty"` }
AppPreviewAttributes defines model for AppPreview.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/apppreview/attributes
type AppPreviewRelationships ¶
type AppPreviewRelationships struct {
AppPreviewSet *Relationship `json:"appPreviewSet,omitempty"`
}
AppPreviewRelationships defines model for AppPreview.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/apppreview/relationships
type AppPreviewResponse ¶
type AppPreviewResponse struct { Data AppPreview `json:"data"` Links DocumentLinks `json:"links"` }
AppPreviewResponse defines model for AppPreviewResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewresponse
type AppPreviewSet ¶
type AppPreviewSet struct { Attributes *AppPreviewSetAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPreviewSetRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPreviewSet defines model for AppPreviewSet.
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewset
type AppPreviewSetAppPreviewsLinkagesResponse ¶
type AppPreviewSetAppPreviewsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPreviewSetAppPreviewsLinkagesResponse defines model for AppPreviewSetAppPreviewsLinkagesResponse.
type AppPreviewSetAttributes ¶
type AppPreviewSetAttributes struct {
PreviewType *PreviewType `json:"previewType,omitempty"`
}
AppPreviewSetAttributes defines model for AppPreviewSet.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewset/attributes
type AppPreviewSetRelationships ¶
type AppPreviewSetRelationships struct { AppPreviews *PagedRelationship `json:"appPreviews,omitempty"` AppStoreVersionLocalization *Relationship `json:"appStoreVersionLocalization,omitempty"` }
AppPreviewSetRelationships defines model for AppPreviewSet.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewset/relationships
type AppPreviewSetResponse ¶
type AppPreviewSetResponse struct { Data AppPreviewSet `json:"data"` Included []AppPreview `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppPreviewSetResponse defines model for AppPreviewSetResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewsetresponse
type AppPreviewSetsResponse ¶
type AppPreviewSetsResponse struct { Data []AppPreviewSet `json:"data"` Included []AppPreview `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPreviewSetsResponse defines model for AppPreviewSetsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewsetsresponse
type AppPreviewsResponse ¶
type AppPreviewsResponse struct { Data []AppPreview `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPreviewsResponse defines model for AppPreviewsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppreviewsresponse
type AppPrice ¶
type AppPrice struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPriceRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPrice defines model for AppPrice.
https://developer.apple.com/documentation/appstoreconnectapi/appprice
type AppPricePoint ¶
type AppPricePoint struct { Attributes *AppPricePointAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPricePointRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPricePoint defines model for AppPricePoint.
https://developer.apple.com/documentation/appstoreconnectapi/apppricepoint
type AppPricePointAttributes ¶
type AppPricePointAttributes struct { CustomerPrice *string `json:"customerPrice,omitempty"` Proceeds *string `json:"proceeds,omitempty"` }
AppPricePointAttributes defines model for AppPricePoint.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/apppricepoint/attributes
type AppPricePointRelationships ¶
type AppPricePointRelationships struct { PriceTier *Relationship `json:"priceTier,omitempty"` Territory *Relationship `json:"territory,omitempty"` }
AppPricePointRelationships defines model for AppPricePoint.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/apppricepoint/relationships
type AppPricePointResponse ¶
type AppPricePointResponse struct { Data AppPricePoint `json:"data"` Included []Territory `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppPricePointResponse defines model for AppPricePointResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppricepointresponse
type AppPricePointsResponse ¶
type AppPricePointsResponse struct { Data []AppPricePoint `json:"data"` Included []Territory `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPricePointsResponse defines model for AppPricePointsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppricepointsresponse
type AppPriceRelationships ¶
type AppPriceRelationships struct { App *Relationship `json:"app,omitempty"` PriceTier *Relationship `json:"priceTier,omitempty"` }
AppPriceRelationships defines model for AppPrice.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appprice/relationships
type AppPriceResponse ¶
type AppPriceResponse struct { Data AppPrice `json:"data"` Links DocumentLinks `json:"links"` }
AppPriceResponse defines model for AppPriceResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppriceresponse
type AppPriceTier ¶
type AppPriceTier struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppPriceTierRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppPriceTier defines model for AppPriceTier.
https://developer.apple.com/documentation/appstoreconnectapi/apppricetier
type AppPriceTierRelationships ¶
type AppPriceTierRelationships struct {
PricePoints *PagedRelationship `json:"pricePoints,omitempty"`
}
AppPriceTierRelationships defines model for AppPriceTier.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/apppricetier/relationships
type AppPriceTierResponse ¶
type AppPriceTierResponse struct { Data AppPriceTier `json:"data"` Included []AppPricePoint `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppPriceTierResponse defines model for AppPriceTierResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppricetierresponse
type AppPriceTiersResponse ¶
type AppPriceTiersResponse struct { Data []AppPriceTier `json:"data"` Included []AppPricePoint `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPriceTiersResponse defines model for AppPriceTiersResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppricetiersresponse
type AppPricesResponse ¶
type AppPricesResponse struct { Data []AppPrice `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppPricesResponse defines model for AppPricesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/apppricesresponse
type AppRelationships ¶
type AppRelationships struct { AppInfos *PagedRelationship `json:"appInfos,omitempty"` AppStoreVersions *PagedRelationship `json:"appStoreVersions,omitempty"` AvailableTerritories *PagedRelationship `json:"availableTerritories,omitempty"` BetaAppLocalizations *PagedRelationship `json:"betaAppLocalizations,omitempty"` BetaAppReviewDetail *Relationship `json:"betaAppReviewDetail,omitempty"` BetaGroups *PagedRelationship `json:"betaGroups,omitempty"` BetaLicenseAgreement *Relationship `json:"betaLicenseAgreement,omitempty"` Builds *PagedRelationship `json:"builds,omitempty"` EndUserLicenseAgreement *Relationship `json:"endUserLicenseAgreement,omitempty"` GameCenterEnabledVersions *PagedRelationship `json:"gameCenterEnabledVersions,omitempty"` InAppPurchases *PagedRelationship `json:"inAppPurchases,omitempty"` PreOrder *Relationship `json:"preOrder,omitempty"` PreReleaseVersions *PagedRelationship `json:"preReleaseVersions,omitempty"` Prices *PagedRelationship `json:"prices,omitempty"` }
AppRelationships defines model for App.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/app/relationships
type AppResponse ¶
type AppResponse struct { Data App `json:"data"` Included []AppResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppResponse defines model for AppResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appresponse
type AppResponseIncluded ¶
type AppResponseIncluded included
AppResponseIncluded is a heterogenous wrapper for the possible types that can be returned in an AppResponse or AppsResponse.
func (*AppResponseIncluded) AppInfo ¶
func (i *AppResponseIncluded) AppInfo() *AppInfo
AppInfo returns the AppInfo stored within, if one is present.
func (*AppResponseIncluded) AppPreOrder ¶
func (i *AppResponseIncluded) AppPreOrder() *AppPreOrder
AppPreOrder returns the AppPreOrder stored within, if one is present.
func (*AppResponseIncluded) AppPrice ¶
func (i *AppResponseIncluded) AppPrice() *AppPrice
AppPrice returns the AppPrice stored within, if one is present.
func (*AppResponseIncluded) AppStoreVersion ¶
func (i *AppResponseIncluded) AppStoreVersion() *AppStoreVersion
AppStoreVersion returns the AppStoreVersion stored within, if one is present.
func (*AppResponseIncluded) BetaAppLocalization ¶
func (i *AppResponseIncluded) BetaAppLocalization() *BetaAppLocalization
BetaAppLocalization returns the BetaAppLocalization stored within, if one is present.
func (*AppResponseIncluded) BetaAppReviewDetail ¶
func (i *AppResponseIncluded) BetaAppReviewDetail() *BetaAppReviewDetail
BetaAppReviewDetail returns the BetaAppReviewDetail stored within, if one is present.
func (*AppResponseIncluded) BetaGroup ¶
func (i *AppResponseIncluded) BetaGroup() *BetaGroup
BetaGroup returns the BetaGroup stored within, if one is present.
func (*AppResponseIncluded) BetaLicenseAgreement ¶
func (i *AppResponseIncluded) BetaLicenseAgreement() *BetaLicenseAgreement
BetaLicenseAgreement returns the BetaLicenseAgreement stored within, if one is present.
func (*AppResponseIncluded) Build ¶
func (i *AppResponseIncluded) Build() *Build
Build returns the Build stored within, if one is present.
func (*AppResponseIncluded) EndUserLicenseAgreement ¶
func (i *AppResponseIncluded) EndUserLicenseAgreement() *EndUserLicenseAgreement
EndUserLicenseAgreement returns the EndUserLicenseAgreement stored within, if one is present.
func (*AppResponseIncluded) GameCenterEnabledVersion ¶
func (i *AppResponseIncluded) GameCenterEnabledVersion() *GameCenterEnabledVersion
GameCenterEnabledVersion returns the GameCenterEnabledVersion stored within, if one is present.
func (*AppResponseIncluded) InAppPurchase ¶
func (i *AppResponseIncluded) InAppPurchase() *InAppPurchase
InAppPurchase returns the InAppPurchase stored within, if one is present.
func (*AppResponseIncluded) PerfPowerMetric ¶
func (i *AppResponseIncluded) PerfPowerMetric() *PerfPowerMetric
PerfPowerMetric returns the PerfPowerMetric stored within, if one is present.
func (*AppResponseIncluded) PrereleaseVersion ¶
func (i *AppResponseIncluded) PrereleaseVersion() *PrereleaseVersion
PrereleaseVersion returns the PrereleaseVersion stored within, if one is present.
func (*AppResponseIncluded) Territory ¶
func (i *AppResponseIncluded) Territory() *Territory
Territory returns the Territory stored within, if one is present.
func (*AppResponseIncluded) UnmarshalJSON ¶
func (i *AppResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in AppResponseIncluded.
type AppScreenshot ¶
type AppScreenshot struct { Attributes *AppScreenshotAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppScreenshotRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppScreenshot defines model for AppScreenshot.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshot
type AppScreenshotAttributes ¶
type AppScreenshotAttributes struct { AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"` AssetToken *string `json:"assetToken,omitempty"` AssetType *string `json:"assetType,omitempty"` FileName *string `json:"fileName,omitempty"` FileSize *int64 `json:"fileSize,omitempty"` ImageAsset *ImageAsset `json:"imageAsset,omitempty"` SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"` UploadOperations []UploadOperation `json:"uploadOperations,omitempty"` }
AppScreenshotAttributes defines model for AppScreenshot.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshot/attributes
type AppScreenshotRelationships ¶
type AppScreenshotRelationships struct {
AppScreenshotSet *Relationship `json:"appScreenshotSet,omitempty"`
}
AppScreenshotRelationships defines model for AppScreenshot.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshot/relationships
type AppScreenshotResponse ¶
type AppScreenshotResponse struct { Data AppScreenshot `json:"data"` Links DocumentLinks `json:"links"` }
AppScreenshotResponse defines model for AppScreenshotResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotresponse
type AppScreenshotSet ¶
type AppScreenshotSet struct { Attributes *AppScreenshotSetAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppScreenshotSetRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppScreenshotSet defines model for AppScreenshotSet.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotset
type AppScreenshotSetAppScreenshotsLinkagesResponse ¶
type AppScreenshotSetAppScreenshotsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppScreenshotSetAppScreenshotsLinkagesResponse defines model for AppScreenshotSetAppScreenshotsLinkagesResponse.
type AppScreenshotSetAttributes ¶
type AppScreenshotSetAttributes struct {
ScreenshotDisplayType *ScreenshotDisplayType `json:"screenshotDisplayType,omitempty"`
}
AppScreenshotSetAttributes defines model for AppScreenshotSet.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotset/attributes
type AppScreenshotSetRelationships ¶
type AppScreenshotSetRelationships struct { AppScreenshots *PagedRelationship `json:"appScreenshots,omitempty"` AppStoreVersionLocalization *Relationship `json:"appStoreVersionLocalization,omitempty"` }
AppScreenshotSetRelationships defines model for AppScreenshotSet.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotset/relationships
type AppScreenshotSetResponse ¶
type AppScreenshotSetResponse struct { Data AppScreenshotSet `json:"data"` Included []AppScreenshot `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppScreenshotSetResponse defines model for AppScreenshotSetResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotsetresponse
type AppScreenshotSetsResponse ¶
type AppScreenshotSetsResponse struct { Data []AppScreenshotSet `json:"data"` Included []AppScreenshot `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppScreenshotSetsResponse defines model for AppScreenshotSetsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotsetsresponse
type AppScreenshotsResponse ¶
type AppScreenshotsResponse struct { Data []AppScreenshot `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppScreenshotsResponse defines model for AppScreenshotsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appscreenshotsresponse
type AppStoreAgeRating ¶
type AppStoreAgeRating string
AppStoreAgeRating defines model for AppStoreAgeRating.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreagerating
const ( // AppStoreAgeRatingFourPlus is for an age rating of 4+. AppStoreAgeRatingFourPlus AppStoreAgeRating = "FOUR_PLUS" // AppStoreAgeRatingNinePlus is for an age rating of 9+. AppStoreAgeRatingNinePlus AppStoreAgeRating = "NINE_PLUS" // AppStoreAgeRatingSeventeenPlus is for an age rating of 17+. AppStoreAgeRatingSeventeenPlus AppStoreAgeRating = "SEVENTEEN_PLUS" // AppStoreAgeRatingTwelvePlus is for an age rating of 12+. AppStoreAgeRatingTwelvePlus AppStoreAgeRating = "TWELVE_PLUS" )
type AppStoreReviewAttachment ¶
type AppStoreReviewAttachment struct { Attributes *AppStoreReviewAttachmentAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppStoreReviewAttachmentRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppStoreReviewAttachment defines model for AppStoreReviewAttachment.
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewattachment
type AppStoreReviewAttachmentAttributes ¶
type AppStoreReviewAttachmentAttributes struct { AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"` FileName *string `json:"fileName,omitempty"` FileSize *int64 `json:"fileSize,omitempty"` SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"` UploadOperations []UploadOperation `json:"uploadOperations,omitempty"` }
AppStoreReviewAttachmentAttributes defines model for AppStoreReviewAttachment.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewattachment/attributes
type AppStoreReviewAttachmentRelationships ¶
type AppStoreReviewAttachmentRelationships struct {
AppStoreReviewDetail *Relationship `json:"appStoreReviewDetail,omitempty"`
}
AppStoreReviewAttachmentRelationships defines model for AppStoreReviewAttachment.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewattachment/relationships
type AppStoreReviewAttachmentResponse ¶
type AppStoreReviewAttachmentResponse struct { Data AppStoreReviewAttachment `json:"data"` Links DocumentLinks `json:"links"` }
AppStoreReviewAttachmentResponse defines model for AppStoreReviewAttachmentResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewattachmentresponse
type AppStoreReviewAttachmentsResponse ¶
type AppStoreReviewAttachmentsResponse struct { Data []AppStoreReviewAttachment `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppStoreReviewAttachmentsResponse defines model for AppStoreReviewAttachmentsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewattachmentsresponse
type AppStoreReviewDetail ¶
type AppStoreReviewDetail struct { Attributes *AppStoreReviewDetailAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppStoreReviewDetailRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppStoreReviewDetail defines model for AppStoreReviewDetail.
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewdetail
type AppStoreReviewDetailAttributes ¶
type AppStoreReviewDetailAttributes struct { ContactEmail *string `json:"contactEmail,omitempty"` ContactFirstName *string `json:"contactFirstName,omitempty"` ContactLastName *string `json:"contactLastName,omitempty"` ContactPhone *string `json:"contactPhone,omitempty"` DemoAccountName *string `json:"demoAccountName,omitempty"` DemoAccountPassword *string `json:"demoAccountPassword,omitempty"` DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"` Notes *string `json:"notes,omitempty"` }
AppStoreReviewDetailAttributes defines model for AppStoreReviewDetail.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewdetail/attributes
type AppStoreReviewDetailCreateRequestAttributes ¶
type AppStoreReviewDetailCreateRequestAttributes struct { ContactEmail *string `json:"contactEmail,omitempty"` ContactFirstName *string `json:"contactFirstName,omitempty"` ContactLastName *string `json:"contactLastName,omitempty"` ContactPhone *string `json:"contactPhone,omitempty"` DemoAccountName *string `json:"demoAccountName,omitempty"` DemoAccountPassword *string `json:"demoAccountPassword,omitempty"` DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"` Notes *string `json:"notes,omitempty"` }
AppStoreReviewDetailCreateRequestAttributes are attributes for AppStoreReviewDetailCreateRequest
type AppStoreReviewDetailRelationships ¶
type AppStoreReviewDetailRelationships struct { AppStoreReviewAttachments *PagedRelationship `json:"appStoreReviewAttachments,omitempty"` AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"` }
AppStoreReviewDetailRelationships defines model for AppStoreReviewDetail.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewdetail/relationships
type AppStoreReviewDetailResponse ¶
type AppStoreReviewDetailResponse struct { Data AppStoreReviewDetail `json:"data"` Included []AppStoreReviewAttachment `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppStoreReviewDetailResponse defines model for AppStoreReviewDetailResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstorereviewdetailresponse
type AppStoreReviewDetailUpdateRequestAttributes ¶
type AppStoreReviewDetailUpdateRequestAttributes struct { ContactEmail *string `json:"contactEmail,omitempty"` ContactFirstName *string `json:"contactFirstName,omitempty"` ContactLastName *string `json:"contactLastName,omitempty"` ContactPhone *string `json:"contactPhone,omitempty"` DemoAccountName *string `json:"demoAccountName,omitempty"` DemoAccountPassword *string `json:"demoAccountPassword,omitempty"` DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"` Notes *string `json:"notes,omitempty"` }
AppStoreReviewDetailUpdateRequestAttributes are attributes for AppStoreReviewDetailUpdateRequest
type AppStoreVersion ¶
type AppStoreVersion struct { Attributes *AppStoreVersionAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppStoreVersionRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppStoreVersion defines model for AppStoreVersion.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversion
type AppStoreVersionAttributes ¶
type AppStoreVersionAttributes struct { AppStoreState *AppStoreVersionState `json:"appStoreState,omitempty"` Copyright *string `json:"copyright,omitempty"` CreatedDate *DateTime `json:"createdDate,omitempty"` Downloadable *bool `json:"downloadable,omitempty"` EarliestReleaseDate *DateTime `json:"earliestReleaseDate,omitempty"` Platform *Platform `json:"platform,omitempty"` ReleaseType *string `json:"releaseType,omitempty"` UsesIDFA *bool `json:"usesIdfa,omitempty"` VersionString *string `json:"versionString,omitempty"` }
AppStoreVersionAttributes defines model for AppStoreVersion.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversion/attributes
type AppStoreVersionBuildLinkageResponse ¶
type AppStoreVersionBuildLinkageResponse struct { Data RelationshipData `json:"data"` Links DocumentLinks `json:"links"` }
AppStoreVersionBuildLinkageResponse defines model for AppStoreVersionBuildLinkageResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionbuildlinkageresponse
type AppStoreVersionCreateRequestAttributes ¶
type AppStoreVersionCreateRequestAttributes struct { Copyright *string `json:"copyright,omitempty"` EarliestReleaseDate *DateTime `json:"earliestReleaseDate,omitempty"` Platform Platform `json:"platform"` ReleaseType *string `json:"releaseType,omitempty"` UsesIDFA *bool `json:"usesIdfa,omitempty"` VersionString string `json:"versionString"` }
AppStoreVersionCreateRequestAttributes are attributes for AppStoreVersionCreateRequest
type AppStoreVersionLocalization ¶
type AppStoreVersionLocalization struct { Attributes *AppStoreVersionLocalizationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppStoreVersionLocalizationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppStoreVersionLocalization defines model for AppStoreVersionLocalization.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalization
type AppStoreVersionLocalizationAttributes ¶
type AppStoreVersionLocalizationAttributes struct { Description *string `json:"description,omitempty"` Keywords *string `json:"keywords,omitempty"` Locale *string `json:"locale,omitempty"` MarketingURL *string `json:"marketingUrl,omitempty"` PromotionalText *string `json:"promotionalText,omitempty"` SupportURL *string `json:"supportUrl,omitempty"` WhatsNew *string `json:"whatsNew,omitempty"` }
AppStoreVersionLocalizationAttributes defines model for AppStoreVersionLocalization.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalization/attributes
type AppStoreVersionLocalizationCreateRequestAttributes ¶
type AppStoreVersionLocalizationCreateRequestAttributes struct { Description *string `json:"description,omitempty"` Keywords *string `json:"keywords,omitempty"` Locale string `json:"locale"` MarketingURL *string `json:"marketingUrl,omitempty"` PromotionalText *string `json:"promotionalText,omitempty"` SupportURL *string `json:"supportUrl,omitempty"` WhatsNew *string `json:"whatsNew,omitempty"` }
AppStoreVersionLocalizationCreateRequestAttributes are attributes for AppStoreVersionLocalizationCreateRequest
type AppStoreVersionLocalizationRelationships ¶
type AppStoreVersionLocalizationRelationships struct { AppPreviewSets *PagedRelationship `json:"appPreviewSets,omitempty"` AppScreenshotSets *PagedRelationship `json:"appScreenshotSets,omitempty"` AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"` }
AppStoreVersionLocalizationRelationships defines model for AppStoreVersionLocalization.Relationships
type AppStoreVersionLocalizationResponse ¶
type AppStoreVersionLocalizationResponse struct { Data AppStoreVersionLocalization `json:"data"` Included []AppStoreVersionLocalizationResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppStoreVersionLocalizationResponse defines model for AppStoreVersionLocalizationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalizationresponse
type AppStoreVersionLocalizationResponseIncluded ¶
type AppStoreVersionLocalizationResponseIncluded included
AppStoreVersionLocalizationResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a AppStoreVersionLocalizationResponse or AppStoreVersionLocalizationsResponse.
func (*AppStoreVersionLocalizationResponseIncluded) AppPreviewSet ¶
func (i *AppStoreVersionLocalizationResponseIncluded) AppPreviewSet() *AppPreviewSet
AppPreviewSet returns the AppPreviewSet stored within, if one is present.
func (*AppStoreVersionLocalizationResponseIncluded) AppScreenshotSet ¶
func (i *AppStoreVersionLocalizationResponseIncluded) AppScreenshotSet() *AppScreenshotSet
AppScreenshotSet returns the AppScreenshotSet stored within, if one is present.
func (*AppStoreVersionLocalizationResponseIncluded) UnmarshalJSON ¶
func (i *AppStoreVersionLocalizationResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in AppStoreVersionLocalizationResponseIncluded.
type AppStoreVersionLocalizationUpdateRequestAttributes ¶
type AppStoreVersionLocalizationUpdateRequestAttributes struct { Description *string `json:"description,omitempty"` Keywords *string `json:"keywords,omitempty"` MarketingURL *string `json:"marketingUrl,omitempty"` PromotionalText *string `json:"promotionalText,omitempty"` SupportURL *string `json:"supportUrl,omitempty"` WhatsNew *string `json:"whatsNew,omitempty"` }
AppStoreVersionLocalizationUpdateRequestAttributes are attributes for AppStoreVersionLocalizationUpdateRequest
type AppStoreVersionLocalizationsResponse ¶
type AppStoreVersionLocalizationsResponse struct { Data []AppStoreVersionLocalization `json:"data"` Included []AppStoreVersionLocalizationResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppStoreVersionLocalizationsResponse defines model for AppStoreVersionLocalizationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionlocalizationsresponse
type AppStoreVersionPhasedRelease ¶
type AppStoreVersionPhasedRelease struct { Attributes *AppStoreVersionPhasedReleaseAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
AppStoreVersionPhasedRelease defines model for AppStoreVersionPhasedRelease.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionphasedrelease
type AppStoreVersionPhasedReleaseAttributes ¶
type AppStoreVersionPhasedReleaseAttributes struct { CurrentDayNumber *int `json:"currentDayNumber,omitempty"` PhasedReleaseState *PhasedReleaseState `json:"phasedReleaseState,omitempty"` StartDate *DateTime `json:"startDate,omitempty"` TotalPauseDuration *int `json:"totalPauseDuration,omitempty"` }
AppStoreVersionPhasedReleaseAttributes defines model for AppStoreVersionPhasedRelease.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionphasedrelease/attributes
type AppStoreVersionPhasedReleaseResponse ¶
type AppStoreVersionPhasedReleaseResponse struct { Data AppStoreVersionPhasedRelease `json:"data"` Links DocumentLinks `json:"links"` }
AppStoreVersionPhasedReleaseResponse defines model for AppStoreVersionPhasedReleaseResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionphasedreleaseresponse
type AppStoreVersionRelationships ¶
type AppStoreVersionRelationships struct { App *Relationship `json:"app,omitempty"` AppStoreReviewDetail *Relationship `json:"appStoreReviewDetail,omitempty"` AppStoreVersionLocalizations *PagedRelationship `json:"appStoreVersionLocalizations,omitempty"` AppStoreVersionPhasedRelease *Relationship `json:"appStoreVersionPhasedRelease,omitempty"` AppStoreVersionSubmission *Relationship `json:"appStoreVersionSubmission,omitempty"` Build *Relationship `json:"build,omitempty"` IDFADeclaration *Relationship `json:"idfaDeclaration,omitempty"` RoutingAppCoverage *Relationship `json:"routingAppCoverage,omitempty"` }
AppStoreVersionRelationships defines model for AppStoreVersion.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversion/relationships
type AppStoreVersionResponse ¶
type AppStoreVersionResponse struct { Data AppStoreVersion `json:"data"` Included []AppStoreVersionResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
AppStoreVersionResponse defines model for AppStoreVersionResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionresponse
type AppStoreVersionResponseIncluded ¶
type AppStoreVersionResponseIncluded included
AppStoreVersionResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a AppStoreVersionResponse or AppStoreVersionsResponse.
func (*AppStoreVersionResponseIncluded) AgeRatingDeclaration ¶
func (i *AppStoreVersionResponseIncluded) AgeRatingDeclaration() *AgeRatingDeclaration
AgeRatingDeclaration returns the AgeRatingDeclaration stored within, if one is present.
func (*AppStoreVersionResponseIncluded) AppStoreReviewDetail ¶
func (i *AppStoreVersionResponseIncluded) AppStoreReviewDetail() *AppStoreReviewDetail
AppStoreReviewDetail returns the AppStoreReviewDetail stored within, if one is present.
func (*AppStoreVersionResponseIncluded) AppStoreVersionLocalization ¶
func (i *AppStoreVersionResponseIncluded) AppStoreVersionLocalization() *AppStoreVersionLocalization
AppStoreVersionLocalization returns the AppStoreVersionLocalization stored within, if one is present.
func (*AppStoreVersionResponseIncluded) AppStoreVersionPhasedRelease ¶
func (i *AppStoreVersionResponseIncluded) AppStoreVersionPhasedRelease() *AppStoreVersionPhasedRelease
AppStoreVersionPhasedRelease returns the AppStoreVersionPhasedRelease stored within, if one is present.
func (*AppStoreVersionResponseIncluded) AppStoreVersionSubmission ¶
func (i *AppStoreVersionResponseIncluded) AppStoreVersionSubmission() *AppStoreVersionSubmission
AppStoreVersionSubmission returns the AppStoreVersionSubmission stored within, if one is present.
func (*AppStoreVersionResponseIncluded) Build ¶
func (i *AppStoreVersionResponseIncluded) Build() *Build
Build returns the Build stored within, if one is present.
func (*AppStoreVersionResponseIncluded) IDFADeclaration ¶
func (i *AppStoreVersionResponseIncluded) IDFADeclaration() *IDFADeclaration
IDFADeclaration returns the IDFADeclaration stored within, if one is present.
func (*AppStoreVersionResponseIncluded) RoutingAppCoverage ¶
func (i *AppStoreVersionResponseIncluded) RoutingAppCoverage() *RoutingAppCoverage
RoutingAppCoverage returns the RoutingAppCoverage stored within, if one is present.
func (*AppStoreVersionResponseIncluded) UnmarshalJSON ¶
func (i *AppStoreVersionResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in AppStoreVersionResponseIncluded.
type AppStoreVersionState ¶
type AppStoreVersionState string
AppStoreVersionState defines model for AppStoreVersionState.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionstate
const ( // AppStoreVersionStateDeveloperRejected is an app store version state for DeveloperRejected. AppStoreVersionStateDeveloperRejected AppStoreVersionState = "DEVELOPER_REJECTED" // AppStoreVersionStateDeveloperRemovedFromSale is an app store version state for DeveloperRemovedFromSale. AppStoreVersionStateDeveloperRemovedFromSale AppStoreVersionState = "DEVELOPER_REMOVED_FROM_SALE" // AppStoreVersionStateInvalidBinary is an app store version state for InvalidBinary. AppStoreVersionStateInvalidBinary AppStoreVersionState = "INVALID_BINARY" // AppStoreVersionStateInReview is an app store version state for InReview. AppStoreVersionStateInReview AppStoreVersionState = "IN_REVIEW" // AppStoreVersionStateMetadataRejected is an app store version state for MetadataRejected. AppStoreVersionStateMetadataRejected AppStoreVersionState = "METADATA_REJECTED" // AppStoreVersionStatePendingAppleRelease is an app store version state for PendingAppleRelease. AppStoreVersionStatePendingAppleRelease AppStoreVersionState = "PENDING_APPLE_RELEASE" // AppStoreVersionStatePendingContract is an app store version state for PendingContract. AppStoreVersionStatePendingContract AppStoreVersionState = "PENDING_CONTRACT" // AppStoreVersionStatePendingDeveloperRelease is an app store version state for PendingDeveloperRelease. AppStoreVersionStatePendingDeveloperRelease AppStoreVersionState = "PENDING_DEVELOPER_RELEASE" // AppStoreVersionStatePreorderReadyForSale is an app store version state for PreorderReadyForSale. AppStoreVersionStatePreorderReadyForSale AppStoreVersionState = "PREORDER_READY_FOR_SALE" // AppStoreVersionStatePrepareForSubmission is an app store version state for PrepareForSubmission. AppStoreVersionStatePrepareForSubmission AppStoreVersionState = "PREPARE_FOR_SUBMISSION" // AppStoreVersionStateProcessingForAppStore is an app store version state for ProcessingForAppStore. AppStoreVersionStateProcessingForAppStore AppStoreVersionState = "PROCESSING_FOR_APP_STORE" // AppStoreVersionStateReadyForSale is an app store version state for ReadyForSale. AppStoreVersionStateReadyForSale AppStoreVersionState = "READY_FOR_SALE" // AppStoreVersionStateRejected is an app store version state for Rejected. AppStoreVersionStateRejected AppStoreVersionState = "REJECTED" // AppStoreVersionStateRemovedFromSale is an app store version state for RemovedFromSale. AppStoreVersionStateRemovedFromSale AppStoreVersionState = "REMOVED_FROM_SALE" // AppStoreVersionStateReplacedWithNewVersion is an app store version state for ReplacedWithNewVersion. AppStoreVersionStateReplacedWithNewVersion AppStoreVersionState = "REPLACED_WITH_NEW_VERSION" // AppStoreVersionStateWaitingForExportCompliance is an app store version state for WaitingForExportCompliance. AppStoreVersionStateWaitingForExportCompliance AppStoreVersionState = "WAITING_FOR_EXPORT_COMPLIANCE" // AppStoreVersionStateWaitingForReview is an app store version state for WaitingForReview. AppStoreVersionStateWaitingForReview AppStoreVersionState = "WAITING_FOR_REVIEW" )
type AppStoreVersionSubmission ¶
type AppStoreVersionSubmission struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *AppStoreVersionSubmissionRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
AppStoreVersionSubmission defines model for AppStoreVersionSubmission.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionsubmission
type AppStoreVersionSubmissionRelationships ¶
type AppStoreVersionSubmissionRelationships struct {
AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"`
}
AppStoreVersionSubmissionRelationships defines model for AppStoreVersionSubmission.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionsubmission/relationships
type AppStoreVersionSubmissionResponse ¶
type AppStoreVersionSubmissionResponse struct { Data AppStoreVersionSubmission `json:"data"` Links DocumentLinks `json:"links"` }
AppStoreVersionSubmissionResponse defines model for AppStoreVersionSubmissionResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionsubmissionresponse
type AppStoreVersionUpdateRequestAttributes ¶
type AppStoreVersionUpdateRequestAttributes struct { Copyright *string `json:"copyright,omitempty"` Downloadable *bool `json:"downloadable,omitempty"` EarliestReleaseDate *DateTime `json:"earliestReleaseDate,omitempty"` ReleaseType *string `json:"releaseType,omitempty"` UsesIDFA *bool `json:"usesIdfa,omitempty"` VersionString *string `json:"versionString,omitempty"` }
AppStoreVersionUpdateRequestAttributes are attributes for AppStoreVersionUpdateRequest
type AppStoreVersionsResponse ¶
type AppStoreVersionsResponse struct { Data []AppStoreVersion `json:"data"` Included []AppStoreVersionResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppStoreVersionsResponse defines model for AppStoreVersionsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionsresponse
type AppUpdateRequestAttributes ¶
type AppUpdateRequestAttributes struct { AvailableInNewTerritories *bool `json:"availableInNewTerritories,omitempty"` BundleID *string `json:"bundleId,omitempty"` ContentRightsDeclaration *string `json:"contentRightsDeclaration,omitempty"` PrimaryLocale *string `json:"primaryLocale,omitempty"` }
AppUpdateRequestAttributes are attributes for AppUpdateRequest
https://developer.apple.com/documentation/appstoreconnectapi/appupdaterequest/data/attributes
type AppsResponse ¶
type AppsResponse struct { Data []App `json:"data"` Included []AppResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
AppsResponse defines model for AppsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/appsresponse
type AppsService ¶
type AppsService service
AppsService handles communication with build-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/apps https://developer.apple.com/documentation/appstoreconnectapi/app_metadata
func (*AppsService) CommitAppPreview ¶
func (s *AppsService) CommitAppPreview(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string, previewFrameTimeCode *string) (*AppPreviewResponse, *Response, error)
CommitAppPreview commits an app preview after uploading it.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_preview
func (*AppsService) CommitAppScreenshot ¶
func (s *AppsService) CommitAppScreenshot(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*AppScreenshotResponse, *Response, error)
CommitAppScreenshot commits an app screenshot after uploading it.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_screenshot
func (*AppsService) CommitRoutingAppCoverage ¶
func (s *AppsService) CommitRoutingAppCoverage(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*RoutingAppCoverageResponse, *Response, error)
CommitRoutingAppCoverage commits a routing app coverage file after uploading it.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_routing_app_coverage
func (*AppsService) CreateAppInfoLocalization ¶
func (s *AppsService) CreateAppInfoLocalization(ctx context.Context, attributes AppInfoLocalizationCreateRequestAttributes, appInfoID string) (*AppInfoLocalizationResponse, *Response, error)
CreateAppInfoLocalization adds app-level localized information for a new locale.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_info_localization
func (*AppsService) CreateAppPreview ¶
func (s *AppsService) CreateAppPreview(ctx context.Context, fileName string, fileSize int64, appPreviewSetID string) (*AppPreviewResponse, *Response, error)
CreateAppPreview adds a new preview to a preview set.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_preview
func (*AppsService) CreateAppPreviewSet ¶
func (s *AppsService) CreateAppPreviewSet(ctx context.Context, previewType PreviewType, appStoreVersionLocalizationID string) (*AppPreviewSetResponse, *Response, error)
CreateAppPreviewSet adds a new preview set to an App Store version localization for a specific preview type and display size.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_preview_set
func (*AppsService) CreateAppScreenshot ¶
func (s *AppsService) CreateAppScreenshot(ctx context.Context, fileName string, fileSize int64, appScreenshotSetID string) (*AppScreenshotResponse, *Response, error)
CreateAppScreenshot adds a new screenshot to a screenshot set.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_screenshot
func (*AppsService) CreateAppScreenshotSet ¶
func (s *AppsService) CreateAppScreenshotSet(ctx context.Context, screenshotDisplayType ScreenshotDisplayType, appStoreVersionLocalizationID string) (*AppScreenshotSetResponse, *Response, error)
CreateAppScreenshotSet adds a new screenshot set to an App Store version localization for a specific screenshot type and display size.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_screenshot_set
func (*AppsService) CreateAppStoreVersion ¶
func (s *AppsService) CreateAppStoreVersion(ctx context.Context, attributes AppStoreVersionCreateRequestAttributes, appID string, buildID *string) (*AppStoreVersionResponse, *Response, error)
CreateAppStoreVersion adds a new App Store version or platform to an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_version
func (*AppsService) CreateAppStoreVersionLocalization ¶
func (s *AppsService) CreateAppStoreVersionLocalization(ctx context.Context, attributes AppStoreVersionLocalizationCreateRequestAttributes, appStoreVersionID string) (*AppStoreVersionLocalizationResponse, *Response, error)
CreateAppStoreVersionLocalization adds localized version-level information for a new locale.
func (*AppsService) CreateCompatibleVersionsForGameCenterEnabledVersion ¶
func (s *AppsService) CreateCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
CreateCompatibleVersionsForGameCenterEnabledVersion adds a relationship between a given version and a Game Center enabled version
func (*AppsService) CreateEULA ¶
func (s *AppsService) CreateEULA(ctx context.Context, agreementText string, appID string, territoryIDs []string) (*EndUserLicenseAgreementResponse, *Response, error)
CreateEULA adds a custom end user license agreement (EULA) to an app and configure the territories to which it applies.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_end_user_license_agreement
func (*AppsService) CreateInAppPurchase ¶
func (s *AppsService) CreateInAppPurchase(ctx context.Context, appID string, attributes InAppPurchaseCreateRequestAttributes) (*InAppPurchaseResponse, *Response, error)
CreateInAppPurchase create an in-app purchase, including a consumable, non-consumable, or non-renewing subscription.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_in-app_purchase
func (*AppsService) CreateRoutingAppCoverage ¶
func (s *AppsService) CreateRoutingAppCoverage(ctx context.Context, fileName string, fileSize int64, appStoreVersionID string) (*RoutingAppCoverageResponse, *Response, error)
CreateRoutingAppCoverage attaches a routing app coverage file to an App Store version.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_routing_app_coverage
func (*AppsService) DeleteAppInfoLocalization ¶
DeleteAppInfoLocalization deletes an app information localization that is associated with an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_info_localization
func (*AppsService) DeleteAppPreview ¶
DeleteAppPreview deletes an app preview that is associated with a preview set.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_preview
func (*AppsService) DeleteAppPreviewSet ¶
DeleteAppPreviewSet deletes an app preview set and all of its previews.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_preview_set
func (*AppsService) DeleteAppScreenshot ¶
DeleteAppScreenshot deletes an app screenshot that is associated with a screenshot set.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_screenshot
func (*AppsService) DeleteAppScreenshotSet ¶
DeleteAppScreenshotSet deletes an app screenshot set and all of its screenshots.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_screenshot_set
func (*AppsService) DeleteAppStoreVersion ¶
DeleteAppStoreVersion deletes an app store version that is associated with an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_store_version
func (*AppsService) DeleteAppStoreVersionLocalization ¶
func (s *AppsService) DeleteAppStoreVersionLocalization(ctx context.Context, id string) (*Response, error)
DeleteAppStoreVersionLocalization deletes a language from your version metadata.
func (*AppsService) DeleteEULA ¶
DeleteEULA deletes the custom end user license agreement that is associated with an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_end_user_license_agreement
func (*AppsService) DeleteRoutingAppCoverage ¶
DeleteRoutingAppCoverage deletes the routing app coverage file that is associated with a version.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_routing_app_coverage
func (*AppsService) GetAgeRatingDeclarationForAppInfo ¶
func (s *AppsService) GetAgeRatingDeclarationForAppInfo(ctx context.Context, id string, params *GetAgeRatingDeclarationForAppInfoQuery) (*AgeRatingDeclarationResponse, *Response, error)
GetAgeRatingDeclarationForAppInfo gets the age-related information declared for your app.
https://developer.apple.com/documentation/appstoreconnectapi/get_v1_appinfos_id_ageratingdeclaration
func (*AppsService) GetApp ¶
func (s *AppsService) GetApp(ctx context.Context, id string, params *GetAppQuery) (*AppResponse, *Response, error)
GetApp gets information about a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_information
func (*AppsService) GetAppCategory ¶
func (s *AppsService) GetAppCategory(ctx context.Context, id string, params *GetAppCategoryQuery) (*AppCategoryResponse, *Response, error)
GetAppCategory gets a specific app category.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_category_information
func (*AppsService) GetAppInfo ¶
func (s *AppsService) GetAppInfo(ctx context.Context, id string, params *GetAppInfoQuery) (*AppInfoResponse, *Response, error)
GetAppInfo reads App Store information including your App Store state, age ratings, Brazil age rating, and kids' age band.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_info_information
func (*AppsService) GetAppInfoLocalization ¶
func (s *AppsService) GetAppInfoLocalization(ctx context.Context, id string, params *GetAppInfoLocalizationQuery) (*AppInfoLocalizationResponse, *Response, error)
GetAppInfoLocalization reads localized app-level information.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_info_localization_information
func (*AppsService) GetAppPreview ¶
func (s *AppsService) GetAppPreview(ctx context.Context, id string, params *GetAppPreviewQuery) (*AppPreviewResponse, *Response, error)
GetAppPreview gets information about an app preview and its upload and processing status.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_preview_information
func (*AppsService) GetAppPreviewSet ¶
func (s *AppsService) GetAppPreviewSet(ctx context.Context, id string, params *GetAppPreviewSetQuery) (*AppPreviewSetResponse, *Response, error)
GetAppPreviewSet gets an app preview set including its display target, language, and the preview it contains.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_preview_set_information
func (*AppsService) GetAppScreenshot ¶
func (s *AppsService) GetAppScreenshot(ctx context.Context, id string, params *GetAppScreenshotQuery) (*AppScreenshotResponse, *Response, error)
GetAppScreenshot gets information about an app screenshot and its upload and processing status.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_screenshot_information
func (*AppsService) GetAppScreenshotSet ¶
func (s *AppsService) GetAppScreenshotSet(ctx context.Context, id string, params *GetAppScreenshotSetQuery) (*AppScreenshotSetResponse, *Response, error)
GetAppScreenshotSet gets an app screenshot set including its display target, language, and the screenshot it contains.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_screenshot_set_information
func (*AppsService) GetAppStoreVersion ¶
func (s *AppsService) GetAppStoreVersion(ctx context.Context, id string, params *GetAppStoreVersionQuery) (*AppStoreVersionResponse, *Response, error)
GetAppStoreVersion gets information for a specific app store version.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_store_version_information
func (*AppsService) GetAppStoreVersionLocalization ¶
func (s *AppsService) GetAppStoreVersionLocalization(ctx context.Context, id string, params *GetAppStoreVersionLocalizationQuery) (*AppStoreVersionLocalizationResponse, *Response, error)
GetAppStoreVersionLocalization reads localized version-level information.
func (*AppsService) GetBuildIDForAppStoreVersion ¶
func (s *AppsService) GetBuildIDForAppStoreVersion(ctx context.Context, id string) (*AppStoreVersionBuildLinkageResponse, *Response, error)
GetBuildIDForAppStoreVersion gets the ID of the build that is attached to a specific App Store version.
func (*AppsService) GetEULA ¶
func (s *AppsService) GetEULA(ctx context.Context, id string, params *GetEULAQuery) (*EndUserLicenseAgreementResponse, *Response, error)
GetEULA gets the custom end user license agreement associated with an app, and the territories it applies to.
func (*AppsService) GetEULAForApp ¶
func (s *AppsService) GetEULAForApp(ctx context.Context, id string, params *GetEULAForAppQuery) (*EndUserLicenseAgreementResponse, *Response, error)
GetEULAForApp gets the custom end user license agreement (EULA) for a specific app and the territories where the agreement applies.
func (*AppsService) GetInAppPurchase ¶
func (s *AppsService) GetInAppPurchase(ctx context.Context, id string, params *GetInAppPurchaseQuery) (*InAppPurchaseResponse, *Response, error)
GetInAppPurchase gets information about an in-app purchase.
https://developer.apple.com/documentation/appstoreconnectapi/read_in-app_purchase_information
func (*AppsService) GetParentCategoryForAppCategory ¶
func (s *AppsService) GetParentCategoryForAppCategory(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetParentCategoryForAppCategory gets the App Store category to which a specific subcategory belongs.
func (*AppsService) GetPrimaryCategoryForAppInfo ¶
func (s *AppsService) GetPrimaryCategoryForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetPrimaryCategoryForAppInfo gets an app’s primary App Store category.
func (*AppsService) GetPrimarySubcategoryOneForAppInfo ¶
func (s *AppsService) GetPrimarySubcategoryOneForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetPrimarySubcategoryOneForAppInfo gets the first App Store subcategory within an app’s primary category.
func (*AppsService) GetPrimarySubcategoryTwoForAppInfo ¶
func (s *AppsService) GetPrimarySubcategoryTwoForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetPrimarySubcategoryTwoForAppInfo gets the second App Store subcategory within an app’s primary category.
func (*AppsService) GetRoutingAppCoverage ¶
func (s *AppsService) GetRoutingAppCoverage(ctx context.Context, id string, params *GetRoutingAppCoverageQuery) (*RoutingAppCoverageResponse, *Response, error)
GetRoutingAppCoverage gets information about the routing app coverage file and its upload and processing status.
https://developer.apple.com/documentation/appstoreconnectapi/read_routing_app_coverage_information
func (*AppsService) GetRoutingAppCoverageForAppStoreVersion ¶
func (s *AppsService) GetRoutingAppCoverageForAppStoreVersion(ctx context.Context, id string, params *GetRoutingAppCoverageForVersionQuery) (*RoutingAppCoverageResponse, *Response, error)
GetRoutingAppCoverageForAppStoreVersion gets the routing app coverage file that is associated with a specific App Store version
func (*AppsService) GetSecondaryCategoryForAppInfo ¶
func (s *AppsService) GetSecondaryCategoryForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetSecondaryCategoryForAppInfo gets an app’s secondary App Store category.
func (*AppsService) GetSecondarySubcategoryOneForAppInfo ¶
func (s *AppsService) GetSecondarySubcategoryOneForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetSecondarySubcategoryOneForAppInfo gets the first App Store subcategory within an app’s secondary category.
func (*AppsService) GetSecondarySubcategoryTwoForAppInfo ¶
func (s *AppsService) GetSecondarySubcategoryTwoForAppInfo(ctx context.Context, id string, params *GetAppCategoryForAppInfoQuery) (*AppCategoryResponse, *Response, error)
GetSecondarySubcategoryTwoForAppInfo gets the second App Store subcategory within an app’s secondary category.
func (*AppsService) ListAppCategories ¶
func (s *AppsService) ListAppCategories(ctx context.Context, params *ListAppCategoriesQuery) (*AppCategoriesResponse, *Response, error)
ListAppCategories lists all categories on the App Store, including the category and subcategory hierarchy.
https://developer.apple.com/documentation/appstoreconnectapi/list_app_categories
func (*AppsService) ListAppInfoLocalizationsForAppInfo ¶
func (s *AppsService) ListAppInfoLocalizationsForAppInfo(ctx context.Context, id string, params *ListAppInfoLocalizationsForAppInfoQuery) (*AppInfoLocalizationsResponse, *Response, error)
ListAppInfoLocalizationsForAppInfo gets a list of localized, app-level information for an app.
func (*AppsService) ListAppInfosForApp ¶
func (s *AppsService) ListAppInfosForApp(ctx context.Context, id string, params *ListAppInfosForAppQuery) (*AppInfosResponse, *Response, error)
ListAppInfosForApp gets information about an app that is currently live on App Store, or that goes live with the next version.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_infos_for_an_app
func (*AppsService) ListAppPreviewIDsForSet ¶
func (s *AppsService) ListAppPreviewIDsForSet(ctx context.Context, id string, params *ListAppPreviewIDsForSetQuery) (*AppPreviewSetAppPreviewsLinkagesResponse, *Response, error)
ListAppPreviewIDsForSet gets the ordered preview IDs in a preview set.
func (*AppsService) ListAppPreviewSetsForAppStoreVersionLocalization ¶
func (s *AppsService) ListAppPreviewSetsForAppStoreVersionLocalization(ctx context.Context, id string, params *ListAppPreviewSetsForAppStoreVersionLocalizationQuery) (*AppPreviewSetsResponse, *Response, error)
ListAppPreviewSetsForAppStoreVersionLocalization lists all app preview sets for a specific localization.
func (*AppsService) ListAppPreviewsForSet ¶
func (s *AppsService) ListAppPreviewsForSet(ctx context.Context, id string, params *ListAppPreviewsForSetQuery) (*AppPreviewsResponse, *Response, error)
ListAppPreviewsForSet lists all ordered previews in a preview set.
func (*AppsService) ListAppScreenshotIDsForSet ¶
func (s *AppsService) ListAppScreenshotIDsForSet(ctx context.Context, id string, params *ListAppScreenshotIDsForSetQuery) (*AppScreenshotSetAppScreenshotsLinkagesResponse, *Response, error)
ListAppScreenshotIDsForSet gets the ordered screenshot IDs in a screenshot set.
func (*AppsService) ListAppScreenshotSetsForAppStoreVersionLocalization ¶
func (s *AppsService) ListAppScreenshotSetsForAppStoreVersionLocalization(ctx context.Context, id string, params *ListAppScreenshotSetsForAppStoreVersionLocalizationQuery) (*AppScreenshotSetsResponse, *Response, error)
ListAppScreenshotSetsForAppStoreVersionLocalization lists all screenshot sets for a specific localization.
func (*AppsService) ListAppScreenshotsForSet ¶
func (s *AppsService) ListAppScreenshotsForSet(ctx context.Context, id string, params *ListAppScreenshotsForSetQuery) (*AppScreenshotsResponse, *Response, error)
ListAppScreenshotsForSet lists all ordered screenshots in a screenshot set.
func (*AppsService) ListAppStoreVersionsForApp ¶
func (s *AppsService) ListAppStoreVersionsForApp(ctx context.Context, id string, params *ListAppStoreVersionsQuery) (*AppStoreVersionsResponse, *Response, error)
ListAppStoreVersionsForApp gets a list of all App Store versions of an app across all platforms.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_store_versions_for_an_app
func (*AppsService) ListApps ¶
func (s *AppsService) ListApps(ctx context.Context, params *ListAppsQuery) (*AppsResponse, *Response, error)
ListApps finds and lists apps added in App Store Connect.
https://developer.apple.com/documentation/appstoreconnectapi/list_apps
func (*AppsService) ListCompatibleVersionIDsForGameCenterEnabledVersion ¶
func (s *AppsService) ListCompatibleVersionIDsForGameCenterEnabledVersion(ctx context.Context, id string, params *ListCompatibleVersionIDsForGameCenterEnabledVersionQuery) (*GameCenterEnabledVersionCompatibleVersionsLinkagesResponse, *Response, error)
ListCompatibleVersionIDsForGameCenterEnabledVersion lists the version IDs that are compatible with a given Game Center version
func (*AppsService) ListCompatibleVersionsForGameCenterEnabledVersion ¶
func (s *AppsService) ListCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, params *ListCompatibleVersionsForGameCenterEnabledVersionQuery) (*GameCenterEnabledVersionsResponse, *Response, error)
ListCompatibleVersionsForGameCenterEnabledVersion lists the versions that are compatible with a given Game Center version
func (*AppsService) ListGameCenterEnabledVersionsForApp ¶
func (s *AppsService) ListGameCenterEnabledVersionsForApp(ctx context.Context, id string, params *ListGameCenterEnabledVersionsForAppQuery) (*GameCenterEnabledVersionsResponse, *Response, error)
ListGameCenterEnabledVersionsForApp lists the versions for a given app that are enabled for Game Center
func (*AppsService) ListInAppPurchasesForApp ¶
func (s *AppsService) ListInAppPurchasesForApp(ctx context.Context, id string, params *ListInAppPurchasesQuery) (*InAppPurchasesResponse, *Response, error)
ListInAppPurchasesForApp lists the in-app purchases that are available for your app.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app
func (*AppsService) ListLocalizationsForAppStoreVersion ¶
func (s *AppsService) ListLocalizationsForAppStoreVersion(ctx context.Context, id string, params *ListLocalizationsForAppStoreVersionQuery) (*AppStoreVersionLocalizationsResponse, *Response, error)
ListLocalizationsForAppStoreVersion gets a list of localized, version-level information about an app, for all locales.
func (*AppsService) ListSubcategoriesForAppCategory ¶
func (s *AppsService) ListSubcategoriesForAppCategory(ctx context.Context, id string, params *ListSubcategoriesForAppCategoryQuery) (*AppCategoriesResponse, *Response, error)
ListSubcategoriesForAppCategory lists all App Store subcategories that belong to a specific category.
func (*AppsService) RemoveBetaTestersFromApp ¶
func (s *AppsService) RemoveBetaTestersFromApp(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
RemoveBetaTestersFromApp removes one or more beta testers' access to test any builds of a specific app.
func (*AppsService) RemoveCompatibleVersionsForGameCenterEnabledVersion ¶
func (s *AppsService) RemoveCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
RemoveCompatibleVersionsForGameCenterEnabledVersion deletes the relationship between a given version and a Game Center enabled version
func (*AppsService) ReplaceAppPreviewsForSet ¶
func (s *AppsService) ReplaceAppPreviewsForSet(ctx context.Context, id string, appPreviewIDs []string) (*Response, error)
ReplaceAppPreviewsForSet changes the order of the previews in a preview set.
func (*AppsService) ReplaceAppScreenshotsForSet ¶
func (s *AppsService) ReplaceAppScreenshotsForSet(ctx context.Context, id string, appScreenshotIDs []string) (*Response, error)
ReplaceAppScreenshotsForSet changes the order of the screenshots in a screenshot set.
func (*AppsService) UpdateAgeRatingDeclaration ¶
func (s *AppsService) UpdateAgeRatingDeclaration(ctx context.Context, id string, attributes *AgeRatingDeclarationUpdateRequestAttributes) (*AgeRatingDeclarationResponse, *Response, error)
UpdateAgeRatingDeclaration provides age-related information so the App Store can determine the age rating for your app.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_age_rating_declaration
func (*AppsService) UpdateApp ¶
func (s *AppsService) UpdateApp(ctx context.Context, id string, attributes *AppUpdateRequestAttributes, availableTerritoryIDs []string, appPriceRelationships []NewAppPriceRelationship) (*AppResponse, *Response, error)
UpdateApp updates app information including bundle ID, primary locale, price schedule, and global availability.
Note: The relationship behavior of this API is undocumented, outside of WWDC20 session 10004, "Expanding automation with the App Store Connect API". Furthermore, changes made to app pricing and available territories take effect immediately. Take caution when testing this API against live apps. If you discover any unusual behavior when customizing pricing relationships with this method, please file an issue.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app https://help.apple.com/app-store-connect/#/dev9fc06e23d https://developer.apple.com/videos/play/wwdc2020/10004/
func (*AppsService) UpdateAppInfo ¶
func (s *AppsService) UpdateAppInfo(ctx context.Context, id string, relationships *AppInfoUpdateRequestRelationships) (*AppInfoResponse, *Response, error)
UpdateAppInfo updates the App Store categories and sub-categories for your app.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_info
func (*AppsService) UpdateAppInfoLocalization ¶
func (s *AppsService) UpdateAppInfoLocalization(ctx context.Context, id string, attributes *AppInfoLocalizationUpdateRequestAttributes) (*AppInfoLocalizationResponse, *Response, error)
UpdateAppInfoLocalization modifies localized app-level information for a particular language.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_info_localization
func (*AppsService) UpdateAppStoreVersion ¶
func (s *AppsService) UpdateAppStoreVersion(ctx context.Context, id string, attributes *AppStoreVersionUpdateRequestAttributes, buildID *string) (*AppStoreVersionResponse, *Response, error)
UpdateAppStoreVersion updates the app store version for a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_store_version
func (*AppsService) UpdateAppStoreVersionLocalization ¶
func (s *AppsService) UpdateAppStoreVersionLocalization(ctx context.Context, id string, attributes *AppStoreVersionLocalizationUpdateRequestAttributes) (*AppStoreVersionLocalizationResponse, *Response, error)
UpdateAppStoreVersionLocalization modifies localized version-level information for a particular language.
func (*AppsService) UpdateBuildForAppStoreVersion ¶
func (s *AppsService) UpdateBuildForAppStoreVersion(ctx context.Context, id string, buildID *string) (*AppStoreVersionBuildLinkageResponse, *Response, error)
UpdateBuildForAppStoreVersion changes the build that is attached to a specific App Store version.
func (*AppsService) UpdateCompatibleVersionsForGameCenterEnabledVersion ¶
func (s *AppsService) UpdateCompatibleVersionsForGameCenterEnabledVersion(ctx context.Context, id string, gameCenterCompatibleVersionIDs []string) (*Response, error)
UpdateCompatibleVersionsForGameCenterEnabledVersion updates the relationship between a given version and a Game Center enabled version
func (*AppsService) UpdateEULA ¶
func (s *AppsService) UpdateEULA(ctx context.Context, id string, agreementText *string, territoryIDs []string) (*EndUserLicenseAgreementResponse, *Response, error)
UpdateEULA updates the text or territories for your custom end user license agreement.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_end_user_license_agreement
type AuthTransport ¶
type AuthTransport struct { Transport http.RoundTripper // contains filtered or unexported fields }
AuthTransport is an http.RoundTripper implementation that stores the JWT created. If the token expires, the Rotate function should be called to update the stored token.
func NewTokenConfig ¶
func NewTokenConfig(keyID string, issuerID string, expireDuration time.Duration, privateKey []byte) (*AuthTransport, error)
NewTokenConfig returns a new AuthTransport instance that customizes the Authentication header of the request during transport. It can be customized further by supplying a custom http.RoundTripper instance to the Transport field.
func (*AuthTransport) Client ¶
func (t *AuthTransport) Client() *http.Client
Client returns a new http.Client instance for use with asc.Client.
type BetaAppLocalization ¶
type BetaAppLocalization struct { Attributes *BetaAppLocalizationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaAppLocalizationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaAppLocalization defines model for BetaAppLocalization.
https://developer.apple.com/documentation/appstoreconnectapi/betaapplocalization
type BetaAppLocalizationAttributes ¶
type BetaAppLocalizationAttributes struct { Description *string `json:"description,omitempty"` FeedbackEmail *string `json:"feedbackEmail,omitempty"` Locale *string `json:"locale,omitempty"` MarketingURL *string `json:"marketingUrl,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` TVOSPrivacyPolicy *string `json:"tvOsPrivacyPolicy,omitempty"` }
BetaAppLocalizationAttributes defines model for BetaAppLocalization.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betaapplocalization/attributes
type BetaAppLocalizationCreateRequestAttributes ¶
type BetaAppLocalizationCreateRequestAttributes struct { Description *string `json:"description,omitempty"` FeedbackEmail *string `json:"feedbackEmail,omitempty"` Locale string `json:"locale"` MarketingURL *string `json:"marketingUrl,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` TVOSPrivacyPolicy *string `json:"tvOsPrivacyPolicy,omitempty"` }
BetaAppLocalizationCreateRequestAttributes are attributes for BetaAppLocalizationCreateRequest
type BetaAppLocalizationRelationships ¶
type BetaAppLocalizationRelationships struct {
App *Relationship `json:"app,omitempty"`
}
BetaAppLocalizationRelationships defines model for BetaAppLocalization.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betaapplocalization/relationships
type BetaAppLocalizationResponse ¶
type BetaAppLocalizationResponse struct { Data BetaAppLocalization `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaAppLocalizationResponse defines model for BetaAppLocalizationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaapplocalizationresponse
type BetaAppLocalizationUpdateRequestAttributes ¶
type BetaAppLocalizationUpdateRequestAttributes struct { Description *string `json:"description,omitempty"` FeedbackEmail *string `json:"feedbackEmail,omitempty"` MarketingURL *string `json:"marketingUrl,omitempty"` PrivacyPolicyURL *string `json:"privacyPolicyUrl,omitempty"` TVOSPrivacyPolicy *string `json:"tvOsPrivacyPolicy,omitempty"` }
BetaAppLocalizationUpdateRequestAttributes are attributes for BetaAppLocalizationUpdateRequest
type BetaAppLocalizationsResponse ¶
type BetaAppLocalizationsResponse struct { Data []BetaAppLocalization `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaAppLocalizationsResponse defines model for BetaAppLocalizationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaapplocalizationsresponse
type BetaAppReviewDetail ¶
type BetaAppReviewDetail struct { Attributes *BetaAppReviewDetailAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaAppReviewDetailRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaAppReviewDetail defines model for BetaAppReviewDetail.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetail
type BetaAppReviewDetailAttributes ¶
type BetaAppReviewDetailAttributes struct { ContactEmail *string `json:"contactEmail,omitempty"` ContactFirstName *string `json:"contactFirstName,omitempty"` ContactLastName *string `json:"contactLastName,omitempty"` ContactPhone *string `json:"contactPhone,omitempty"` DemoAccountName *string `json:"demoAccountName,omitempty"` DemoAccountPassword *string `json:"demoAccountPassword,omitempty"` DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"` Notes *string `json:"notes,omitempty"` }
BetaAppReviewDetailAttributes defines model for BetaAppReviewDetail.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetail/attributes
type BetaAppReviewDetailRelationships ¶
type BetaAppReviewDetailRelationships struct {
App *Relationship `json:"app,omitempty"`
}
BetaAppReviewDetailRelationships defines model for BetaAppReviewDetail.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetail/relationships
type BetaAppReviewDetailResponse ¶
type BetaAppReviewDetailResponse struct { Data BetaAppReviewDetail `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaAppReviewDetailResponse defines model for BetaAppReviewDetailResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetailresponse
type BetaAppReviewDetailUpdateRequestAttributes ¶
type BetaAppReviewDetailUpdateRequestAttributes struct { ContactEmail *string `json:"contactEmail,omitempty"` ContactFirstName *string `json:"contactFirstName,omitempty"` ContactLastName *string `json:"contactLastName,omitempty"` ContactPhone *string `json:"contactPhone,omitempty"` DemoAccountName *string `json:"demoAccountName,omitempty"` DemoAccountPassword *string `json:"demoAccountPassword,omitempty"` DemoAccountRequired *bool `json:"demoAccountRequired,omitempty"` Notes *string `json:"notes,omitempty"` }
BetaAppReviewDetailUpdateRequestAttributes are attributes for BetaAppReviewDetailUpdateRequest
type BetaAppReviewDetailsResponse ¶
type BetaAppReviewDetailsResponse struct { Data []BetaAppReviewDetail `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaAppReviewDetailsResponse defines model for BetaAppReviewDetailsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetailsresponse
type BetaAppReviewSubmission ¶
type BetaAppReviewSubmission struct { Attributes *BetaAppReviewSubmissionAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaAppReviewSubmissionRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaAppReviewSubmission defines model for BetaAppReviewSubmission.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewsubmission
type BetaAppReviewSubmissionAttributes ¶
type BetaAppReviewSubmissionAttributes struct {
BetaReviewState *BetaReviewState `json:"betaReviewState,omitempty"`
}
BetaAppReviewSubmissionAttributes defines model for BetaAppReviewSubmission.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewsubmission/attributes
type BetaAppReviewSubmissionRelationships ¶
type BetaAppReviewSubmissionRelationships struct {
Build *Relationship `json:"build,omitempty"`
}
BetaAppReviewSubmissionRelationships defines model for BetaAppReviewSubmission.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewsubmission/relationships
type BetaAppReviewSubmissionResponse ¶
type BetaAppReviewSubmissionResponse struct { Data BetaAppReviewSubmission `json:"data"` Included []Build `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaAppReviewSubmissionResponse defines model for BetaAppReviewSubmissionResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewsubmissionresponse
type BetaAppReviewSubmissionsResponse ¶
type BetaAppReviewSubmissionsResponse struct { Data []BetaAppReviewSubmission `json:"data"` Included []Build `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaAppReviewSubmissionsResponse defines model for BetaAppReviewSubmissionsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewsubmissionsresponse
type BetaBuildLocalization ¶
type BetaBuildLocalization struct { Attributes *BetaBuildLocalizationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaBuildLocalizationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaBuildLocalization defines model for BetaBuildLocalization.
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalization
type BetaBuildLocalizationAttributes ¶
type BetaBuildLocalizationAttributes struct { Locale *string `json:"locale,omitempty"` WhatsNew *string `json:"whatsNew,omitempty"` }
BetaBuildLocalizationAttributes defines model for BetaBuildLocalization.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalization/attributes
type BetaBuildLocalizationRelationships ¶
type BetaBuildLocalizationRelationships struct {
Build *Relationship `json:"build,omitempty"`
}
BetaBuildLocalizationRelationships defines model for BetaBuildLocalization.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalization/relationships
type BetaBuildLocalizationResponse ¶
type BetaBuildLocalizationResponse struct { Data BetaBuildLocalization `json:"data"` Included []Build `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaBuildLocalizationResponse defines model for BetaBuildLocalizationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalizationresponse
type BetaBuildLocalizationsResponse ¶
type BetaBuildLocalizationsResponse struct { Data []BetaBuildLocalization `json:"data"` Included []Build `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaBuildLocalizationsResponse defines model for BetaBuildLocalizationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betabuildlocalizationsresponse
type BetaGroup ¶
type BetaGroup struct { Attributes *BetaGroupAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaGroupRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaGroup defines model for BetaGroup.
https://developer.apple.com/documentation/appstoreconnectapi/betagroup
type BetaGroupAttributes ¶
type BetaGroupAttributes struct { CreatedDate *DateTime `json:"createdDate,omitempty"` FeedbackEnabled *bool `json:"feedbackEnabled,omitempty"` IsInternalGroup *bool `json:"isInternalGroup,omitempty"` Name *string `json:"name,omitempty"` PublicLink *string `json:"publicLink,omitempty"` PublicLinkEnabled *bool `json:"publicLinkEnabled,omitempty"` PublicLinkID *string `json:"publicLinkId,omitempty"` PublicLinkLimit *int `json:"publicLinkLimit,omitempty"` PublicLinkLimitEnabled *bool `json:"publicLinkLimitEnabled,omitempty"` }
BetaGroupAttributes defines model for BetaGroup.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betagroup/attributes
type BetaGroupBetaTestersLinkagesResponse ¶
type BetaGroupBetaTestersLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaGroupBetaTestersLinkagesResponse defines model for BetaGroupBetaTestersLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betagroupbetatesterslinkagesresponse
type BetaGroupBuildsLinkagesResponse ¶
type BetaGroupBuildsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaGroupBuildsLinkagesResponse defines model for BetaGroupBuildsLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betagroupbuildslinkagesresponse
type BetaGroupCreateRequestAttributes ¶
type BetaGroupCreateRequestAttributes struct { FeedbackEnabled *bool `json:"feedbackEnabled,omitempty"` Name string `json:"name"` PublicLinkEnabled *bool `json:"publicLinkEnabled,omitempty"` PublicLinkLimit *int `json:"publicLinkLimit,omitempty"` PublicLinkLimitEnabled *bool `json:"publicLinkLimitEnabled,omitempty"` }
BetaGroupCreateRequestAttributes are attributes for BetaGroupCreateRequest
https://developer.apple.com/documentation/appstoreconnectapi/betagroupcreaterequest/data/attributes
type BetaGroupRelationships ¶
type BetaGroupRelationships struct { App *Relationship `json:"app,omitempty"` BetaTesters *PagedRelationship `json:"betaTesters,omitempty"` Builds *PagedRelationship `json:"builds,omitempty"` }
BetaGroupRelationships defines model for BetaGroup.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betagroup/relationships
type BetaGroupResponse ¶
type BetaGroupResponse struct { Data BetaGroup `json:"data"` Included []BetaGroupResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaGroupResponse defines model for BetaGroupResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betagroupresponse
type BetaGroupResponseIncluded ¶
type BetaGroupResponseIncluded included
BetaGroupResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a BetaGroupResponse or BetaGroupsResponse.
func (*BetaGroupResponseIncluded) App ¶
func (i *BetaGroupResponseIncluded) App() *App
App returns the App stored within, if one is present.
func (*BetaGroupResponseIncluded) BetaTester ¶
func (i *BetaGroupResponseIncluded) BetaTester() *BetaTester
BetaTester returns the BetaTester stored within, if one is present.
func (*BetaGroupResponseIncluded) Build ¶
func (i *BetaGroupResponseIncluded) Build() *Build
Build returns the Build stored within, if one is present.
func (*BetaGroupResponseIncluded) UnmarshalJSON ¶
func (i *BetaGroupResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in BetaGroupResponseIncluded.
type BetaGroupUpdateRequestAttributes ¶
type BetaGroupUpdateRequestAttributes struct { FeedbackEnabled *bool `json:"feedbackEnabled,omitempty"` Name *string `json:"name,omitempty"` PublicLinkEnabled *bool `json:"publicLinkEnabled,omitempty"` PublicLinkLimit *int `json:"publicLinkLimit,omitempty"` PublicLinkLimitEnabled *bool `json:"publicLinkLimitEnabled,omitempty"` }
BetaGroupUpdateRequestAttributes are attributes for BetaGroupUpdateRequest
https://developer.apple.com/documentation/appstoreconnectapi/betagroupupdaterequest/data/attributes
type BetaGroupsResponse ¶
type BetaGroupsResponse struct { Data []BetaGroup `json:"data"` Included []BetaGroupResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaGroupsResponse defines model for BetaGroupsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betagroupsresponse
type BetaInviteType ¶
type BetaInviteType string
BetaInviteType defines model for BetaInviteType.
https://developer.apple.com/documentation/appstoreconnectapi/betainvitetype
const ( // BetaInviteTypeEmail is a beta invite type for Email. BetaInviteTypeEmail BetaInviteType = "EMAIL" // BetaInviteTypePublicLink is a beta invite type for PublicLink. BetaInviteTypePublicLink BetaInviteType = "PUBLIC_LINK" )
type BetaLicenseAgreement ¶
type BetaLicenseAgreement struct { Attributes *BetaLicenseAgreementAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaLicenseAgreementRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaLicenseAgreement defines model for BetaLicenseAgreement.
https://developer.apple.com/documentation/appstoreconnectapi/betalicenseagreement
type BetaLicenseAgreementAttributes ¶
type BetaLicenseAgreementAttributes struct {
AgreementText *string `json:"agreementText,omitempty"`
}
BetaLicenseAgreementAttributes defines model for BetaLicenseAgreement.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betalicenseagreement/attributes
type BetaLicenseAgreementRelationships ¶
type BetaLicenseAgreementRelationships struct {
App *Relationship `json:"app,omitempty"`
}
BetaLicenseAgreementRelationships defines model for BetaLicenseAgreement.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betalicenseagreement/relationships
type BetaLicenseAgreementResponse ¶
type BetaLicenseAgreementResponse struct { Data BetaLicenseAgreement `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaLicenseAgreementResponse defines model for BetaLicenseAgreementResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betalicenseagreementresponse
type BetaLicenseAgreementsResponse ¶
type BetaLicenseAgreementsResponse struct { Data []BetaLicenseAgreement `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaLicenseAgreementsResponse defines model for BetaLicenseAgreementsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betalicenseagreementsresponse
type BetaReviewState ¶
type BetaReviewState string
BetaReviewState defines model for BetaReviewState.
https://developer.apple.com/documentation/appstoreconnectapi/betareviewstate
const ( // BetaReviewStateApproved is a beta review satte for Approved. BetaReviewStateApproved BetaReviewState = "APPROVED" // BetaReviewStateInReview is a beta review satte for InReview. BetaReviewStateInReview BetaReviewState = "IN_REVIEW" // BetaReviewStateRejected is a beta review satte for Rejected. BetaReviewStateRejected BetaReviewState = "REJECTED" // BetaReviewStateWaitingForReview is a beta review satte for WaitingForReview. BetaReviewStateWaitingForReview BetaReviewState = "WAITING_FOR_REVIEW" )
type BetaTester ¶
type BetaTester struct { Attributes *BetaTesterAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BetaTesterRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BetaTester defines model for BetaTester.
https://developer.apple.com/documentation/appstoreconnectapi/betatester
type BetaTesterAppsLinkagesResponse ¶
type BetaTesterAppsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaTesterAppsLinkagesResponse defines model for BetaTesterAppsLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterappslinkagesresponse
type BetaTesterAttributes ¶
type BetaTesterAttributes struct { Email *Email `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` InviteType *BetaInviteType `json:"inviteType,omitempty"` LastName *string `json:"lastName,omitempty"` }
BetaTesterAttributes defines model for BetaTester.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/betatester/attributes
type BetaTesterBetaGroupsLinkagesResponse ¶
type BetaTesterBetaGroupsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaTesterBetaGroupsLinkagesResponse defines model for BetaTesterBetaGroupsLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterbetagroupslinkagesresponse
type BetaTesterBuildsLinkagesResponse ¶
type BetaTesterBuildsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaTesterBuildsLinkagesResponse defines model for BetaTesterBuildsLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterbuildslinkagesresponse
type BetaTesterCreateRequestAttributes ¶
type BetaTesterCreateRequestAttributes struct { Email Email `json:"email"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` }
BetaTesterCreateRequestAttributes are attributes for BetaTesterCreateRequest
https://developer.apple.com/documentation/appstoreconnectapi/betatestercreaterequest/data/attributes
type BetaTesterInvitation ¶
type BetaTesterInvitation struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
BetaTesterInvitation defines model for BetaTesterInvitation.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterinvitation
type BetaTesterInvitationResponse ¶
type BetaTesterInvitationResponse struct { Data BetaTesterInvitation `json:"data"` Links DocumentLinks `json:"links"` }
BetaTesterInvitationResponse defines model for BetaTesterInvitationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterinvitationresponse
type BetaTesterRelationships ¶
type BetaTesterRelationships struct { Apps *PagedRelationship `json:"apps,omitempty"` BetaGroups *PagedRelationship `json:"betaGroups,omitempty"` Builds *PagedRelationship `json:"builds,omitempty"` }
BetaTesterRelationships defines model for BetaTester.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/betatester/relationships
type BetaTesterResponse ¶
type BetaTesterResponse struct { Data BetaTester `json:"data"` Included []BetaTesterResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BetaTesterResponse defines model for BetaTesterResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatesterresponse
type BetaTesterResponseIncluded ¶
type BetaTesterResponseIncluded included
BetaTesterResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a BetaTesterResponse or BetaTestersResponse.
func (*BetaTesterResponseIncluded) App ¶
func (i *BetaTesterResponseIncluded) App() *App
App returns the App stored within, if one is present.
func (*BetaTesterResponseIncluded) BetaGroup ¶
func (i *BetaTesterResponseIncluded) BetaGroup() *BetaGroup
BetaGroup returns the BetaGroup stored within, if one is present.
func (*BetaTesterResponseIncluded) Build ¶
func (i *BetaTesterResponseIncluded) Build() *Build
Build returns the Build stored within, if one is present.
func (*BetaTesterResponseIncluded) UnmarshalJSON ¶
func (i *BetaTesterResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in BetaTesterResponseIncluded.
type BetaTestersResponse ¶
type BetaTestersResponse struct { Data []BetaTester `json:"data"` Included []BetaTesterResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BetaTestersResponse defines model for BetaTestersResponse.
https://developer.apple.com/documentation/appstoreconnectapi/betatestersresponse
type BrazilAgeRating ¶
type BrazilAgeRating string
BrazilAgeRating defines model for BrazilAgeRating.
https://developer.apple.com/documentation/appstoreconnectapi/brazilagerating
const ( // BrazilAgeRatingEighteen is for an age rating of 18. BrazilAgeRatingEighteen BrazilAgeRating = "EIGHTEEN" // BrazilAgeRatingFourteen is for an age rating of 14. BrazilAgeRatingFourteen BrazilAgeRating = "FOURTEEN" // BrazilAgeRatingL is for an age rating of L, for general audiences. BrazilAgeRatingL BrazilAgeRating = "L" // BrazilAgeRatingSixteen is for an age rating of 16. BrazilAgeRatingSixteen BrazilAgeRating = "SIXTEEN" // BrazilAgeRatingTen is for an age rating of 10. BrazilAgeRatingTen BrazilAgeRating = "TEN" // BrazilAgeRatingTwelve is for an age rating of 12. BrazilAgeRatingTwelve BrazilAgeRating = "TWELVE" )
type Build ¶
type Build struct { Attributes *BuildAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BuildRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
Build defines model for Build.
https://developer.apple.com/documentation/appstoreconnectapi/build
type BuildAppEncryptionDeclarationLinkageResponse ¶
type BuildAppEncryptionDeclarationLinkageResponse struct { Data RelationshipData `json:"data"` Links DocumentLinks `json:"links"` }
BuildAppEncryptionDeclarationLinkageResponse defines model for BuildAppEncryptionDeclarationLinkageResponse.
type BuildAttributes ¶
type BuildAttributes struct { ExpirationDate *DateTime `json:"expirationDate,omitempty"` Expired *bool `json:"expired,omitempty"` IconAssetToken *ImageAsset `json:"iconAssetToken,omitempty"` MinOsVersion *string `json:"minOsVersion,omitempty"` ProcessingState *string `json:"processingState,omitempty"` UploadedDate *DateTime `json:"uploadedDate,omitempty"` UsesNonExemptEncryption *bool `json:"usesNonExemptEncryption,omitempty"` Version *string `json:"version,omitempty"` }
BuildAttributes defines model for Build.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/build/attributes
type BuildBetaDetail ¶
type BuildBetaDetail struct { Attributes *BuildBetaDetailAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BuildBetaDetailRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BuildBetaDetail defines model for BuildBetaDetail.
https://developer.apple.com/documentation/appstoreconnectapi/buildbetadetail
type BuildBetaDetailAttributes ¶
type BuildBetaDetailAttributes struct { AutoNotifyEnabled *bool `json:"autoNotifyEnabled,omitempty"` ExternalBuildState *ExternalBetaState `json:"externalBuildState,omitempty"` InternalBuildState *InternalBetaState `json:"internalBuildState,omitempty"` }
BuildBetaDetailAttributes defines model for BuildBetaDetail.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/buildbetadetail/attributes
type BuildBetaDetailRelationships ¶
type BuildBetaDetailRelationships struct {
Build *Relationship `json:"build,omitempty"`
}
BuildBetaDetailRelationships defines model for BuildBetaDetail.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/buildbetadetail/relationships
type BuildBetaDetailResponse ¶
type BuildBetaDetailResponse struct { Data BuildBetaDetail `json:"data"` Included []Build `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BuildBetaDetailResponse defines model for BuildBetaDetailResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildbetadetailresponse
type BuildBetaDetailsResponse ¶
type BuildBetaDetailsResponse struct { Data []BuildBetaDetail `json:"data"` Included []Build `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BuildBetaDetailsResponse defines model for BuildBetaDetailsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildbetadetailsresponse
type BuildBetaNotification ¶
type BuildBetaNotification struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
BuildBetaNotification defines model for BuildBetaNotification.
https://developer.apple.com/documentation/appstoreconnectapi/buildbetanotification
type BuildBetaNotificationResponse ¶
type BuildBetaNotificationResponse struct { Data BuildBetaNotification `json:"data"` Links DocumentLinks `json:"links"` }
BuildBetaNotificationResponse defines model for BuildBetaNotificationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildbetanotificationresponse
type BuildIcon ¶
type BuildIcon struct { Attributes *BuildIconAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
BuildIcon defines model for BuildIcon.
https://developer.apple.com/documentation/appstoreconnectapi/buildicon
type BuildIconAttributes ¶
type BuildIconAttributes struct { IconAsset *ImageAsset `json:"iconAsset,omitempty"` IconType *IconAssetType `json:"iconType,omitempty"` }
BuildIconAttributes defines model for BuildIcon.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/buildicon/attributes
type BuildIconsResponse ¶
type BuildIconsResponse struct { Data []BuildIcon `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BuildIconsResponse defines model for BuildIconsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildiconsresponse
type BuildIndividualTestersLinkagesResponse ¶
type BuildIndividualTestersLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BuildIndividualTestersLinkagesResponse defines model for BuildIndividualTestersLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildindividualtesterslinkagesresponse
type BuildRelationships ¶
type BuildRelationships struct { App *Relationship `json:"app,omitempty"` AppEncryptionDeclaration *Relationship `json:"appEncryptionDeclaration,omitempty"` AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"` BetaAppReviewSubmission *Relationship `json:"betaAppReviewSubmission,omitempty"` BetaBuildLocalizations *PagedRelationship `json:"betaBuildLocalizations,omitempty"` BuildBetaDetail *Relationship `json:"buildBetaDetail,omitempty"` Icons *PagedRelationship `json:"icons,omitempty"` IndividualTesters *PagedRelationship `json:"individualTesters,omitempty"` PreReleaseVersion *Relationship `json:"preReleaseVersion,omitempty"` }
BuildRelationships defines model for Build.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/build/relationships
type BuildResponse ¶
type BuildResponse struct { Data Build `json:"data"` Included []BuildResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BuildResponse defines model for BuildResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildresponse
type BuildResponseIncluded ¶
type BuildResponseIncluded included
BuildResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a BuildResponse or BuildsResponse.
func (*BuildResponseIncluded) App ¶
func (i *BuildResponseIncluded) App() *App
App returns the App stored within, if one is present.
func (*BuildResponseIncluded) AppEncryptionDeclaration ¶
func (i *BuildResponseIncluded) AppEncryptionDeclaration() *AppEncryptionDeclaration
AppEncryptionDeclaration returns the AppEncryptionDeclaration stored within, if one is present.
func (*BuildResponseIncluded) AppStoreVersion ¶
func (i *BuildResponseIncluded) AppStoreVersion() *AppStoreVersion
AppStoreVersion returns the AppStoreVersion stored within, if one is present.
func (*BuildResponseIncluded) BetaAppReviewSubmission ¶
func (i *BuildResponseIncluded) BetaAppReviewSubmission() *BetaAppReviewSubmission
BetaAppReviewSubmission returns the BetaAppReviewSubmission stored within, if one is present.
func (*BuildResponseIncluded) BetaBuildLocalization ¶
func (i *BuildResponseIncluded) BetaBuildLocalization() *BetaBuildLocalization
BetaBuildLocalization returns the BetaBuildLocalization stored within, if one is present.
func (*BuildResponseIncluded) BetaTester ¶
func (i *BuildResponseIncluded) BetaTester() *BetaTester
BetaTester returns the BetaTester stored within, if one is present.
func (*BuildResponseIncluded) BuildBetaDetail ¶
func (i *BuildResponseIncluded) BuildBetaDetail() *BuildBetaDetail
BuildBetaDetail returns the BuildBetaDetail stored within, if one is present.
func (*BuildResponseIncluded) BuildIcon ¶
func (i *BuildResponseIncluded) BuildIcon() *BuildIcon
BuildIcon returns the BuildIcon stored within, if one is present.
func (*BuildResponseIncluded) DiagnosticSignature ¶
func (i *BuildResponseIncluded) DiagnosticSignature() *DiagnosticSignature
DiagnosticSignature returns the DiagnosticSignature stored within, if one is present.
func (*BuildResponseIncluded) PerfPowerMetric ¶
func (i *BuildResponseIncluded) PerfPowerMetric() *PerfPowerMetric
PerfPowerMetric returns the PerfPowerMetric stored within, if one is present.
func (*BuildResponseIncluded) PrereleaseVersion ¶
func (i *BuildResponseIncluded) PrereleaseVersion() *PrereleaseVersion
PrereleaseVersion returns the PrereleaseVersion stored within, if one is present.
func (*BuildResponseIncluded) UnmarshalJSON ¶
func (i *BuildResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in BuildResponseIncluded.
type BuildsResponse ¶
type BuildsResponse struct { Data []Build `json:"data"` Included []BuildResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BuildsResponse defines model for BuildsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/buildsresponse
type BuildsService ¶
type BuildsService service
BuildsService handles communication with build-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/builds https://developer.apple.com/documentation/appstoreconnectapi/build_icons https://developer.apple.com/documentation/appstoreconnectapi/app_encryption_declarations
func (*BuildsService) AssignBuildsToAppEncryptionDeclaration ¶
func (s *BuildsService) AssignBuildsToAppEncryptionDeclaration(ctx context.Context, id string, buildIDs []string) (*Response, error)
AssignBuildsToAppEncryptionDeclaration assigns one or more builds to an app encryption declaration.
func (*BuildsService) CreateAccessForBetaGroupsToBuild ¶
func (s *BuildsService) CreateAccessForBetaGroupsToBuild(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
CreateAccessForBetaGroupsToBuild adds or creates a beta group to a build to enable testing.
https://developer.apple.com/documentation/appstoreconnectapi/add_access_for_beta_groups_to_a_build
func (*BuildsService) CreateAccessForIndividualTestersToBuild ¶
func (s *BuildsService) CreateAccessForIndividualTestersToBuild(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
CreateAccessForIndividualTestersToBuild enables a beta tester who is not a part of a beta group to test a build.
https://developer.apple.com/documentation/appstoreconnectapi/assign_individual_testers_to_a_build
func (*BuildsService) GetAppEncryptionDeclaration ¶
func (s *BuildsService) GetAppEncryptionDeclaration(ctx context.Context, id string, params *GetAppEncryptionDeclarationQuery) (*AppEncryptionDeclarationResponse, *Response, error)
GetAppEncryptionDeclaration gets information about a specific app encryption declaration.
func (*BuildsService) GetAppEncryptionDeclarationForBuild ¶
func (s *BuildsService) GetAppEncryptionDeclarationForBuild(ctx context.Context, id string, params *GetAppEncryptionDeclarationForBuildQuery) (*AppEncryptionDeclarationResponse, *Response, error)
GetAppEncryptionDeclarationForBuild reads an app encryption declaration associated with a specific build.
func (*BuildsService) GetAppEncryptionDeclarationIDForBuild ¶
func (s *BuildsService) GetAppEncryptionDeclarationIDForBuild(ctx context.Context, id string) (*BuildAppEncryptionDeclarationLinkageResponse, *Response, error)
GetAppEncryptionDeclarationIDForBuild gets the beta app encryption declaration resource ID associated with a build.
func (*BuildsService) GetAppForAppEncryptionDeclaration ¶
func (s *BuildsService) GetAppForAppEncryptionDeclaration(ctx context.Context, id string, params *GetAppForEncryptionDeclarationQuery) (*AppResponse, *Response, error)
GetAppForAppEncryptionDeclaration gets the app information from a specific app encryption declaration.
func (*BuildsService) GetAppForBuild ¶
func (s *BuildsService) GetAppForBuild(ctx context.Context, id string, params *GetAppForBuildQuery) (*AppResponse, *Response, error)
GetAppForBuild gets the app information for a specific build.
https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_information_of_a_build
func (*BuildsService) GetAppStoreVersionForBuild ¶
func (s *BuildsService) GetAppStoreVersionForBuild(ctx context.Context, id string, params *GetAppStoreVersionForBuildQuery) (*AppStoreVersionResponse, *Response, error)
GetAppStoreVersionForBuild gets the App Store version of a specific build.
func (*BuildsService) GetBuild ¶
func (s *BuildsService) GetBuild(ctx context.Context, id string, params *GetBuildQuery) (*BuildResponse, *Response, error)
GetBuild gets information about a specific build.
https://developer.apple.com/documentation/appstoreconnectapi/read_build_information
func (*BuildsService) GetBuildForAppStoreVersion ¶
func (s *BuildsService) GetBuildForAppStoreVersion(ctx context.Context, id string, params *GetBuildForAppStoreVersionQuery) (*BuildResponse, *Response, error)
GetBuildForAppStoreVersion gets the build that is attached to a specific App Store version.
func (*BuildsService) ListAppEncryptionDeclarations ¶
func (s *BuildsService) ListAppEncryptionDeclarations(ctx context.Context, params *ListAppEncryptionDeclarationsQuery) (*AppEncryptionDeclarationsResponse, *Response, error)
ListAppEncryptionDeclarations finds and lists all available app encryption declarations.
https://developer.apple.com/documentation/appstoreconnectapi/list_app_encryption_declarations
func (*BuildsService) ListBuilds ¶
func (s *BuildsService) ListBuilds(ctx context.Context, params *ListBuildsQuery) (*BuildsResponse, *Response, error)
ListBuilds finds and lists builds for all apps in App Store Connect.
https://developer.apple.com/documentation/appstoreconnectapi/list_builds
func (*BuildsService) ListBuildsForApp ¶
func (s *BuildsService) ListBuildsForApp(ctx context.Context, id string, params *ListBuildsForAppQuery) (*BuildsResponse, *Response, error)
ListBuildsForApp gets a list of builds associated with a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_an_app
func (*BuildsService) ListIconsForBuild ¶
func (s *BuildsService) ListIconsForBuild(ctx context.Context, id string, params *ListIconsQuery) (*BuildIconsResponse, *Response, error)
ListIconsForBuild lists all the icons for various platforms delivered with a build.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_icons_for_a_build
func (*BuildsService) ListResourceIDsForIndividualTestersForBuild ¶
func (s *BuildsService) ListResourceIDsForIndividualTestersForBuild(ctx context.Context, id string, params *ListResourceIDsForIndividualTestersForBuildQuery) (*BuildIndividualTestersLinkagesResponse, *Response, error)
ListResourceIDsForIndividualTestersForBuild gets a list of resource IDs of individual testers associated with a build.
func (*BuildsService) RemoveAccessForBetaGroupsFromBuild ¶
func (s *BuildsService) RemoveAccessForBetaGroupsFromBuild(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
RemoveAccessForBetaGroupsFromBuild removes access to a specific build for all beta testers in one or more beta groups.
func (*BuildsService) RemoveAccessForIndividualTestersFromBuild ¶
func (s *BuildsService) RemoveAccessForIndividualTestersFromBuild(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
RemoveAccessForIndividualTestersFromBuild removes access to test a specific build from one or more individually assigned testers.
https://developer.apple.com/documentation/appstoreconnectapi/remove_individual_testers_from_a_build
func (*BuildsService) UpdateAppEncryptionDeclarationForBuild ¶
func (s *BuildsService) UpdateAppEncryptionDeclarationForBuild(ctx context.Context, id string, appEncryptionDeclarationID *string) (*Response, error)
UpdateAppEncryptionDeclarationForBuild assigns an app encryption declaration to a build.
func (*BuildsService) UpdateBuild ¶
func (s *BuildsService) UpdateBuild(ctx context.Context, id string, expired *bool, usesNonExemptEncryption *bool, appEncryptionDeclarationID *string) (*BuildResponse, *Response, error)
UpdateBuild expires a build or changes its encryption exemption setting.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_build
type BundleID ¶
type BundleID struct { Attributes *BundleIDAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *BundleIDRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
BundleID defines model for BundleId.
https://developer.apple.com/documentation/appstoreconnectapi/bundleid
type BundleIDAttributes ¶
type BundleIDAttributes struct { IDentifier *string `json:"identifier,omitempty"` Name *string `json:"name,omitempty"` Platform *BundleIDPlatform `json:"platform,omitempty"` SeedID *string `json:"seedId,omitempty"` }
BundleIDAttributes defines model for BundleId.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/bundleid/attributes
type BundleIDCapabilitiesResponse ¶
type BundleIDCapabilitiesResponse struct { Data []BundleIDCapability `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BundleIDCapabilitiesResponse defines model for BundleIdCapabilitiesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidcapabilitiesresponse
type BundleIDCapability ¶
type BundleIDCapability struct { Attributes *BundleIDCapabilityAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
BundleIDCapability defines model for BundleIdCapability.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidcapability
type BundleIDCapabilityAttributes ¶
type BundleIDCapabilityAttributes struct { CapabilityType *CapabilityType `json:"capabilityType,omitempty"` Settings []CapabilitySetting `json:"settings,omitempty"` }
BundleIDCapabilityAttributes defines model for BundleIdCapability.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/bundleidcapability/attributes
type BundleIDCapabilityResponse ¶
type BundleIDCapabilityResponse struct { Data BundleIDCapability `json:"data"` Links DocumentLinks `json:"links"` }
BundleIDCapabilityResponse defines model for BundleIdCapabilityResponse.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidcapabilityresponse
type BundleIDCreateRequestAttributes ¶
type BundleIDCreateRequestAttributes struct { Identifier string `json:"identifier"` Name string `json:"name"` Platform BundleIDPlatform `json:"platform"` SeedID *string `json:"seedId,omitempty"` }
BundleIDCreateRequestAttributes are attributes for BundleIDCreateRequest
https://developer.apple.com/documentation/appstoreconnectapi/bundleidcreaterequest/data/attributes
type BundleIDPlatform ¶
type BundleIDPlatform string
BundleIDPlatform defines model for BundleIdPlatform.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidplatform
const ( // BundleIDPlatformiOS is a string that represents iOS. BundleIDPlatformiOS BundleIDPlatform = "IOS" // BundleIDPlatformMacOS is a string that represents macOS. BundleIDPlatformMacOS BundleIDPlatform = "MAC_OS" )
type BundleIDRelationships ¶
type BundleIDRelationships struct { App *Relationship `json:"app,omitempty"` BundleIDCapabilities *PagedRelationship `json:"bundleIdCapabilities,omitempty"` Profiles *PagedRelationship `json:"profiles,omitempty"` }
BundleIDRelationships defines model for BundleId.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/bundleid/relationships
type BundleIDResponse ¶
type BundleIDResponse struct { Data BundleID `json:"data"` Included []BundleIDResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
BundleIDResponse defines model for BundleIdResponse.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidresponse
type BundleIDResponseIncluded ¶
type BundleIDResponseIncluded included
BundleIDResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a BundleIDResponse or BundleIDsResponse.
func (*BundleIDResponseIncluded) App ¶
func (i *BundleIDResponseIncluded) App() *App
App returns the App stored within, if one is present.
func (*BundleIDResponseIncluded) BundleIDCapability ¶
func (i *BundleIDResponseIncluded) BundleIDCapability() *BundleIDCapability
BundleIDCapability returns the BundleIDCapability stored within, if one is present.
func (*BundleIDResponseIncluded) Profile ¶
func (i *BundleIDResponseIncluded) Profile() *Profile
Profile returns the Profile stored within, if one is present.
func (*BundleIDResponseIncluded) UnmarshalJSON ¶
func (i *BundleIDResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in BundleIDResponseIncluded.
type BundleIDsResponse ¶
type BundleIDsResponse struct { Data []BundleID `json:"data"` Included []BundleIDResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
BundleIDsResponse defines model for BundleIdsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/bundleidsresponse
type CapabilityOption ¶
type CapabilityOption struct { Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` EnabledByDefault *bool `json:"enabledByDefault,omitempty"` Key *string `json:"key,omitempty"` Name *string `json:"name,omitempty"` SupportsWildcard *bool `json:"supportsWildcard,omitempty"` }
CapabilityOption defines model for CapabilityOption.
https://developer.apple.com/documentation/appstoreconnectapi/capabilityoption
type CapabilitySetting ¶
type CapabilitySetting struct { AllowedInstances *string `json:"allowedInstances,omitempty"` Description *string `json:"description,omitempty"` EnabledByDefault *bool `json:"enabledByDefault,omitempty"` Key *string `json:"key,omitempty"` MinInstances *int `json:"minInstances,omitempty"` Name *string `json:"name,omitempty"` Options []CapabilityOption `json:"options,omitempty"` Visible *bool `json:"visible,omitempty"` }
CapabilitySetting defines model for CapabilitySetting.
https://developer.apple.com/documentation/appstoreconnectapi/capabilitysetting
type CapabilityType ¶
type CapabilityType string
CapabilityType defines model for CapabilityType.
https://developer.apple.com/documentation/appstoreconnectapi/capabilitytype
const ( // CapabilityTypeAccessWifiInformation is a capability type for AccessWifiInformation. CapabilityTypeAccessWifiInformation CapabilityType = "ACCESS_WIFI_INFORMATION" // CapabilityTypeAppleIDAuth is a capability type for AppleIDAuth. CapabilityTypeAppleIDAuth CapabilityType = "APPLE_ID_AUTH" // CapabilityTypeApplePay is a capability type for ApplePay. CapabilityTypeApplePay CapabilityType = "APPLE_PAY" // CapabilityTypeAppGroups is a capability type for AppGroups. CapabilityTypeAppGroups CapabilityType = "APP_GROUPS" // CapabilityTypeAssociatedDomains is a capability type for AssociatedDomains. CapabilityTypeAssociatedDomains CapabilityType = "ASSOCIATED_DOMAINS" // CapabilityTypeAutoFillCredentialProvider is a capability type for AutoFillCredentialProvider. CapabilityTypeAutoFillCredentialProvider CapabilityType = "AUTOFILL_CREDENTIAL_PROVIDER" // CapabilityTypeClassKit is a capability type for ClassKit. CapabilityTypeClassKit CapabilityType = "CLASSKIT" // CapabilityTypeCoreMediaHLSLowLatency is a capability type for CoreMediaHLSLowLatency. CapabilityTypeCoreMediaHLSLowLatency CapabilityType = "COREMEDIA_HLS_LOW_LATENCY" // CapabilityTypeDataProtection is a capability type for DataProtection. CapabilityTypeDataProtection CapabilityType = "DATA_PROTECTION" // CapabilityTypeGameCenter is a capability type for GameCenter. CapabilityTypeGameCenter CapabilityType = "GAME_CENTER" // CapabilityTypeHealthKit is a capability type for HealthKit. CapabilityTypeHealthKit CapabilityType = "HEALTHKIT" // CapabilityTypeHomeKit is a capability type for HomeKit. CapabilityTypeHomeKit CapabilityType = "HOMEKIT" // CapabilityTypeHotSpot is a capability type for HotSpot. CapabilityTypeHotSpot CapabilityType = "HOT_SPOT" // CapabilityTypeiCloud is a capability type for iCloud. CapabilityTypeiCloud CapabilityType = "ICLOUD" // CapabilityTypeInterAppAudio is a capability type for InterAppAudio. CapabilityTypeInterAppAudio CapabilityType = "INTER_APP_AUDIO" // CapabilityTypeInAppPurchase is a capability type for InAppPurchase. CapabilityTypeInAppPurchase CapabilityType = "IN_APP_PURCHASE" // CapabilityTypeMaps is a capability type for Maps. CapabilityTypeMaps CapabilityType = "MAPS" // CapabilityTypeMultipath is a capability type for Multipath. CapabilityTypeMultipath CapabilityType = "MULTIPATH" // CapabilityTypeNetworkCustomProtocol is a capability type for NetworkCustomProtocol. CapabilityTypeNetworkCustomProtocol CapabilityType = "NETWORK_CUSTOM_PROTOCOL" // CapabilityTypeNetworkExtensions is a capability type for NetworkExtensions. CapabilityTypeNetworkExtensions CapabilityType = "NETWORK_EXTENSIONS" // CapabilityTypeNFCTagReading is a capability type for NFCTagReading. CapabilityTypeNFCTagReading CapabilityType = "NFC_TAG_READING" // CapabilityTypePersonalVPN is a capability type for PersonalVPN. CapabilityTypePersonalVPN CapabilityType = "PERSONAL_VPN" // CapabilityTypePushNotifications is a capability type for PushNotifications. CapabilityTypePushNotifications CapabilityType = "PUSH_NOTIFICATIONS" // CapabilityTypeSiriKit is a capability type for SiriKit. CapabilityTypeSiriKit CapabilityType = "SIRIKIT" // CapabilityTypeSystemExtensionInstall is a capability type for SystemExtensionInstall. CapabilityTypeSystemExtensionInstall CapabilityType = "SYSTEM_EXTENSION_INSTALL" // CapabilityTypeUserManagement is a capability type for UserManagement. CapabilityTypeUserManagement CapabilityType = "USER_MANAGEMENT" // CapabilityTypeWallet is a capability type for Wallet. CapabilityTypeWallet CapabilityType = "WALLET" // CapabilityTypeWirelessAccessoryConfiguration is a capability type for WirelessAccessoryConfiguration. CapabilityTypeWirelessAccessoryConfiguration CapabilityType = "WIRELESS_ACCESSORY_CONFIGURATION" )
type Certificate ¶
type Certificate struct { Attributes *CertificateAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
Certificate defines model for Certificate.
https://developer.apple.com/documentation/appstoreconnectapi/certificate
type CertificateAttributes ¶
type CertificateAttributes struct { CertificateContent *string `json:"certificateContent,omitempty"` CertificateType *CertificateType `json:"certificateType,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExpirationDate *DateTime `json:"expirationDate,omitempty"` Name *string `json:"name,omitempty"` Platform *BundleIDPlatform `json:"platform,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` }
CertificateAttributes defines model for Certificate.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/certificate/attributes
type CertificateResponse ¶
type CertificateResponse struct { Data Certificate `json:"data"` Links DocumentLinks `json:"links"` }
CertificateResponse defines model for CertificateResponse.
https://developer.apple.com/documentation/appstoreconnectapi/certificateresponse
type CertificateType ¶
type CertificateType string
CertificateType defines model for CertificateType.
https://developer.apple.com/documentation/appstoreconnectapi/certificatetype
const ( // CertificateTypeDeveloperIDApplication is a certificate type for DeveloperIDApplication. CertificateTypeDeveloperIDApplication CertificateType = "DEVELOPER_ID_APPLICATION" // CertificateTypeDeveloperIDKext is a certificate type for DeveloperIDKext. CertificateTypeDeveloperIDKext CertificateType = "DEVELOPER_ID_KEXT" // CertificateTypeDevelopment is a certificate type for Development. CertificateTypeDevelopment CertificateType = "DEVELOPMENT" // CertificateTypeDistribution is a certificate type for Distribution. CertificateTypeDistribution CertificateType = "DISTRIBUTION" // CertificateTypeiOSDevelopment is a certificate type for iOSDevelopment. CertificateTypeiOSDevelopment CertificateType = "IOS_DEVELOPMENT" // CertificateTypeiOSDistribution is a certificate type for iOSDistribution. CertificateTypeiOSDistribution CertificateType = "IOS_DISTRIBUTION" // CertificateTypeMacAppDevelopment is a certificate type for MacAppDevelopment. CertificateTypeMacAppDevelopment CertificateType = "MAC_APP_DEVELOPMENT" // CertificateTypeMacAppDistribution is a certificate type for MacAppDistribution. CertificateTypeMacAppDistribution CertificateType = "MAC_APP_DISTRIBUTION" // CertificateTypeMacInstallerDistribution is a certificate type for MacInstallerDistribution. CertificateTypeMacInstallerDistribution CertificateType = "MAC_INSTALLER_DISTRIBUTION" )
type CertificatesResponse ¶
type CertificatesResponse struct { Data []Certificate `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
CertificatesResponse defines model for CertificatesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/certificatesresponse
type Client ¶
type Client struct { UserAgent string Apps *AppsService Subscriptions *SubscriptionsService Builds *BuildsService Pricing *PricingService Provisioning *ProvisioningService Publishing *PublishingService Reporting *ReportingService Submission *SubmissionService TestFlight *TestflightService Users *UsersService // contains filtered or unexported fields }
Client is the root instance of the App Store Connect API.
func (*Client) FollowReference ¶
func (c *Client) FollowReference(ctx context.Context, ref *Reference, v interface{}) (*Response, error)
FollowReference is a convenience method to perform a GET on a relationship link with pre-established parameters that you know the response type of.
func (*Client) SetHTTPDebug ¶
SetHTTPDebug this enables global http request/response dumping for this API.
func (*Client) Upload ¶
func (c *Client) Upload(ctx context.Context, ops []UploadOperation, file io.ReadSeeker) error
Upload takes a file path and concurrently uploads each part of the file to App Store Connect.
type Date ¶
Date represents a date with no time component.
func (Date) MarshalJSON ¶
MarshalJSON is a custom marshaller for time-less dates.
func (*Date) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaller for time-less dates.
type DateTime ¶
DateTime represents a date with an ISO8601-like date-time.
func (DateTime) MarshalJSON ¶
MarshalJSON is a custom marshaller for date-times.
func (*DateTime) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaller for date-times.
type Device ¶
type Device struct { Attributes *DeviceAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
Device defines model for Device.
https://developer.apple.com/documentation/appstoreconnectapi/device
type DeviceAttributes ¶
type DeviceAttributes struct { AddedDate *DateTime `json:"addedDate,omitempty"` DeviceClass *string `json:"deviceClass,omitempty"` Model *string `json:"model,omitempty"` Name *string `json:"name,omitempty"` Platform *BundleIDPlatform `json:"platform,omitempty"` Status *string `json:"status,omitempty"` UDID *string `json:"udid,omitempty"` }
DeviceAttributes defines model for Device.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/device/attributes
type DeviceResponse ¶
type DeviceResponse struct { Data Device `json:"data"` Links DocumentLinks `json:"links"` }
DeviceResponse defines model for DeviceResponse.
https://developer.apple.com/documentation/appstoreconnectapi/deviceresponse
type DevicesResponse ¶
type DevicesResponse struct { Data []Device `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
DevicesResponse defines model for DevicesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/devicesresponse
type DiagnosticLog ¶
type DiagnosticLog struct { ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
DiagnosticLog defines model for DiagnosticLog.
https://developer.apple.com/documentation/appstoreconnectapi/diagnosticlog
type DiagnosticLogsResponse ¶
type DiagnosticLogsResponse struct { Data []DiagnosticLog `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
DiagnosticLogsResponse defines model for DiagnosticLogsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/diagnosticlogsresponse
type DiagnosticSignature ¶
type DiagnosticSignature struct { Attributes *DiagnosticSignatureAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
DiagnosticSignature defines model for DiagnosticSignature.
https://developer.apple.com/documentation/appstoreconnectapi/diagnosticsignature
type DiagnosticSignatureAttributes ¶
type DiagnosticSignatureAttributes struct { DiagnosticType *string `json:"diagnosticType,omitempty"` Signature *string `json:"signature,omitempty"` Weight *float32 `json:"weight,omitempty"` }
DiagnosticSignatureAttributes defines model for DiagnosticSignature.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/diagnosticsignature/attributes
type DiagnosticSignaturesResponse ¶
type DiagnosticSignaturesResponse struct { Data []DiagnosticSignature `json:"data"` Included []DiagnosticLog `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
DiagnosticSignaturesResponse defines model for DiagnosticSignaturesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/diagnosticsignaturesresponse
type DocumentLinks ¶
type DocumentLinks struct {
Self Reference `json:"self"`
}
DocumentLinks defines model for DocumentLinks.
type DownloadFinanceReportsQuery ¶
type DownloadFinanceReportsQuery struct { FilterRegionCode []string `url:"filter[regionCode]"` FilterReportDate []string `url:"filter[reportDate]"` FilterReportType []string `url:"filter[reportType]"` FilterVendorNumber []string `url:"filter[vendorNumber]"` }
DownloadFinanceReportsQuery are query options for DownloadFinanceReports
https://developer.apple.com/documentation/appstoreconnectapi/download_finance_reports
type DownloadSalesAndTrendsReportsQuery ¶
type DownloadSalesAndTrendsReportsQuery struct { FilterFrequency []string `url:"filter[frequency]"` FilterReportDate []string `url:"filter[reportDate],omitempty"` FilterReportSubType []string `url:"filter[reportSubType]"` FilterReportType []string `url:"filter[reportType]"` FilterVendorNumber []string `url:"filter[vendorNumber]"` FilterVersion []string `url:"filter[version],omitempty"` }
DownloadSalesAndTrendsReportsQuery are query options for DownloadSalesAndTrendsReports
https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports
type Email ¶
type Email string
Email is a validated email address string.
func (Email) MarshalJSON ¶
MarshalJSON is a custom marshaler for email addresses.
func (*Email) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaller for email addresses.
type EndUserLicenseAgreement ¶
type EndUserLicenseAgreement struct { Attributes *EndUserLicenseAgreementAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *EndUserLicenseAgreementRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
EndUserLicenseAgreement defines model for EndUserLicenseAgreement.
https://developer.apple.com/documentation/appstoreconnectapi/enduserlicenseagreement
type EndUserLicenseAgreementAttributes ¶
type EndUserLicenseAgreementAttributes struct {
AgreementText *string `json:"agreementText,omitempty"`
}
EndUserLicenseAgreementAttributes defines model for EndUserLicenseAgreement.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/enduserlicenseagreement/attributes
type EndUserLicenseAgreementRelationships ¶
type EndUserLicenseAgreementRelationships struct { App *Relationship `json:"app,omitempty"` Territories *PagedRelationship `json:"territories,omitempty"` }
EndUserLicenseAgreementRelationships defines model for EndUserLicenseAgreement.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/enduserlicenseagreement/relationships
type EndUserLicenseAgreementResponse ¶
type EndUserLicenseAgreementResponse struct { Data EndUserLicenseAgreement `json:"data"` Included []Territory `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
EndUserLicenseAgreementResponse defines model for EndUserLicenseAgreementResponse.
https://developer.apple.com/documentation/appstoreconnectapi/enduserlicenseagreementresponse
type ErrInvalidEmail ¶
type ErrInvalidEmail struct {
Value string
}
ErrInvalidEmail occurs when the value does not conform to the library author's understanding of what constitutes a valid email address, and cannot be marshaled or unmarshaled into JSON.
func (ErrInvalidEmail) Error ¶
func (e ErrInvalidEmail) Error() string
type ErrInvalidIncluded ¶
type ErrInvalidIncluded struct {
Type string
}
ErrInvalidIncluded happens when an invalid "included" type is returned by the App Store Connect API. If this is encountered, it should be reported as a bug to the tutorioapp/asc-go repository issue tracker.
func (ErrInvalidIncluded) Error ¶
func (e ErrInvalidIncluded) Error() string
type ErrorMeta ¶
type ErrorMeta struct { // AssociatedErrors is a map of routes to array of errors that are associated with the current error. AssociatedErrors map[string][]ErrorResponseError `json:"associatedErrors,omitempty"` }
ErrorMeta is an undocumented type that contains associations to other errors, grouped by route.
type ErrorResponse ¶
type ErrorResponse struct { Response *http.Response `json:"-"` Errors []ErrorResponseError `json:"errors,omitempty"` }
ErrorResponse contains information with error details that an API returns in the response body whenever the API request is not successful.
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
type ErrorResponseError ¶
type ErrorResponseError struct { // Code is a machine-readable indication of the type of error. The code is a hierarchical // value with levels of specificity separated by the '.' character. This value is parseable // for programmatic error handling in code. Code string `json:"code"` // Detail is a detailed explanation of the error. Do not use this field for programmatic error handling. Detail string `json:"detail"` // ID is a unique identifier of a specific instance of an error, request, and response. // Use this ID when providing feedback to or debugging issues with Apple. ID *string `json:"id,omitempty"` // Source wraps one of two possible types of values: source.parameter, provided when a query // parameter produced the error, or source.JsonPointer, provided when a problem with the entity // produced the error. Source *ErrorSource `json:"source,omitempty"` // Status is the HTTP status code of the error. This status code usually matches the // response's status code; however, if the request produces multiple errors, these two // codes may differ. Status string `json:"status"` // Title is a summary of the error. Do not use this field for programmatic error handling. Title string `json:"title"` // Meta is an undocumented field associating an error to many other errors. Meta *ErrorMeta `json:"meta,omitempty"` }
ErrorResponseError is a model used in ErrorResponse to describe a single error from the API.
func (ErrorResponseError) String ¶
func (e ErrorResponseError) String(level int) string
type ErrorSource ¶
type ErrorSource struct { // A JSON pointer that indicates the location in the request entity where the error originates. Pointer string `json:"pointer,omitempty"` // The query parameter that produced the error. Parameter string `json:"parameter,omitempty"` }
ErrorSource is the union of two API types: `ErrorResponse.Errors.JsonPointer` and `ErrorResponse.Errors.Parameter`.
https://developer.apple.com/documentation/appstoreconnectapi/errorresponse/errors/jsonpointer https://developer.apple.com/documentation/appstoreconnectapi/errorresponse/errors/parameter
type ExternalBetaState ¶
type ExternalBetaState string
ExternalBetaState defines model for ExternalBetaState.
https://developer.apple.com/documentation/appstoreconnectapi/externalbetastate
const ( // ExternalBetaStateApproved is an external beta state for Approved. ExternalBetaStateApproved ExternalBetaState = "BETA_APPROVED" // ExternalBetaStateRejected is an external beta state for Rejected. ExternalBetaStateRejected ExternalBetaState = "BETA_REJECTED" // ExternalBetaStateExpired is an external beta state for Expired. ExternalBetaStateExpired ExternalBetaState = "EXPIRED" // ExternalBetaStateInReview is an external beta state for InReview. ExternalBetaStateInReview ExternalBetaState = "IN_BETA_REVIEW" // ExternalBetaStateInTesting is an external beta state for InTesting. ExternalBetaStateInTesting ExternalBetaState = "IN_BETA_TESTING" // ExternalBetaStateInExportComplianceReview is an external beta state for InExportComplianceReview. ExternalBetaStateInExportComplianceReview ExternalBetaState = "IN_EXPORT_COMPLIANCE_REVIEW" // ExternalBetaStateMissingExportCompliance is an external beta state for MissingExportCompliance. ExternalBetaStateMissingExportCompliance ExternalBetaState = "MISSING_EXPORT_COMPLIANCE" // ExternalBetaStateProcessing is an external beta state for Processing. ExternalBetaStateProcessing ExternalBetaState = "PROCESSING" // ExternalBetaStateProcessingException is an external beta state for ProcessingException. ExternalBetaStateProcessingException ExternalBetaState = "PROCESSING_EXCEPTION" // ExternalBetaStateReadyForBetaSubmission is an external beta state for ReadyForBetaSubmission. ExternalBetaStateReadyForBetaSubmission ExternalBetaState = "READY_FOR_BETA_SUBMISSION" // ExternalBetaStateReadyForBetaTesting is an external beta state for ReadyForBetaTesting. ExternalBetaStateReadyForBetaTesting ExternalBetaState = "READY_FOR_BETA_TESTING" // ExternalBetaStateWaitingForBetaReview is an external beta state for WaitingForBetaReview. ExternalBetaStateWaitingForBetaReview ExternalBetaState = "WAITING_FOR_BETA_REVIEW" )
type GameCenterEnabledVersion ¶
type GameCenterEnabledVersion struct { Attributes *GameCenterEnabledVersionAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *GameCenterEnabledVersionRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
GameCenterEnabledVersion defines model for GameCenterEnabledVersion.
https://developer.apple.com/documentation/appstoreconnectapi/gamecenterenabledversion
type GameCenterEnabledVersionAttributes ¶
type GameCenterEnabledVersionAttributes struct { IconAsset *ImageAsset `json:"iconAsset,omitempty"` Platform *Platform `json:"platform,omitempty"` VersionString *string `json:"versionString,omitempty"` }
GameCenterEnabledVersionAttributes defines model for GameCenterEnabledVersion.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/gamecenterenabledversion/attributes
type GameCenterEnabledVersionCompatibleVersionsLinkagesResponse ¶
type GameCenterEnabledVersionCompatibleVersionsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
GameCenterEnabledVersionCompatibleVersionsLinkagesResponse defines model for GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.
type GameCenterEnabledVersionRelationships ¶
type GameCenterEnabledVersionRelationships struct { App *Relationship `json:"app,omitempty"` CompatibleVersions *PagedRelationship `json:"compatibleVersions,omitempty"` }
GameCenterEnabledVersionRelationships defines model for GameCenterEnabledVersion.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/gamecenterenabledversion/relationships
type GameCenterEnabledVersionsResponse ¶
type GameCenterEnabledVersionsResponse struct { Data []GameCenterEnabledVersion `json:"data"` Included []GameCenterEnabledVersion `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
GameCenterEnabledVersionsResponse defines model for GameCenterEnabledVersionsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/gamecenterenabledversionsresponse
type GetAgeRatingDeclarationForAppInfoQuery ¶
type GetAgeRatingDeclarationForAppInfoQuery struct {
FieldsAgeRatingDeclarations []string `url:"fields[ageRatingDeclarations],omitempty"`
}
GetAgeRatingDeclarationForAppInfoQuery are query options for GetAgeRatingDeclarationForInfo
https://developer.apple.com/documentation/appstoreconnectapi/get_v1_appinfos_id_ageratingdeclaration
type GetAppCategoryForAppInfoQuery ¶
type GetAppCategoryForAppInfoQuery struct {
FieldsAppCategories []string `url:"fields[appCategories],omitempty"`
}
GetAppCategoryForAppInfoQuery are query options for GetAppCategoryForAppInfo
https://developer.apple.com/documentation/appstoreconnectapi/read_the_parent_information_of_an_app_category https://developer.apple.com/documentation/appstoreconnectapi/read_the_primary_category_information_of_an_app_info https://developer.apple.com/documentation/appstoreconnectapi/read_the_secondary_category_information_of_an_app_info https://developer.apple.com/documentation/appstoreconnectapi/read_the_primary_subcategory_one_information_of_an_app_info https://developer.apple.com/documentation/appstoreconnectapi/read_the_primary_subcategory_two_information_of_an_app_info https://developer.apple.com/documentation/appstoreconnectapi/read_the_secondary_subcategory_one_information_of_an_app_info https://developer.apple.com/documentation/appstoreconnectapi/read_the_secondary_subcategory_two_information_of_an_app_info
type GetAppCategoryQuery ¶
type GetAppCategoryQuery struct { FieldsAppCategories []string `url:"fields[appCategories],omitempty"` Include []string `url:"include,omitempty"` LimitSubcategories []string `url:"limit[subcategories],omitempty"` }
GetAppCategoryQuery are query options for GetAppCategory
https://developer.apple.com/documentation/appstoreconnectapi/read_app_category_information
type GetAppEncryptionDeclarationForBuildQuery ¶
type GetAppEncryptionDeclarationForBuildQuery struct {
FieldsAppEncryptionDeclarations []string `url:"fields[appEncryptionDeclarations],omitempty"`
}
GetAppEncryptionDeclarationForBuildQuery are query options for GetAppEncryptionDeclarationForBuild
type GetAppEncryptionDeclarationQuery ¶
type GetAppEncryptionDeclarationQuery struct { FieldsAppEncryptionDeclarations []string `url:"fields[appEncryptionDeclarations],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` Include []string `url:"include,omitempty"` }
GetAppEncryptionDeclarationQuery are query options for GetAppEncryptionDeclaration
type GetAppForBetaAppLocalizationQuery ¶
type GetAppForBetaAppLocalizationQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBetaAppLocalizationQuery defines model for GetAppForBetaAppLocalization
type GetAppForBetaAppReviewDetailQuery ¶
type GetAppForBetaAppReviewDetailQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBetaAppReviewDetailQuery defines model for GetAppForBetaAppReviewDetail
type GetAppForBetaGroupQuery ¶
type GetAppForBetaGroupQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBetaGroupQuery defines model for GetAppForBetaGroup
type GetAppForBetaLicenseAgreementQuery ¶
type GetAppForBetaLicenseAgreementQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBetaLicenseAgreementQuery defines model for GetAppForBetaLicenseAgreement
type GetAppForBuildQuery ¶
type GetAppForBuildQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBuildQuery are query options for GetAppForBuild
https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_information_of_a_build
type GetAppForBundleIDQuery ¶
type GetAppForBundleIDQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForBundleIDQuery are query options for GetAppForBundleID
https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_information_of_a_bundle_id
type GetAppForEncryptionDeclarationQuery ¶
type GetAppForEncryptionDeclarationQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForEncryptionDeclarationQuery are query options for GetAppForEncryptionDeclaration
type GetAppForPrereleaseVersionQuery ¶
type GetAppForPrereleaseVersionQuery struct {
FieldsApps []string `url:"fields[apps],omitempty"`
}
GetAppForPrereleaseVersionQuery defines model for GetAppForPrereleaseVersion
type GetAppInfoLocalizationQuery ¶
type GetAppInfoLocalizationQuery struct { FieldsAppInfoLocalizations []string `url:"fields[appInfoLocalizations],omitempty"` Include []string `url:"include,omitempty"` }
GetAppInfoLocalizationQuery are query options for GetAppInfoLocalization
https://developer.apple.com/documentation/appstoreconnectapi/read_app_info_localization_information
type GetAppInfoQuery ¶
type GetAppInfoQuery struct { FieldsAppInfos []string `url:"fields[appInfos],omitempty"` FieldsAppInfoLocalizations []string `url:"fields[appInfoLocalizations],omitempty"` FieldsAppCategories []string `url:"fields[appCategories],omitempty"` Include []string `url:"include,omitempty"` LimitAppInfoLocalizations int `url:"limit[appInfoLocalizations],omitempty"` FieldsAgeRatingDeclarations []string `url:"fields[ageRatingDeclarations],omitEmpty"` }
GetAppInfoQuery are query options for GetAppInfo
https://developer.apple.com/documentation/appstoreconnectapi/read_app_info_information
type GetAppPreviewQuery ¶
type GetAppPreviewQuery struct { FieldsAppPreviews []string `url:"fields[appPreviews],omitempty"` Include []string `url:"include,omitempty"` }
GetAppPreviewQuery are query options for GetAppPreview
https://developer.apple.com/documentation/appstoreconnectapi/read_app_preview_information
type GetAppPreviewSetQuery ¶
type GetAppPreviewSetQuery struct { FieldsAppPreviews []string `url:"fields[appPreviews],omitempty"` FieldsAppPreviewSets []string `url:"fields[appPreviewSets],omitempty"` Include []string `url:"include,omitempty"` LimitAppPreviews int `url:"limit[appPreviews],omitempty"` }
GetAppPreviewSetQuery are query options for GetAppPreviewSet
https://developer.apple.com/documentation/appstoreconnectapi/read_app_preview_set_information
type GetAppPricePointQuery ¶
type GetAppPricePointQuery struct { FieldsAppPricePoints []string `url:"fields[appPricePoints],omitempty"` FieldsTerritories []string `url:"fields[territories],omitempty"` FilterPriceTier []string `url:"filter[priceTier],omitempty"` FilterTerritory []string `url:"filter[territory],omitempty"` Include []string `url:"include,omitempty"` }
GetAppPricePointQuery are query options for GetAppPricePoint
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_point_information
type GetAppPriceTierQuery ¶
type GetAppPriceTierQuery struct { FieldsAppPricePoints []string `url:"fields[appPricePoints],omitempty"` FieldsAppPriceTiers []string `url:"fields[appPriceTiers],omitempty"` Include []string `url:"include,omitempty"` LimitPricePoints int `url:"limit[pricePoints],omitempty"` }
GetAppPriceTierQuery are query options for GetAppPriceTier
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_tier_information
type GetAppQuery ¶
type GetAppQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaLicenseAgreements []string `url:"fields[betaLicenseAgreements],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` FieldsBetaAppReviewDetails []string `url:"fields[betaAppReviewDetails],omitempty"` FieldsBetaAppLocalizations []string `url:"fields[betaAppLocalizations],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsEndUserLicenseAgreements []string `url:"fields[endUserLicenseAgreements],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsTerritories []string `url:"fields[territories],omitempty"` FieldsAppPrices []string `url:"fields[appPrices],omitempty"` FieldsAppPreOrders []string `url:"fields[appPreOrders],omitempty"` FieldsAppInfos []string `url:"fields[appInfos],omitempty"` FieldsPerfPowerMetrics []string `url:"fields[perfPowerMetrics],omitempty"` FieldsGameCenterEnabledVersions []string `url:"fields[gameCenterEnabledVersions],omitempty"` FieldsInAppPurchases []string `url:"fields[inAppPurchases],omitempty"` Include []string `url:"include,omitempty"` LimitPreReleaseVersions int `url:"limit[preReleaseVersions],omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` LimitBetaGroups int `url:"limit[betaGroups],omitempty"` LimitBetaAppLocalizations int `url:"limit[betaAppLocalizations],omitempty"` LimitPrices int `url:"limit[prices],omitempty"` LimitAvailableTerritories int `url:"limit[availableTerritories],omitempty"` LimitAppStoreVersions int `url:"limit[appStoreVersions],omitempty"` LimitAppInfos int `url:"limit[appInfos],omitempty"` LimitGameCenterEnabledVersions int `url:"limit[gameCenterEnabledVersions],omitempty"` LimitInAppPurchases int `url:"limit[inAppPurchases],omitempty"` }
GetAppQuery are query options for GetApp
https://developer.apple.com/documentation/appstoreconnectapi/read_app_information
type GetAppScreenshotQuery ¶
type GetAppScreenshotQuery struct { FieldsAppScreenshots []string `url:"fields[appScreenshots],omitempty"` Include []string `url:"include,omitempty"` }
GetAppScreenshotQuery are query options for GetAppScreenshot
https://developer.apple.com/documentation/appstoreconnectapi/read_app_screenshot_information
type GetAppScreenshotSetQuery ¶
type GetAppScreenshotSetQuery struct { FieldsAppScreenshots []string `url:"fields[appScreenshots],omitempty"` FieldsAppScreenshotSets []string `url:"fields[appScreenshotSets],omitempty"` Include []string `url:"include,omitempty"` LimitAppScreenshots int `url:"limit[appScreenshots],omitempty"` }
GetAppScreenshotSetQuery are query options for GetAppScreenshotSet
https://developer.apple.com/documentation/appstoreconnectapi/read_app_screenshot_set_information
type GetAppStoreReviewDetailsForAppStoreVersionQuery ¶
type GetAppStoreReviewDetailsForAppStoreVersionQuery struct { FieldsAppStoreReviewAttachments []string `url:"fields[appStoreReviewAttachments],omitempty"` FieldsAppStoreReviewDetails []string `url:"fields[appStoreReviewDetails],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` Include []string `url:"include,omitempty"` }
GetAppStoreReviewDetailsForAppStoreVersionQuery are query options for GetAppStoreReviewDetailsForAppStoreVersion
type GetAppStoreVersionForBuildQuery ¶
type GetAppStoreVersionForBuildQuery struct {
FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"`
}
GetAppStoreVersionForBuildQuery are query options for GetAppStoreVersionForBuild
type GetAppStoreVersionLocalizationQuery ¶
type GetAppStoreVersionLocalizationQuery struct { FieldsAppPreviewSets []string `url:"fields[appPreviewSets],omitempty"` FieldsAppScreenshotSets []string `url:"fields[appScreenshotSets],omitempty"` FieldsAppStoreVersionLocalizations []string `url:"fields[appStoreVersionLocalizations],omitempty"` Include []string `url:"include,omitempty"` LimitAppPreviewSets int `url:"limit[appPreviewSets],omitempty"` LimitAppScreenshotSets int `url:"limit[appScreenshotSets],omitempty"` }
GetAppStoreVersionLocalizationQuery are query options for GetAppStoreVersionLocalization
type GetAppStoreVersionPhasedReleaseForAppStoreVersionQuery ¶
type GetAppStoreVersionPhasedReleaseForAppStoreVersionQuery struct {
FieldsAppStoreVersionPhasedReleases []string `url:"fields[appStoreVersionPhasedReleases],omitempty"`
}
GetAppStoreVersionPhasedReleaseForAppStoreVersionQuery are query options for GetAppStoreVersionPhasedReleaseForAppStoreVersion
type GetAppStoreVersionQuery ¶
type GetAppStoreVersionQuery struct { FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsAppStoreVersionSubmissions []string `url:"fields[appStoreVersionSubmissions],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsAppStoreReviewDetails []string `url:"fields[appStoreReviewDetails],omitempty"` FieldsAppStoreVersionPhasedReleases []string `url:"fields[appStoreVersionPhasedReleases],omitempty"` FieldsRoutingAppCoverages []string `url:"fields[routingAppCoverages],omitempty"` FieldsIDFADeclarations []string `url:"fields[idfaDeclarations],omitempty"` FieldsAppStoreVersionLocalizations []string `url:"fields[appStoreVersionLocalizations],omitempty"` Include []string `url:"include,omitempty"` LimitAppStoreVersionLocalizations int `url:"limit[appStoreVersionLocalizations],omitempty"` }
GetAppStoreVersionQuery are query options for GetAppStoreVersion
https://developer.apple.com/documentation/appstoreconnectapi/read_app_store_version_information
type GetAppStoreVersionSubmissionForAppStoreVersionQuery ¶
type GetAppStoreVersionSubmissionForAppStoreVersionQuery struct { FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsAppStoreVersionSubmissions []string `url:"fields[appStoreVersionSubmissions],omitempty"` Include []string `url:"include,omitempty"` }
GetAppStoreVersionSubmissionForAppStoreVersionQuery are query options for GetAppStoreVersionSubmissionForAppStoreVersion
type GetAttachmentQuery ¶
type GetAttachmentQuery struct { FieldsAppStoreReviewAttachments []string `url:"fields[appStoreReviewAttachments],omitempty"` Include []string `url:"include,omitempty"` }
GetAttachmentQuery are query options for GetAttachment
type GetBetaAppLocalizationQuery ¶
type GetBetaAppLocalizationQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaAppLocalizations []string `url:"fields[betaAppLocalizations],omitempty"` Include []string `url:"include,omitempty"` }
GetBetaAppLocalizationQuery defines model for GetBetaAppLocalization
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_app_localization_information
type GetBetaAppReviewDetailQuery ¶
type GetBetaAppReviewDetailQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaAppReviewDetails []string `url:"fields[betaAppReviewDetails],omitempty"` Include []string `url:"include,omitempty"` }
GetBetaAppReviewDetailQuery defines model for GetBetaAppReviewDetail
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_app_review_detail_information
type GetBetaAppReviewDetailsForAppQuery ¶
type GetBetaAppReviewDetailsForAppQuery struct {
FieldsBetaAppReviewDetails []string `url:"fields[betaAppReviewDetails],omitempty"`
}
GetBetaAppReviewDetailsForAppQuery defines model for GetBetaAppReviewDetailsForApp
type GetBetaAppReviewSubmissionForBuildQuery ¶
type GetBetaAppReviewSubmissionForBuildQuery struct {
FieldsBetaAppReviewSubmissions []string `url:"fields[betaAppReviewSubmissions],omitempty"`
}
GetBetaAppReviewSubmissionForBuildQuery defines model for GetBetaAppReviewSubmissionForBuild
type GetBetaAppReviewSubmissionQuery ¶
type GetBetaAppReviewSubmissionQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaAppReviewSubmissions []string `url:"fields[betaAppReviewSubmissions],omitempty"` Include []string `url:"include,omitempty"` }
GetBetaAppReviewSubmissionQuery defines model for GetBetaAppReviewSubmission
type GetBetaBuildLocalizationQuery ¶
type GetBetaBuildLocalizationQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaBuildLocalizations []string `url:"fields[betaBuildLocalizations],omitempty"` Include []string `url:"include,omitempty"` }
GetBetaBuildLocalizationQuery defines model for GetBetaBuildLocalization
type GetBetaGroupQuery ¶
type GetBetaGroupQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` Include []string `url:"include,omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` LimitBetaTesters int `url:"limit[betaTesters],omitempty"` }
GetBetaGroupQuery defines model for GetBetaGroup
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_group_information
type GetBetaLicenseAgreementForAppQuery ¶
type GetBetaLicenseAgreementForAppQuery struct {
FieldsBetaLicenseAgreements []string `url:"fields[betaLicenseAgreements],omitempty"`
}
GetBetaLicenseAgreementForAppQuery defines model for GetBetaLicenseAgreementForApp
type GetBetaLicenseAgreementQuery ¶
type GetBetaLicenseAgreementQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaLicenseAgreements []string `url:"fields[betaLicenseAgreements],omitempty"` Include []string `url:"include,omitempty"` }
GetBetaLicenseAgreementQuery defines model for GetBetaLicenseAgreement
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_license_agreement_information
type GetBetaTesterQuery ¶
type GetBetaTesterQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` Include []string `url:"include,omitempty"` LimitApps []string `url:"limit[apps],omitempty"` LimitBetaGroups []string `url:"limit[betaGroups],omitempty"` LimitBuilds []string `url:"limit[builds],omitempty"` }
GetBetaTesterQuery defines model for GetBetaTester
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_tester_information
type GetBuildBetaDetailForBuildQuery ¶
type GetBuildBetaDetailForBuildQuery struct {
FieldsBuildBetaDetails []string `url:"fields[buildBetaDetails],omitempty"`
}
GetBuildBetaDetailForBuildQuery defines model for GetBuildBetaDetailForBuild
type GetBuildBetaDetailsQuery ¶
type GetBuildBetaDetailsQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBuildBetaDetails []string `url:"fields[buildBetaDetails],omitempty"` Include []string `url:"include,omitempty"` }
GetBuildBetaDetailsQuery defines model for GetBuildBetaDetails
https://developer.apple.com/documentation/appstoreconnectapi/read_build_beta_detail_information
type GetBuildForAppStoreVersionQuery ¶
type GetBuildForAppStoreVersionQuery struct {
FieldsBuilds []string `url:"fields[builds],omitempty"`
}
GetBuildForAppStoreVersionQuery are query options for GetBuildForAppStoreVersion
type GetBuildForBetaAppReviewSubmissionQuery ¶
type GetBuildForBetaAppReviewSubmissionQuery struct {
FieldsBuilds []string `url:"fields[builds],omitempty"`
}
GetBuildForBetaAppReviewSubmissionQuery defines model for GetBuildForBetaAppReviewSubmission
type GetBuildForBetaBuildLocalizationQuery ¶
type GetBuildForBetaBuildLocalizationQuery struct {
FieldsBuilds []string `url:"fields[builds],omitempty"`
}
GetBuildForBetaBuildLocalizationQuery defines model for GetBuildForBetaBuildLocalization
type GetBuildForBuildBetaDetailQuery ¶
type GetBuildForBuildBetaDetailQuery struct {
FieldsBuilds []string `url:"fields[builds],omitempty"`
}
GetBuildForBuildBetaDetailQuery defines model for GetBuildForBuildBetaDetail
type GetBuildQuery ¶
type GetBuildQuery struct { FieldsAppEncryptionDeclarations []string `url:"fields[appEncryptionDeclarations],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` FieldsBuildBetaDetails []string `url:"fields[buildBetaDetails],omitempty"` FieldsBetaAppReviewSubmissions []string `url:"fields[betaAppReviewSubmissions],omitempty"` FieldsBetaBuildLocalizations []string `url:"fields[betaBuildLocalizations],omitempty"` FieldsDiagnosticSignatures []string `url:"fields[diagnosticSignatures],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsPerfPowerMetrics []string `url:"fields[perfPowerMetrics],omitempty"` FieldsBuildIcons []string `url:"fields[buildIcons],omitempty"` Include []string `url:"include,omitempty"` LimitIndividualTesters int `url:"limit[individualTesters],omitempty"` LimitBetaBuildLocalizations int `url:"limit[betaBuildLocalizations],omitempty"` LimitIcons int `url:"limit[icons],omitempty"` }
GetBuildQuery are query options for GetBuilds
https://developer.apple.com/documentation/appstoreconnectapi/read_build_information
type GetBundleIDForProfileQuery ¶
type GetBundleIDForProfileQuery struct {
FieldsCertificates []string `url:"fields[certificates],omitempty"`
}
GetBundleIDForProfileQuery are query options for GetBundleIDForProfile
https://developer.apple.com/documentation/appstoreconnectapi/read_the_bundle_id_in_a_profile
type GetBundleIDQuery ¶
type GetBundleIDQuery struct { FieldsBundleIds []string `url:"fields[bundleIds],omitempty"` FieldsProfiles []string `url:"fields[profiles],omitempty"` FieldsBundleIDCapabilities []string `url:"fields[bundleIdCapabilities],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` LimitProfiles int `url:"limit[profiles],omitempty"` LimitBundleIDCapabilities int `url:"limit[bundleIdCapabilities],omitempty"` Include []string `url:"include,omitempty"` }
GetBundleIDQuery are query options for GetBundleID
https://developer.apple.com/documentation/appstoreconnectapi/read_bundle_id_information
type GetCertificateQuery ¶
type GetCertificateQuery struct {
FieldsCertificates []string `url:"fields[certificates],omitempty"`
}
GetCertificateQuery are query options for GetCertificate
type GetDeviceQuery ¶
type GetDeviceQuery struct {
FieldsDevices []string `url:"fields[devices],omitempty"`
}
GetDeviceQuery are query options for GetDevice
https://developer.apple.com/documentation/appstoreconnectapi/read_device_information
type GetEULAForAppQuery ¶
type GetEULAForAppQuery struct {
FieldsEndUserLicenseAgreements []string `url:"fields[endUserLicenseAgreements],omitempty"`
}
GetEULAForAppQuery are query options for GetEULAForApp
type GetEULAQuery ¶
type GetEULAQuery struct { FieldsEndUserLicenseAgreements []string `url:"fields[endUserLicenseAgreements],omitempty"` FieldsTerritories []string `url:"fields[territories],omitempty"` Include []string `url:"include,omitempty"` LimitTerritories int `url:"limit[territories],omitempty"` }
GetEULAQuery are query options for GetEULA
type GetIDFADeclarationForAppStoreVersionQuery ¶
type GetIDFADeclarationForAppStoreVersionQuery struct {
FieldsIDFADeclarations []string `url:"fields[idfaDeclarations],omitempty"`
}
GetIDFADeclarationForAppStoreVersionQuery are query options for GetIDFADeclarationForAppStoreVersion
type GetInAppPurchaseQuery ¶
type GetInAppPurchaseQuery struct { FieldsInAppPurchases []string `url:"fields[inAppPurchases],omitempty"` Include []string `url:"include,omitempty"` LimitApps int `url:"limit[apps],omitempty"` }
GetInAppPurchaseQuery are query options for GetInAppPurchase
https://developer.apple.com/documentation/appstoreconnectapi/read_in-app_purchase_information
type GetInvitationQuery ¶
type GetInvitationQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsUserInvitations []string `url:"fields[userInvitations],omitempty"` Include []string `url:"include,omitempty"` LimitVisibleApps int `url:"limit[visibleApps],omitempty"` }
GetInvitationQuery is query options for GetInvitation
https://developer.apple.com/documentation/appstoreconnectapi/read_user_invitation_information
type GetLogsForDiagnosticSignatureQuery ¶
type GetLogsForDiagnosticSignatureQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
GetLogsForDiagnosticSignatureQuery are query options for GetLogsForDiagnosticSignature
type GetPerfPowerMetricsQuery ¶
type GetPerfPowerMetricsQuery struct { FilterDeviceType []string `url:"filter[deviceType],omitempty"` FilterMetricType []string `url:"filter[metricType],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` Cursor string `url:"cursor,omitempty"` }
GetPerfPowerMetricsQuery are query options for GetPerfPowerMetrics
type GetPreOrderForAppQuery ¶
type GetPreOrderForAppQuery struct {
FieldsAppPreOrders []string `url:"fields[appPreOrders],omitempty"`
}
GetPreOrderForAppQuery are query options for GetPreOrderForApp
type GetPreOrderQuery ¶
type GetPreOrderQuery struct { FieldsAppPreOrders []string `url:"fields[appPreOrders],omitempty"` Include []string `url:"include,omitempty"` }
GetPreOrderQuery are query options for GetPreOrder
https://developer.apple.com/documentation/appstoreconnectapi/read_app_pre-order_information
type GetPrereleaseVersionForBuildQuery ¶
type GetPrereleaseVersionForBuildQuery struct {
FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"`
}
GetPrereleaseVersionForBuildQuery defines model for GetPrereleaseVersionForBuild
https://developer.apple.com/documentation/appstoreconnectapi/read_the_prerelease_version_of_a_build
type GetPrereleaseVersionQuery ¶
type GetPrereleaseVersionQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` Include []string `url:"include,omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` }
GetPrereleaseVersionQuery defines model for GetPrereleaseVersion
https://developer.apple.com/documentation/appstoreconnectapi/read_prerelease_version_information
type GetPriceQuery ¶
type GetPriceQuery struct { FieldsAppPrices []string `url:"fields[appPrices],omitempty"` Include []string `url:"include,omitempty"` }
GetPriceQuery are query options for GetPrice
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_information
type GetProfileQuery ¶
type GetProfileQuery struct { FieldsCertificates []string `url:"fields[certificates],omitempty"` FieldsDevices []string `url:"fields[devices],omitempty"` FieldsProfiles []string `url:"fields[profiles],omitempty"` FieldsBundleIds []string `url:"fields[bundleIds],omitempty"` LimitCertificates int `url:"limit[certificates],omitempty"` LimitDevices int `url:"limit[devices],omitempty"` Include []string `url:"include,omitempty"` }
GetProfileQuery are query options for GetProfile
https://developer.apple.com/documentation/appstoreconnectapi/read_and_download_profile_information
type GetReviewDetailQuery ¶
type GetReviewDetailQuery struct { FieldsAppStoreReviewDetails []string `url:"fields[appStoreReviewDetails],omitempty"` FieldsAppStoreReviewAttachments []string `url:"fields[appStoreReviewAttachments],omitempty"` Include []string `url:"include,omitempty"` LimitAppStoreReviewAttachments int `url:"limit[appStoreReviewAttachments],omitempty"` }
GetReviewDetailQuery are query options for GetReviewDetail
type GetRoutingAppCoverageForVersionQuery ¶
type GetRoutingAppCoverageForVersionQuery struct {
FieldsRoutingAppCoverages []string `url:"fields[routingAppCoverages],omitempty"`
}
GetRoutingAppCoverageForVersionQuery are query options for GetRoutingAppCoverageForVersion
type GetRoutingAppCoverageQuery ¶
type GetRoutingAppCoverageQuery struct { FieldsRoutingAppCoverages []string `url:"fields[routingAppCoverages],omitempty"` Include []string `url:"include,omitempty"` }
GetRoutingAppCoverageQuery are query options for GetRoutingAppCoverage
https://developer.apple.com/documentation/appstoreconnectapi/read_routing_app_coverage_information
type GetTerritoryForAppPricePointQuery ¶
type GetTerritoryForAppPricePointQuery struct {
FieldsTerritories []string `url:"fields[territories],omitempty"`
}
GetTerritoryForAppPricePointQuery are query options for GetTerritoryForAppPricePoint
type GetUserQuery ¶
type GetUserQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsUsers []string `url:"fields[users],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitVisibleApps int `url:"limit[visibleApps],omitempty"` }
GetUserQuery is query options for GetUser
https://developer.apple.com/documentation/appstoreconnectapi/read_user_information
type IDFADeclaration ¶
type IDFADeclaration struct { Attributes *IDFADeclarationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *IDFADeclarationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
IDFADeclaration defines model for IDFADeclaration.
https://developer.apple.com/documentation/appstoreconnectapi/idfadeclaration
type IDFADeclarationAttributes ¶
type IDFADeclarationAttributes struct { AttributesActionWithPreviousAd *bool `json:"attributesActionWithPreviousAd,omitempty"` AttributesAppInstallationToPreviousAd *bool `json:"attributesAppInstallationToPreviousAd,omitempty"` HonorsLimitedAdTracking *bool `json:"honorsLimitedAdTracking,omitempty"` ServesAds *bool `json:"servesAds,omitempty"` }
IDFADeclarationAttributes defines model for IDFADeclaration.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/idfadeclaration/attributes
type IDFADeclarationCreateRequestAttributes ¶
type IDFADeclarationCreateRequestAttributes struct { AttributesActionWithPreviousAd bool `json:"attributesActionWithPreviousAd"` AttributesAppInstallationToPreviousAd bool `json:"attributesAppInstallationToPreviousAd"` HonorsLimitedAdTracking bool `json:"honorsLimitedAdTracking"` ServesAds bool `json:"servesAds"` }
IDFADeclarationCreateRequestAttributes are attributes for IDFADeclarationCreateRequest
type IDFADeclarationRelationships ¶
type IDFADeclarationRelationships struct {
AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"`
}
IDFADeclarationRelationships defines model for IDFADeclaration.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/idfadeclaration/relationships
type IDFADeclarationResponse ¶
type IDFADeclarationResponse struct { Data IDFADeclaration `json:"data"` Links DocumentLinks `json:"links"` }
IDFADeclarationResponse defines model for IDFADeclarationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/idfadeclarationresponse
type IDFADeclarationUpdateRequestAttributes ¶
type IDFADeclarationUpdateRequestAttributes struct { AttributesActionWithPreviousAd *bool `json:"attributesActionWithPreviousAd,omitempty"` AttributesAppInstallationToPreviousAd *bool `json:"attributesAppInstallationToPreviousAd,omitempty"` HonorsLimitedAdTracking *bool `json:"honorsLimitedAdTracking,omitempty"` ServesAds *bool `json:"servesAds,omitempty"` }
IDFADeclarationUpdateRequestAttributes are attributes for IDFADeclarationUpdateRequest
type IconAssetType ¶
type IconAssetType string
IconAssetType defines model for IconAssetType.
https://developer.apple.com/documentation/appstoreconnectapi/iconassettype
const ( // IconAssetTypeAppStore is an icon asset type for AppStore. IconAssetTypeAppStore IconAssetType = "APP_STORE" // IconAssetTypeMessagesAppStore is an icon asset type for MessagesAppStore. IconAssetTypeMessagesAppStore IconAssetType = "MESSAGES_APP_STORE" // IconAssetTypeTVOSHomeScreen is an icon asset type for TVOSHomeScreen. IconAssetTypeTVOSHomeScreen IconAssetType = "TV_OS_HOME_SCREEN" // IconAssetTypeTVOSTopShelf is an icon asset type for TVOSTopShelf. IconAssetTypeTVOSTopShelf IconAssetType = "TV_OS_TOP_SHELF" // IconAssetTypeWatchAppStore is an icon asset type for WatchAppStore. IconAssetTypeWatchAppStore IconAssetType = "WATCH_APP_STORE" )
type ImageAsset ¶
type ImageAsset struct { Height *int `json:"height,omitempty"` TemplateURL *string `json:"templateUrl,omitempty"` Width *int `json:"width,omitempty"` }
ImageAsset defines model for ImageAsset.
https://developer.apple.com/documentation/appstoreconnectapi/imageasset
type InAppPurchase ¶
type InAppPurchase struct { Attributes *InAppPurchaseAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *InAppPurchaseRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
InAppPurchase defines model for InAppPurchase.
https://developer.apple.com/documentation/appstoreconnectapi/inapppurchase
type InAppPurchaseAttributes ¶
type InAppPurchaseAttributes struct { InAppPurchaseType *string `json:"inAppPurchaseType,omitempty"` ProductID *string `json:"productId,omitempty"` ReferenceName *string `json:"referenceName,omitempty"` State *string `json:"state,omitempty"` }
InAppPurchaseAttributes defines model for InAppPurchase.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/inapppurchase/attributes
type InAppPurchaseCreateRequestAttributes ¶
type InAppPurchaseCreateRequestAttributes struct { AvailableInAllTerritories bool `json:"availableInAllTerritories"` FamilySharable bool `json:"familySharable"` InAppPurchaseType InAppPurchaseType `json:"inAppPurchaseType"` Name string `json:"name"` ProductID string `json:"productId"` ReviewNote string `json:"reviewNote"` }
InAppPurchaseCreateRequestAttributes defines model for InAppPurchaseV2CreateRequest.Data.Attributes.
type InAppPurchaseRelationships ¶
type InAppPurchaseRelationships struct {
Apps *PagedRelationship `json:"apps,omitempty"`
}
InAppPurchaseRelationships defines model for InAppPurchase.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/inapppurchase/relationships
type InAppPurchaseResponse ¶
type InAppPurchaseResponse struct { Data InAppPurchase `json:"data"` Links DocumentLinks `json:"links"` }
InAppPurchaseResponse defines model for InAppPurchaseResponse.
https://developer.apple.com/documentation/appstoreconnectapi/inapppurchaseresponse
type InAppPurchaseType ¶
type InAppPurchaseType string
InAppPurchaseType defines the type of in-app purchase (CONSUMABLE, NON_CONSUMABLE, NON_RENEWING_SUBSCRIPTION).
const ( // InAppPurchaseTypeConsumable is a consumable in-app purchase. InAppPurchaseTypeConsumable InAppPurchaseType = "CONSUMABLE" // InAppPurchaseTypeNonConsumable is a non-consumable in-app purchase. InAppPurchaseTypeNonConsumable InAppPurchaseType = "NON_CONSUMABLE" // InAppPurchaseTypeNonRenewingSubscription is a non-renewing subscription in-app purchase. InAppPurchaseTypeNonRenewingSubscription InAppPurchaseType = "NON_RENEWING_SUBSCRIPTION" )
type InAppPurchasesResponse ¶
type InAppPurchasesResponse struct { Data []InAppPurchase `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
InAppPurchasesResponse defines model for InAppPurchasesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/inapppurchasesresponse
type InternalBetaState ¶
type InternalBetaState string
InternalBetaState defines model for InternalBetaState.
https://developer.apple.com/documentation/appstoreconnectapi/internalbetastate
const ( // InternalBetaStateExpired is an internal beta state for Expired. InternalBetaStateExpired InternalBetaState = "EXPIRED" // InternalBetaStateInTesting is an internal beta state for InTesting. InternalBetaStateInTesting InternalBetaState = "IN_BETA_TESTING" // InternalBetaStateInExportComplianceReview is an internal beta state for InExportComplianceReview. InternalBetaStateInExportComplianceReview InternalBetaState = "IN_EXPORT_COMPLIANCE_REVIEW" // InternalBetaStateMissingExportCompliance is an internal beta state for MissingExportCompliance. InternalBetaStateMissingExportCompliance InternalBetaState = "MISSING_EXPORT_COMPLIANCE" // InternalBetaStateProcessing is an internal beta state for Processing. InternalBetaStateProcessing InternalBetaState = "PROCESSING" // InternalBetaStateProcessingException is an internal beta state for ProcessingException. InternalBetaStateProcessingException InternalBetaState = "PROCESSING_EXCEPTION" // InternalBetaStateReadyForBetaTesting is an internal beta state for ReadyForBetaTesting. InternalBetaStateReadyForBetaTesting InternalBetaState = "READY_FOR_BETA_TESTING" )
type KidsAgeBand ¶
type KidsAgeBand string
KidsAgeBand defines model for KidsAgeBand.
https://developer.apple.com/documentation/appstoreconnectapi/kidsageband
const ( // KidsAgeBandFiveAndUnder is for an age rating of 5 and under. KidsAgeBandFiveAndUnder KidsAgeBand = "FIVE_AND_UNDER" // KidsAgeBandNineToEleven is for an age rating of 9 to 11. KidsAgeBandNineToEleven KidsAgeBand = "NINE_TO_ELEVEN" // KidsAgeBandSixToEight is for an age rating of 6 to 8. KidsAgeBandSixToEight KidsAgeBand = "SIX_TO_EIGHT" )
type ListAppCategoriesQuery ¶
type ListAppCategoriesQuery struct { ExistsParent []string `url:"exists[parent],omitempty"` FieldsAppCategories []string `url:"fields[appCategories],omitempty"` FilterPlatforms []string `url:"filter[platforms],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitSubcategories []string `url:"limit[subcategories],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppCategoriesQuery are query options for ListAppCategories
https://developer.apple.com/documentation/appstoreconnectapi/list_app_categories
type ListAppEncryptionDeclarationsQuery ¶
type ListAppEncryptionDeclarationsQuery struct { FieldsAppEncryptionDeclarations []string `url:"fields[appEncryptionDeclarations],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterBuilds []string `url:"filter[builds],omitempty"` FilterPlatforms []string `url:"filter[platforms],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor *string `url:"cursor,omitempty"` }
ListAppEncryptionDeclarationsQuery are query options for ListAppEncryptionDeclarations
https://developer.apple.com/documentation/appstoreconnectapi/list_app_encryption_declarations
type ListAppIDsForBetaTesterQuery ¶
type ListAppIDsForBetaTesterQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppIDsForBetaTesterQuery defines model for ListAppIDsForBetaTester
type ListAppInfoLocalizationsForAppInfoQuery ¶
type ListAppInfoLocalizationsForAppInfoQuery struct { FieldsAppInfos []string `url:"fields[appInfos],omitempty"` FieldsAppInfoLocalizations []string `url:"fields[appInfoLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterLocale []string `url:"filter[locale],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppInfoLocalizationsForAppInfoQuery are query options for ListAppInfoLocalizationsForAppInfo
type ListAppInfosForAppQuery ¶
type ListAppInfosForAppQuery struct { FieldsAppInfos []string `url:"fields[appInfos],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` FieldsAppInfoLocalizations []string `url:"fields[appInfoLocalizations],omitempty"` FieldsAppCategories []string `url:"fields[appCategories],omitempty"` FieldsAgeRatingDeclarations []string `url:"fields[ageRatingDeclarations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppInfosForAppQuery are query options for ListAppInfosForApp
https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_infos_for_an_app
type ListAppPreviewIDsForSetQuery ¶
type ListAppPreviewIDsForSetQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppPreviewIDsForSetQuery are query options for ListAppPreviewIDsForSet
type ListAppPreviewSetsForAppStoreVersionLocalizationQuery ¶
type ListAppPreviewSetsForAppStoreVersionLocalizationQuery struct { FieldsAppPreviewSets []string `url:"fields[appPreviewSets],omitempty"` FieldsAppPreviews []string `url:"fields[appPreviews],omitempty"` FieldsAppStoreVersionLocalizations []string `url:"fields[appStoreVersionLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterPreviewType []string `url:"filter[previewType],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppPreviewSetsForAppStoreVersionLocalizationQuery are query options for ListAppPreviewSetsForAppStoreVersionLocalization
type ListAppPreviewsForSetQuery ¶
type ListAppPreviewsForSetQuery struct { FieldsAppPreviewSets []string `url:"fields[appPreviewSets],omitempty"` FieldsAppPreviews []string `url:"fields[appPreviews],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppPreviewsForSetQuery are query options for ListAppPreviewsForSet
type ListAppPricePointsQuery ¶
type ListAppPricePointsQuery struct { FieldsAppPricePoints []string `url:"fields[appPricePoints],omitempty"` FieldsTerritories []string `url:"fields[territories],omitempty"` FilterPriceTier []string `url:"filter[priceTier],omitempty"` FilterTerritory []string `url:"filter[territory],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppPricePointsQuery are query options for ListAppPricePoints
https://developer.apple.com/documentation/appstoreconnectapi/list_app_price_points
type ListAppPriceTiersQuery ¶
type ListAppPriceTiersQuery struct { FieldsAppPricePoints []string `url:"fields[appPricePoints],omitempty"` FieldsAppPriceTiers []string `url:"fields[appPriceTiers],omitempty"` FilterID []string `url:"filter[id],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitPricePoints int `url:"limit[pricePoints],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppPriceTiersQuery are query options for ListAppPriceTiers
https://developer.apple.com/documentation/appstoreconnectapi/list_app_price_tiers
type ListAppScreenshotIDsForSetQuery ¶
type ListAppScreenshotIDsForSetQuery struct {
Limit int `url:"limit,omitempty"`
}
ListAppScreenshotIDsForSetQuery are query options for ListAppScreenshotIDsForSet
type ListAppScreenshotSetsForAppStoreVersionLocalizationQuery ¶
type ListAppScreenshotSetsForAppStoreVersionLocalizationQuery struct { FieldsAppScreenshotSets []string `url:"fields[appScreenshotSets],omitempty"` FieldsAppScreenshots []string `url:"fields[appScreenshots],omitempty"` FieldsAppStoreVersionLocalizations []string `url:"fields[appStoreVersionLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterScreenshotDisplayType []string `url:"filter[screenshotDisplayType],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppScreenshotSetsForAppStoreVersionLocalizationQuery are query options for ListAppScreenshotSetsForAppStoreVersionLocalization
type ListAppScreenshotsForSetQuery ¶
type ListAppScreenshotsForSetQuery struct { FieldsAppScreenshotSets []string `url:"fields[appScreenshotSets],omitempty"` FieldsAppScreenshots []string `url:"fields[appScreenshots],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppScreenshotsForSetQuery are query options for ListAppScreenshotsForSet
type ListAppStoreVersionsQuery ¶
type ListAppStoreVersionsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsAppStoreVersionSubmissions []string `url:"fields[appStoreVersionSubmissions],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsAppStoreReviewDetails []string `url:"fields[appStoreReviewDetails],omitempty"` FieldsAgeRatingDeclarations []string `url:"fields[ageRatingDeclarations],omitempty"` FieldsAppStoreVersionPhasedReleases []string `url:"fields[appStoreVersionPhasedReleases],omitempty"` FieldsRoutingAppCoverages []string `url:"fields[routingAppCoverages],omitempty"` FieldsIDFADeclarations []string `url:"fields[idfaDeclarations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterVersionString []string `url:"filter[versionString],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterAppStoreState []string `url:"filter[appStoreState],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppStoreVersionsQuery are query options for ListAppStoreVersions
https://developer.apple.com/documentation/appstoreconnectapi/list_all_app_store_versions_for_an_app
type ListAppsForBetaTesterQuery ¶
type ListAppsForBetaTesterQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppsForBetaTesterQuery defines model for ListAppsForBetaTester
https://developer.apple.com/documentation/appstoreconnectapi/list_all_apps_for_a_beta_tester
type ListAppsQuery ¶
type ListAppsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaLicenseAgreements []string `url:"fields[betaLicenseAgreements],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` FieldsBetaAppReviewDetails []string `url:"fields[betaAppReviewDetails],omitempty"` FieldsBetaAppLocalizations []string `url:"fields[betaAppLocalizations],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsEndUserLicenseAgreements []string `url:"fields[endUserLicenseAgreements],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsTerritories []string `url:"fields[territories],omitempty"` FieldsAppPrices []string `url:"fields[appPrices],omitempty"` FieldsAppPreOrders []string `url:"fields[appPreOrders],omitempty"` FieldsAppInfos []string `url:"fields[appInfos],omitempty"` FieldsPerfPowerMetrics []string `url:"fields[perfPowerMetrics],omitempty"` FieldsInAppPurchases []string `url:"fields[inAppPurchases],omitempty"` FilterBundleID []string `url:"filter[bundleId],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterName []string `url:"filter[name],omitempty"` FilterSKU []string `url:"filter[sku],omitempty"` FilterAppStoreVersions []string `url:"filter[appStoreVersions],omitempty"` FilterAppStoreVersionsPlatform []string `url:"filter[appStoreVersionsPlatform],omitempty"` FilterAppStoreVersionsAppStoreState []string `url:"filter[appStoreVersionsAppStoreState],omitempty"` FilterGameCenterEnabledVersions []string `url:"filter[gameCenterEnabledVersions],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitPreReleaseVersions int `url:"limit[preReleaseVersions],omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` LimitBetaGroups int `url:"limit[betaGroups],omitempty"` LimitBetaAppLocalizations int `url:"limit[betaAppLocalizations],omitempty"` LimitPrices int `url:"limit[prices],omitempty"` LimitAvailableTerritories int `url:"limit[availableTerritories],omitempty"` LimitAppStoreVersions int `url:"limit[appStoreVersions],omitempty"` LimitAppInfos int `url:"limit[appInfos],omitempty"` LimitGameCenterEnabledVersions int `url:"limit[gameCenterEnabledVersions],omitempty"` LimitInAppPurchases int `url:"limit[inAppPurchases],omitempty"` Sort []string `url:"sort,omitempty"` ExistsGameCenterEnabledVersions []string `url:"exists[gameCenterEnabledVersions],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAppsQuery are query options for ListApps
https://developer.apple.com/documentation/appstoreconnectapi/list_apps
type ListAttachmentQuery ¶
type ListAttachmentQuery struct { FieldsAppStoreReviewAttachments []string `url:"fields[appStoreReviewAttachments],omitempty"` FieldsAppStoreReviewDetails []string `url:"fields[appStoreReviewDetails],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListAttachmentQuery are query options for ListAttachmentsForReviewDetail
type ListBetaAppLocalizationsForAppQuery ¶
type ListBetaAppLocalizationsForAppQuery struct { FieldsBetaAppLocalizations []string `url:"fields[betaAppLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaAppLocalizationsForAppQuery defines model for ListBetaAppLocalizationsForApp
type ListBetaAppLocalizationsQuery ¶
type ListBetaAppLocalizationsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaAppLocalizations []string `url:"fields[betaAppLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterLocale []string `url:"filter[locale],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaAppLocalizationsQuery defines model for ListBetaAppLocalizations
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_localizations
type ListBetaAppReviewDetailsQuery ¶
type ListBetaAppReviewDetailsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaAppReviewDetails []string `url:"fields[betaAppReviewDetails],omitempty"` FilterApp []string `url:"filter[app],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaAppReviewDetailsQuery defines model for ListBetaAppReviewDetails
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_review_details
type ListBetaAppReviewSubmissionsQuery ¶
type ListBetaAppReviewSubmissionsQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaAppReviewSubmissions []string `url:"fields[betaAppReviewSubmissions],omitempty"` FilterBuild []string `url:"filter[build],omitempty"` FilterBetaReviewState []string `url:"filter[betaReviewState],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaAppReviewSubmissionsQuery defines model for ListBetaAppReviewSubmissions
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_review_submissions
type ListBetaBuildLocalizationsForBuildQuery ¶
type ListBetaBuildLocalizationsForBuildQuery struct { FieldsBetaBuildLocalizations []string `url:"fields[betaBuildLocalizations],omitempty"` Limit int `url:"limit,omitempty"` }
ListBetaBuildLocalizationsForBuildQuery defines model for ListBetaBuildLocalizationsForBuild
type ListBetaBuildLocalizationsQuery ¶
type ListBetaBuildLocalizationsQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBetaBuildLocalizations []string `url:"fields[betaBuildLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` FilterBuild []string `url:"filter[build],omitempty"` FilterLocale []string `url:"filter[locale],omitempty"` }
ListBetaBuildLocalizationsQuery defines model for ListBetaBuildLocalizations
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_build_localizations
type ListBetaGroupIDsForBetaTesterQuery ¶
type ListBetaGroupIDsForBetaTesterQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaGroupIDsForBetaTesterQuery defines model for ListBetaGroupIDsForBetaTester
type ListBetaGroupsForAppQuery ¶
type ListBetaGroupsForAppQuery struct { FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaGroupsForAppQuery defines model for ListBetaGroupsForApp
https://developer.apple.com/documentation/appstoreconnectapi/list_all_beta_groups_for_an_app
type ListBetaGroupsForBetaTesterQuery ¶
type ListBetaGroupsForBetaTesterQuery struct { FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaGroupsForBetaTesterQuery defines model for ListBetaGroupsForBetaTester
type ListBetaGroupsQuery ¶
type ListBetaGroupsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterBuilds []string `url:"filter[builds],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterIsInternalGroup []string `url:"filter[isInternalGroup],omitempty"` FilterName []string `url:"filter[name],omitempty"` FilterPublicLinkEnabled []string `url:"filter[publicLinkEnabled],omitempty"` FilterPublicLinkLimitEnabled []string `url:"filter[publicLinkLimitEnabled],omitempty"` FilterPublicLink []string `url:"filter[publicLink],omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Limit int `url:"limit,omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` LimitBetaTesters int `url:"limit[betaTesters],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaGroupsQuery defines model for ListBetaGroups
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_groups
type ListBetaLicenseAgreementsQuery ¶
type ListBetaLicenseAgreementsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaLicenseAgreements []string `url:"fields[betaLicenseAgreements],omitempty"` FilterApp []string `url:"filter[app],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaLicenseAgreementsQuery defines model for ListBetaLicenseAgreements
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_license_agreements
type ListBetaTesterIDsForBetaGroupQuery ¶
type ListBetaTesterIDsForBetaGroupQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaTesterIDsForBetaGroupQuery defines model for ListBetaTesterIDsForBetaGroup
https://developer.apple.com/documentation/appstoreconnectapi/get_all_beta_tester_ids_in_a_beta_group
type ListBetaTestersForBetaGroupQuery ¶
type ListBetaTestersForBetaGroupQuery struct { FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaTestersForBetaGroupQuery defines model for ListBetaTestersForBetaGroup
https://developer.apple.com/documentation/appstoreconnectapi/list_all_beta_testers_in_a_betagroup
type ListBetaTestersQuery ¶
type ListBetaTestersQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaGroups []string `url:"fields[betaGroups],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FilterApps []string `url:"filter[apps],omitempty"` FilterBetaGroups []string `url:"filter[betaGroups],omitempty"` FilterBuilds []string `url:"filter[builds],omitempty"` FilterEmail []string `url:"filter[email],omitempty"` FilterFirstName []string `url:"filter[firstName],omitempty"` FilterInviteType []string `url:"filter[inviteType],omitempty"` FilterLastName []string `url:"filter[lastName],omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Limit int `url:"limit,omitempty"` LimitApps []string `url:"limit[apps],omitempty"` LimitBetaGroups []string `url:"limit[betaGroups],omitempty"` LimitBuilds []string `url:"limit[builds],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBetaTestersQuery defines model for ListBetaTesters
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_testers
type ListBuildBetaDetailsQuery ¶
type ListBuildBetaDetailsQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsBuildBetaDetails []string `url:"fields[buildBetaDetails],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterBuild []string `url:"filter[build],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildBetaDetailsQuery defines model for ListBuildBetaDetails
https://developer.apple.com/documentation/appstoreconnectapi/list_build_beta_details
type ListBuildIDsForBetaGroupQuery ¶
type ListBuildIDsForBetaGroupQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildIDsForBetaGroupQuery defines model for ListBuildIDsForBetaGroup
https://developer.apple.com/documentation/appstoreconnectapi/get_all_build_ids_in_a_beta_group
type ListBuildIDsIndividuallyAssignedToBetaTesterQuery ¶
type ListBuildIDsIndividuallyAssignedToBetaTesterQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildIDsIndividuallyAssignedToBetaTesterQuery defines model for ListBuildIDsIndividuallyAssignedToBetaTester
type ListBuildsForAppQuery ¶
type ListBuildsForAppQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildsForAppQuery are query options for ListBuildsForApp
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_an_app
type ListBuildsForBetaGroupQuery ¶
type ListBuildsForBetaGroupQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildsForBetaGroupQuery defines model for ListBuildsForBetaGroup
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_for_a_betagroup
type ListBuildsForPrereleaseVersionQuery ¶
type ListBuildsForPrereleaseVersionQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildsForPrereleaseVersionQuery defines model for ListBuildsForPrereleaseVersion
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_a_prerelease_version
type ListBuildsIndividuallyAssignedToBetaTesterQuery ¶
type ListBuildsIndividuallyAssignedToBetaTesterQuery struct { FieldsBuilds []string `url:"fields[builds],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildsIndividuallyAssignedToBetaTesterQuery defines model for ListBuildsIndividuallyAssignedToBetaTester
type ListBuildsQuery ¶
type ListBuildsQuery struct { FieldsAppEncryptionDeclarations []string `url:"fields[appEncryptionDeclarations],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` FieldsBuildBetaDetails []string `url:"fields[buildBetaDetails],omitempty"` FieldsBetaAppReviewSubmissions []string `url:"fields[betaAppReviewSubmissions],omitempty"` FieldsBetaBuildLocalizations []string `url:"fields[betaBuildLocalizations],omitempty"` FieldsDiagnosticSignatures []string `url:"fields[diagnosticSignatures],omitempty"` FieldsAppStoreVersions []string `url:"fields[appStoreVersions],omitempty"` FieldsPerfPowerMetrics []string `url:"fields[perfPowerMetrics],omitempty"` FieldsBuildIcons []string `url:"fields[buildIcons],omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterExpired []string `url:"filter[expired],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterPreReleaseVersion []string `url:"filter[preReleaseVersion],omitempty"` FilterProcessingState []string `url:"filter[processingState],omitempty"` FilterVersion []string `url:"filter[version],omitempty"` FilterUsesNonExemptEncryption []string `url:"filter[usesNonExemptEncryption],omitempty"` FilterPreReleaseVersionVersion []string `url:"filter[preReleaseVersion.version],omitempty"` FilterPreReleaseVersionPlatform []string `url:"filter[preReleaseVersion.platform],omitempty"` FilterBetaGroups []string `url:"filter[betaGroups],omitempty"` FilterBetaAppReviewSubmissionReviewState []string `url:"filter[betaAppReviewSubmission.betaReviewState],omitempty"` FilterAppStoreVersion []string `url:"filter[appStoreVersion],omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Limit int `url:"limit,omitempty"` LimitIndividualTesters int `url:"limit[individualTesters],omitempty"` LimitBetaBuildLocalizations int `url:"limit[betaBuildLocalizations],omitempty"` LimitIcons int `url:"limit[icons],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBuildsQuery are query options for ListBuilds
https://developer.apple.com/documentation/appstoreconnectapi/list_builds
type ListBundleIDsQuery ¶
type ListBundleIDsQuery struct { FieldsBundleIds []string `url:"fields[bundleIds],omitempty"` FieldsProfiles []string `url:"fields[profiles],omitempty"` FieldsBundleIDCapabilities []string `url:"fields[bundleIdCapabilities],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitProfiles int `url:"limit[profiles],omitempty"` LimitBundleIDCapabilities int `url:"limit[bundleIdCapabilities],omitempty"` Sort []string `url:"sort,omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterIdentifier []string `url:"filter[identifier],omitempty"` FilterName []string `url:"filter[name],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterSeedID []string `url:"filter[seedId],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListBundleIDsQuery are query options for ListBundleIDs
https://developer.apple.com/documentation/appstoreconnectapi/list_bundle_ids
type ListCapabilitiesForBundleIDQuery ¶
type ListCapabilitiesForBundleIDQuery struct { FieldsBundleIDCapabilities []string `url:"fields[bundleIdCapabilities],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListCapabilitiesForBundleIDQuery are query options for ListCapabilitiesForBundleID
https://developer.apple.com/documentation/appstoreconnectapi/list_all_capabilities_for_a_bundle_id
type ListCertificatesForProfileQuery ¶
type ListCertificatesForProfileQuery struct { FieldsCertificates []string `url:"fields[certificates],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListCertificatesForProfileQuery are query options for ListCertificatesForProfile
https://developer.apple.com/documentation/appstoreconnectapi/list_all_certificates_in_a_profile
type ListCertificatesQuery ¶
type ListCertificatesQuery struct { FieldsCertificates []string `url:"fields[certificates],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterSerialNumber []string `url:"filter[serialNumber],omitempty"` FilterCertificateType []string `url:"filter[certificateType],omitempty"` FilterDisplayName []string `url:"filter[displayName],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListCertificatesQuery are query options for ListCertificates
https://developer.apple.com/documentation/appstoreconnectapi/list_and_download_certificates
type ListCompatibleVersionIDsForGameCenterEnabledVersionQuery ¶
type ListCompatibleVersionIDsForGameCenterEnabledVersionQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListCompatibleVersionIDsForGameCenterEnabledVersionQuery are query options for ListCompatibleVersionIDsForGameCenterEnabledVersion
type ListCompatibleVersionsForGameCenterEnabledVersionQuery ¶
type ListCompatibleVersionsForGameCenterEnabledVersionQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsGameCenterEnabledVersions []string `url:"fields[gameCenterEnabledVersions],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterVersionString []string `url:"filter[versionString],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListCompatibleVersionsForGameCenterEnabledVersionQuery are query options for ListCompatibleVersionsForGameCenterEnabledVersion.
type ListDevicesInProfileQuery ¶
type ListDevicesInProfileQuery struct { FieldsDevices []string `url:"fields[devices],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListDevicesInProfileQuery are query options for ListDevicesInProfile
https://developer.apple.com/documentation/appstoreconnectapi/list_all_devices_in_a_profile
type ListDevicesQuery ¶
type ListDevicesQuery struct { FieldsDevices []string `url:"fields[devices],omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterName []string `url:"filter[name],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterStatus []string `url:"filter[status],omitempty"` FilterUDID []string `url:"filter[udid],omitempty"` Limit int `url:"limit,omitempty"` Sort []string `url:"sort,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListDevicesQuery are query options for ListDevices
https://developer.apple.com/documentation/appstoreconnectapi/list_devices
type ListDiagnosticsSignaturesQuery ¶
type ListDiagnosticsSignaturesQuery struct { FieldsDiagnosticSignatures []string `url:"fields[diagnosticSignatures],omitempty"` FilterDiagnosticType []string `url:"filter[diagnosticType],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListDiagnosticsSignaturesQuery are query options for ListDiagnosticsSignatures
type ListGameCenterEnabledVersionsForAppQuery ¶
type ListGameCenterEnabledVersionsForAppQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsGameCenterEnabledVersions []string `url:"fields[gameCenterEnabledVersions],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` FilterID []string `url:"filter[id],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterVersionString []string `url:"filter[versionString],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListGameCenterEnabledVersionsForAppQuery are query options for ListGameCenterEnabledVersionsForApp
type ListIconsQuery ¶
type ListIconsQuery struct { FieldsBuildIcons []string `url:"fields[buildIcons],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListIconsQuery are query options for ListIcons
https://developer.apple.com/documentation/appstoreconnectapi/list_all_icons_for_a_build
type ListInAppPurchasesQuery ¶
type ListInAppPurchasesQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsInAppPurchases []string `url:"fields[inAppPurchases],omitempty"` FilterCanBeSubmitted []string `url:"filter[canBeSubmitted],omitempty"` FilterInAppPurchaseType []string `url:"filter[inAppPurchaseType],omitempty"` Limit int `url:"limit,omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListInAppPurchasesQuery are query options for ListInAppPurchases
https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app
type ListIndividualTestersForBuildQuery ¶
type ListIndividualTestersForBuildQuery struct { FieldsBetaTesters []string `url:"fields[betaTesters],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListIndividualTestersForBuildQuery defines model for ListIndividualTestersForBuild
https://developer.apple.com/documentation/appstoreconnectapi/list_all_individual_testers_for_a_build
type ListInvitationsQuery ¶
type ListInvitationsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsUserInvitations []string `url:"fields[userInvitations],omitempty"` FilterRoles []string `url:"filter[roles],omitempty"` FilterEmail []string `url:"filter[email],omitempty"` FilterVisibleApps []string `url:"filter[visibleApps],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitVisibleApps int `url:"limit[visibleApps],omitempty"` Sort []string `url:"sort,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListInvitationsQuery is query options for ListInvitations
https://developer.apple.com/documentation/appstoreconnectapi/list_invited_users
type ListLocalizationsForAppStoreVersionQuery ¶
type ListLocalizationsForAppStoreVersionQuery struct { FieldsAppStoreVersionLocalizations []string `url:"fields[appStoreVersionLocalizations],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListLocalizationsForAppStoreVersionQuery are query options for ListLocalizationsForAppStoreVersion
type ListPrereleaseVersionsForAppQuery ¶
type ListPrereleaseVersionsForAppQuery struct { FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListPrereleaseVersionsForAppQuery defines model for ListPrereleaseVersionsForApp
https://developer.apple.com/documentation/appstoreconnectapi/list_all_prerelease_versions_for_an_app
type ListPrereleaseVersionsQuery ¶
type ListPrereleaseVersionsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsBuilds []string `url:"fields[builds],omitempty"` FieldsPreReleaseVersions []string `url:"fields[preReleaseVersions],omitempty"` FilterApp []string `url:"filter[app],omitempty"` FilterBuilds []string `url:"filter[builds],omitempty"` FilterBuildsExpired []string `url:"filter[builds.expired],omitempty"` FilterBuildsProcessingState []string `url:"filter[builds.processingState],omitempty"` FilterPlatform []string `url:"filter[platform],omitempty"` FilterVersion []string `url:"filter[version],omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Limit int `url:"limit,omitempty"` LimitBuilds int `url:"limit[builds],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListPrereleaseVersionsQuery defines model for ListPrereleaseVersions
https://developer.apple.com/documentation/appstoreconnectapi/list_prerelease_versions
type ListPricePointsForAppPriceTierQuery ¶
type ListPricePointsForAppPriceTierQuery struct { FieldsAppPricePoints []string `url:"fields[appPricePoints],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListPricePointsForAppPriceTierQuery are query options for ListPricePointsForAppPriceTier
type ListPricesQuery ¶
type ListPricesQuery struct { FieldsAppPrices []string `url:"fields[appPrices],omitempty"` FieldsApps []string `url:"fields[apps],omitempty"` FieldsAppPriceTiers []string `url:"fields[appPriceTiers],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListPricesQuery are query options for ListPrices
https://developer.apple.com/documentation/appstoreconnectapi/list_all_prices_for_an_app
type ListProfilesForBundleIDQuery ¶
type ListProfilesForBundleIDQuery struct { FieldsProfiles []string `url:"fields[profiles],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListProfilesForBundleIDQuery are query options for ListProfilesForBundleID
https://developer.apple.com/documentation/appstoreconnectapi/list_all_profiles_for_a_bundle_id
type ListProfilesQuery ¶
type ListProfilesQuery struct { FieldsCertificates []string `url:"fields[certificates],omitempty"` FieldsDevices []string `url:"fields[devices],omitempty"` FieldsProfiles []string `url:"fields[profiles],omitempty"` FieldsID []string `url:"fields[id],omitempty"` FieldsName []string `url:"fields[name],omitempty"` FieldsBundleIDs []string `url:"fields[bundleIds],omitempty"` Include []string `url:"include,omitempty"` Limit int `url:"limit,omitempty"` LimitCertificates int `url:"limit[certificates],omitempty"` LimitDevices int `url:"limit[devices],omitempty"` Sort []string `url:"sort,omitempty"` FilterProfileState []string `url:"filter[profileState],omitempty"` FilterProfileType []string `url:"filter[profileType],omitempty"` Cursor string `url:"cursor,omitempty"` }
ListProfilesQuery are query options for ListProfile
https://developer.apple.com/documentation/appstoreconnectapi/list_and_download_profiles
type ListResourceIDsForIndividualTestersForBuildQuery ¶
type ListResourceIDsForIndividualTestersForBuildQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListResourceIDsForIndividualTestersForBuildQuery are query options for ListResourceIDsForIndividualTestersForBuild
type ListSubcategoriesForAppCategoryQuery ¶
type ListSubcategoriesForAppCategoryQuery struct { FieldsAppCategories []string `url:"fields[appCategories],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListSubcategoriesForAppCategoryQuery are query options for ListSubcategoriesForAppCategory
type ListTerritoriesQuery ¶
type ListTerritoriesQuery struct { FieldsTerritories []string `url:"fields[territories],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListTerritoriesQuery are query options for ListTerritories
https://developer.apple.com/documentation/appstoreconnectapi/list_territories https://developer.apple.com/documentation/appstoreconnectapi/list_all_available_territories_for_an_app https://developer.apple.com/documentation/appstoreconnectapi/list_all_territories_for_an_end_user_license_agreement https://developer.apple.com/documentation/appstoreconnectapi/read_the_territory_information_of_an_app_price_point
type ListUsersQuery ¶
type ListUsersQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` FieldsUsers []string `url:"fields[users],omitempty"` FilterRoles []string `url:"filter[roles],omitempty"` FilterVisibleApps []string `url:"filter[visibleApps],omitempty"` FilterUsername []string `url:"filter[username],omitempty"` Limit int `url:"limit,omitempty"` LimitVisibleApps int `url:"limit[visibleApps],omitempty"` Include []string `url:"include,omitempty"` Sort []string `url:"sort,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListUsersQuery is query options for ListUsers
https://developer.apple.com/documentation/appstoreconnectapi/list_users
type ListVisibleAppsByResourceIDQuery ¶
type ListVisibleAppsByResourceIDQuery struct { Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListVisibleAppsByResourceIDQuery is query options for ListVisibleAppsByResourceIDForUser
type ListVisibleAppsQuery ¶
type ListVisibleAppsQuery struct { FieldsApps []string `url:"fields[apps],omitempty"` Limit int `url:"limit,omitempty"` Cursor string `url:"cursor,omitempty"` }
ListVisibleAppsQuery is query options for ListVisibleAppsForUser
https://developer.apple.com/documentation/appstoreconnectapi/list_all_apps_visible_to_a_user
type NewAppPriceRelationship ¶
NewAppPriceRelationship models the parameters for a new app price relationship
Set StartDate to nil if you want the price tier to take effect immediately. Use the AppPriceTier methods on *PricingService to populate the PriceTierID value.
type PagedDocumentLinks ¶
type PagedDocumentLinks struct { First *Reference `json:"first,omitempty"` Next *Reference `json:"next,omitempty"` Self Reference `json:"self"` }
PagedDocumentLinks defines model for PagedDocumentLinks.
type PagedRelationship ¶
type PagedRelationship struct { Data []RelationshipData `json:"data,omitempty"` Links *RelationshipLinks `json:"links,omitempty"` Meta *PagingInformation `json:"meta,omitempty"` }
PagedRelationship is a relationship to multiple resources that have paging information.
type PagingInformation ¶
type PagingInformation struct { Paging struct { Limit int `json:"limit"` Total int `json:"total"` } `json:"paging"` }
PagingInformation defines model for PagingInformation.
type PerfPowerMetric ¶
type PerfPowerMetric struct { Attributes *PerfPowerMetricAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
PerfPowerMetric defines model for PerfPowerMetric.
https://developer.apple.com/documentation/appstoreconnectapi/perfpowermetric
type PerfPowerMetricAttributes ¶
type PerfPowerMetricAttributes struct { DeviceType *string `json:"deviceType,omitempty"` MetricType *string `json:"metricType,omitempty"` Platform *string `json:"platform,omitempty"` }
PerfPowerMetricAttributes defines model for PerfPowerMetric.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/perfpowermetric/attributes
type PerfPowerMetricsResponse ¶
type PerfPowerMetricsResponse struct { Data []PerfPowerMetric `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
PerfPowerMetricsResponse defines model for PerfPowerMetricsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/perfpowermetricsresponse
type PhasedReleaseState ¶
type PhasedReleaseState string
PhasedReleaseState defines model for PhasedReleaseState.
https://developer.apple.com/documentation/appstoreconnectapi/phasedreleasestate
const ( // PhasedReleaseStateInactive is a representation of the INACTIVE state. PhasedReleaseStateInactive PhasedReleaseState = "INACTIVE" // PhasedReleaseStateActive is a representation of the ACTIVE state. PhasedReleaseStateActive PhasedReleaseState = "ACTIVE" // PhasedReleaseStatePaused is a representation of the PAUSED state. PhasedReleaseStatePaused PhasedReleaseState = "PAUSED" // PhasedReleaseStateComplete is a representation of the COMPLETE state. PhasedReleaseStateComplete PhasedReleaseState = "COMPLETE" )
type Platform ¶
type Platform string
Platform defines model for Platform.
https://developer.apple.com/documentation/appstoreconnectapi/platform
type PrereleaseVersion ¶
type PrereleaseVersion struct { Attributes *PrereleaseVersionAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *PrereleaseVersionRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
PrereleaseVersion defines model for PrereleaseVersion.
https://developer.apple.com/documentation/appstoreconnectapi/prereleaseversion
type PrereleaseVersionAttributes ¶
type PrereleaseVersionAttributes struct { Platform *Platform `json:"platform,omitempty"` Version *string `json:"version,omitempty"` }
PrereleaseVersionAttributes defines model for PrereleaseVersion.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/prereleaseversion/attributes
type PrereleaseVersionRelationships ¶
type PrereleaseVersionRelationships struct { App *Relationship `json:"app,omitempty"` Builds *PagedRelationship `json:"builds,omitempty"` }
PrereleaseVersionRelationships defines model for PrereleaseVersion.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/prereleaseversion/relationships
type PrereleaseVersionResponse ¶
type PrereleaseVersionResponse struct { Data PrereleaseVersion `json:"data"` Included []PrereleaseVersionResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
PrereleaseVersionResponse defines model for PrereleaseVersionResponse.
https://developer.apple.com/documentation/appstoreconnectapi/prereleaseversionresponse
type PrereleaseVersionResponseIncluded ¶
type PrereleaseVersionResponseIncluded included
PrereleaseVersionResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a PrereleaseVersionResponse or PrereleaseVersionsResponse.
func (*PrereleaseVersionResponseIncluded) App ¶
func (i *PrereleaseVersionResponseIncluded) App() *App
App returns the App stored within, if one is present.
func (*PrereleaseVersionResponseIncluded) Build ¶
func (i *PrereleaseVersionResponseIncluded) Build() *Build
Build returns the Build stored within, if one is present.
func (*PrereleaseVersionResponseIncluded) UnmarshalJSON ¶
func (i *PrereleaseVersionResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in PrereleaseVersionResponseIncluded.
type PrereleaseVersionsResponse ¶
type PrereleaseVersionsResponse struct { Data []PrereleaseVersion `json:"data"` Included []PrereleaseVersionResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
PrereleaseVersionsResponse defines model for PreReleaseVersionsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/prereleaseversionsresponse
type PreviewType ¶
type PreviewType string
PreviewType defines model for PreviewType.
https://developer.apple.com/documentation/appstoreconnectapi/previewtype
const ( // PreviewTypeAppleTV is a preview type for Apple TV. PreviewTypeAppleTV PreviewType = "APPLE_TV" // PreviewTypeDesktop is a preview type for Desktop. PreviewTypeDesktop PreviewType = "DESKTOP" // PreviewTypeiPad105 is a preview type for iPad 10.5". PreviewTypeiPad105 PreviewType = "IPAD_105" // PreviewTypeiPad97 is a preview type for iPad 9.7". PreviewTypeiPad97 PreviewType = "IPAD_97" // PreviewTypeiPadPro129 is a preview type for iPad Pro 12.9". PreviewTypeiPadPro129 PreviewType = "IPAD_PRO_129" // PreviewTypeiPadPro3Gen11 is a preview type for iPad Pro 3rd Gen 11". PreviewTypeiPadPro3Gen11 PreviewType = "IPAD_PRO_3GEN_11" // PreviewTypeiPadPro3Gen129 is a preview type for iPad Pro 3rd Gen 12.9". PreviewTypeiPadPro3Gen129 PreviewType = "IPAD_PRO_3GEN_129" // PreviewTypeiPhone35 is a preview type for iPhone 3.5". PreviewTypeiPhone35 PreviewType = "IPHONE_35" // PreviewTypeiPhone40 is a preview type for iPhone 4". PreviewTypeiPhone40 PreviewType = "IPHONE_40" // PreviewTypeiPhone47 is a preview type for iPhone 4.7". PreviewTypeiPhone47 PreviewType = "IPHONE_47" // PreviewTypeiPhone55 is a preview type for iPhone 5.5". PreviewTypeiPhone55 PreviewType = "IPHONE_55" // PreviewTypeiPhone58 is a preview type for iPhone 5.8". PreviewTypeiPhone58 PreviewType = "IPHONE_58" // PreviewTypeiPhone65 is a preview type for iPhone 6.5". PreviewTypeiPhone65 PreviewType = "IPHONE_65" // PreviewTypeWatchSeries3 is a preview type for Apple Watch Series 3. PreviewTypeWatchSeries3 PreviewType = "WATCH_SERIES_3" // PreviewTypeWatchSeries4 is a preview type for Apple Watch Series 4. PreviewTypeWatchSeries4 PreviewType = "WATCH_SERIES_4" )
type PricingService ¶
type PricingService service
PricingService handles communication with pricing-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/app_prices https://developer.apple.com/documentation/appstoreconnectapi/territories https://developer.apple.com/documentation/appstoreconnectapi/app_price_reference_data
func (*PricingService) GetAppPricePoint ¶
func (s *PricingService) GetAppPricePoint(ctx context.Context, id string, params *GetAppPricePointQuery) (*AppPricePointResponse, *Response, error)
GetAppPricePoint reads the customer prices and your proceeds for a price tier.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_point_information
func (*PricingService) GetAppPriceTier ¶
func (s *PricingService) GetAppPriceTier(ctx context.Context, id string, params *GetAppPriceTierQuery) (*AppPriceTierResponse, *Response, error)
GetAppPriceTier reads available app price tiers.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_tier_information
func (*PricingService) GetPrice ¶
func (s *PricingService) GetPrice(ctx context.Context, id string, params *GetPriceQuery) (*AppPriceResponse, *Response, error)
GetPrice reads current price and scheduled price changes for an app, including price tier and start date.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_price_information
func (*PricingService) GetTerritoryForAppPrice ¶
func (s *PricingService) GetTerritoryForAppPrice(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoryResponse, *Response, error)
GetTerritoryForAppPrice gets the territory in which a specific price point applies.
func (*PricingService) GetTerritoryForAppPricePoint ¶
func (s *PricingService) GetTerritoryForAppPricePoint(ctx context.Context, id string, params *GetTerritoryForAppPricePointQuery) (*TerritoryResponse, *Response, error)
GetTerritoryForAppPricePoint gets the territory in which a specific price point applies.
func (*PricingService) ListAppPricePoints ¶
func (s *PricingService) ListAppPricePoints(ctx context.Context, params *ListAppPricePointsQuery) (*AppPricePointsResponse, *Response, error)
ListAppPricePoints lists all app price points available in App Store Connect, including related price tier, developer proceeds, and territory.
https://developer.apple.com/documentation/appstoreconnectapi/list_app_price_points
func (*PricingService) ListAppPriceTiers ¶
func (s *PricingService) ListAppPriceTiers(ctx context.Context, params *ListAppPriceTiersQuery) (*AppPriceTiersResponse, *Response, error)
ListAppPriceTiers lists all app price tiers available in App Store Connect, including related price points.
https://developer.apple.com/documentation/appstoreconnectapi/list_app_price_tiers
func (*PricingService) ListPricePointsForAppPriceTier ¶
func (s *PricingService) ListPricePointsForAppPriceTier(ctx context.Context, id string, params *ListPricePointsForAppPriceTierQuery) (*AppPricePointsResponse, *Response, error)
ListPricePointsForAppPriceTier lists price points across all App Store territories for a specific price tier.
func (*PricingService) ListPricesForApp ¶
func (s *PricingService) ListPricesForApp(ctx context.Context, id string, params *ListPricesQuery) (*AppPricesResponse, *Response, error)
ListPricesForApp gets current price tier of an app and any future planned price changes.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_prices_for_an_app
func (*PricingService) ListTerritories ¶
func (s *PricingService) ListTerritories(ctx context.Context, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
ListTerritories lists all territories where the App Store operates.
https://developer.apple.com/documentation/appstoreconnectapi/list_territories
func (*PricingService) ListTerritoriesForApp ¶
func (s *PricingService) ListTerritoriesForApp(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
ListTerritoriesForApp gets a list of App Store territories where an app is or will be available.
func (*PricingService) ListTerritoriesForEULA ¶
func (s *PricingService) ListTerritoriesForEULA(ctx context.Context, id string, params *ListTerritoriesQuery) (*TerritoriesResponse, *Response, error)
ListTerritoriesForEULA lists all the App Store territories to which a specific custom app license agreement applies.
type Profile ¶
type Profile struct { Attributes *ProfileAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *ProfileRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
Profile defines model for Profile.
https://developer.apple.com/documentation/appstoreconnectapi/profile
type ProfileAttributes ¶
type ProfileAttributes struct { CreatedDate *DateTime `json:"createdDate,omitempty"` ExpirationDate *DateTime `json:"expirationDate,omitempty"` Name *string `json:"name,omitempty"` Platform *BundleIDPlatform `json:"platform,omitempty"` ProfileContent *string `json:"profileContent,omitempty"` ProfileState *string `json:"profileState,omitempty"` ProfileType *string `json:"profileType,omitempty"` UUID *string `json:"uuid,omitempty"` }
ProfileAttributes defines model for Profile.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/profile/attributes
type ProfileRelationships ¶
type ProfileRelationships struct { BundleID *Relationship `json:"bundleId,omitempty"` Certificates *PagedRelationship `json:"certificates,omitempty"` Devices *PagedRelationship `json:"devices,omitempty"` }
ProfileRelationships defines model for Profile.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/profile/relationships
type ProfileResponse ¶
type ProfileResponse struct { Data Profile `json:"data"` Included []ProfileResponseIncluded `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
ProfileResponse defines model for ProfileResponse.
https://developer.apple.com/documentation/appstoreconnectapi/profileresponse
type ProfileResponseIncluded ¶
type ProfileResponseIncluded included
ProfileResponseIncluded is a heterogenous wrapper for the possible types that can be returned in a ProfileResponse or ProfilesResponse.
func (*ProfileResponseIncluded) BundleID ¶
func (i *ProfileResponseIncluded) BundleID() *BundleID
BundleID returns the BundleID stored within, if one is present.
func (*ProfileResponseIncluded) Certificate ¶
func (i *ProfileResponseIncluded) Certificate() *Certificate
Certificate returns the Certificate stored within, if one is present.
func (*ProfileResponseIncluded) Device ¶
func (i *ProfileResponseIncluded) Device() *Device
Device returns the Device stored within, if one is present.
func (*ProfileResponseIncluded) UnmarshalJSON ¶
func (i *ProfileResponseIncluded) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for the heterogenous data stored in ProfileResponseIncluded.
type ProfilesResponse ¶
type ProfilesResponse struct { Data []Profile `json:"data"` Included []ProfileResponseIncluded `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
ProfilesResponse defines model for ProfilesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/profilesresponse
type ProvisioningService ¶
type ProvisioningService service
ProvisioningService handles communication with provisioning-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/bundle_ids https://developer.apple.com/documentation/appstoreconnectapi/bundle_id_capabilities https://developer.apple.com/documentation/appstoreconnectapi/certificates https://developer.apple.com/documentation/appstoreconnectapi/devices https://developer.apple.com/documentation/appstoreconnectapi/profiles
func (*ProvisioningService) CreateBundleID ¶
func (s *ProvisioningService) CreateBundleID(ctx context.Context, attributes BundleIDCreateRequestAttributes) (*BundleIDResponse, *Response, error)
CreateBundleID registers a new bundle ID for app development.
https://developer.apple.com/documentation/appstoreconnectapi/register_a_new_bundle_id
func (*ProvisioningService) CreateCertificate ¶
func (s *ProvisioningService) CreateCertificate(ctx context.Context, certificateType CertificateType, csrContent io.Reader) (*CertificateResponse, *Response, error)
CreateCertificate creates a new certificate using a certificate signing request.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_certificate
func (*ProvisioningService) CreateDevice ¶
func (s *ProvisioningService) CreateDevice(ctx context.Context, name string, udid string, platform BundleIDPlatform) (*DeviceResponse, *Response, error)
CreateDevice registers a new device for app development.
https://developer.apple.com/documentation/appstoreconnectapi/register_a_new_device
func (*ProvisioningService) CreateProfile ¶
func (s *ProvisioningService) CreateProfile(ctx context.Context, name string, profileType string, bundleIDRelationship string, certificateIDs []string, deviceIDs []string) (*ProfileResponse, *Response, error)
CreateProfile creates a new provisioning profile.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_profile
func (*ProvisioningService) DeleteBundleID ¶
DeleteBundleID deletes a bundle ID that is used for app development.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_bundle_id
func (*ProvisioningService) DeleteProfile ¶
DeleteProfile deletes a provisioning profile that is used for app development or distribution.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_profile
func (*ProvisioningService) DisableCapability ¶
DisableCapability disables a capability for a bundle ID.
https://developer.apple.com/documentation/appstoreconnectapi/disable_a_capability
func (*ProvisioningService) EnableCapability ¶
func (s *ProvisioningService) EnableCapability(ctx context.Context, capabilityType CapabilityType, capabilitySettings []CapabilitySetting, bundleIDRelationship string) (*BundleIDCapabilityResponse, *Response, error)
EnableCapability enables a capability for a bundle ID.
https://developer.apple.com/documentation/appstoreconnectapi/enable_a_capability
func (*ProvisioningService) GetAppForBundleID ¶
func (s *ProvisioningService) GetAppForBundleID(ctx context.Context, id string, params *GetAppForBundleIDQuery) (*AppResponse, *Response, error)
GetAppForBundleID gets app information for a specific bundle identifier.
https://developer.apple.com/documentation/appstoreconnectapi/read_the_app_information_of_a_bundle_id
func (*ProvisioningService) GetBundleID ¶
func (s *ProvisioningService) GetBundleID(ctx context.Context, id string, params *GetBundleIDQuery) (*BundleIDResponse, *Response, error)
GetBundleID gets information about a specific bundle ID.
https://developer.apple.com/documentation/appstoreconnectapi/read_bundle_id_information
func (*ProvisioningService) GetBundleIDForProfile ¶
func (s *ProvisioningService) GetBundleIDForProfile(ctx context.Context, id string, params *GetBundleIDForProfileQuery) (*BundleIDResponse, *Response, error)
GetBundleIDForProfile gets the bundle ID information for a specific provisioning profile.
https://developer.apple.com/documentation/appstoreconnectapi/read_the_bundle_id_in_a_profile
func (*ProvisioningService) GetCertificate ¶
func (s *ProvisioningService) GetCertificate(ctx context.Context, id string, params *GetCertificateQuery) (*CertificateResponse, *Response, error)
GetCertificate gets information about a certificate and download the certificate data.
func (*ProvisioningService) GetDevice ¶
func (s *ProvisioningService) GetDevice(ctx context.Context, id string, params *GetDeviceQuery) (*DeviceResponse, *Response, error)
GetDevice gets information for a specific device registered to your team.
https://developer.apple.com/documentation/appstoreconnectapi/read_device_information
func (*ProvisioningService) GetProfile ¶
func (s *ProvisioningService) GetProfile(ctx context.Context, id string, params *GetProfileQuery) (*ProfileResponse, *Response, error)
GetProfile gets information for a specific provisioning profile and download its data.
https://developer.apple.com/documentation/appstoreconnectapi/read_and_download_profile_information
func (*ProvisioningService) ListBundleIDs ¶
func (s *ProvisioningService) ListBundleIDs(ctx context.Context, params *ListBundleIDsQuery) (*BundleIDsResponse, *Response, error)
ListBundleIDs finds and lists bundle IDs that are registered to your team.
https://developer.apple.com/documentation/appstoreconnectapi/list_bundle_ids
func (*ProvisioningService) ListCapabilitiesForBundleID ¶
func (s *ProvisioningService) ListCapabilitiesForBundleID(ctx context.Context, id string, params *ListCapabilitiesForBundleIDQuery) (*BundleIDCapabilitiesResponse, *Response, error)
ListCapabilitiesForBundleID gets a list of all capabilities for a specific bundle ID.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_capabilities_for_a_bundle_id
func (*ProvisioningService) ListCertificates ¶
func (s *ProvisioningService) ListCertificates(ctx context.Context, params *ListCertificatesQuery) (*CertificatesResponse, *Response, error)
ListCertificates finds and lists certificates and download their data.
https://developer.apple.com/documentation/appstoreconnectapi/list_and_download_certificates
func (*ProvisioningService) ListCertificatesInProfile ¶
func (s *ProvisioningService) ListCertificatesInProfile(ctx context.Context, id string, params *ListCertificatesForProfileQuery) (*CertificatesResponse, *Response, error)
ListCertificatesInProfile gets a list of all certificates and their data for a specific provisioning profile.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_certificates_in_a_profile
func (*ProvisioningService) ListDevices ¶
func (s *ProvisioningService) ListDevices(ctx context.Context, params *ListDevicesQuery) (*DevicesResponse, *Response, error)
ListDevices finds and lists devices registered to your team.
https://developer.apple.com/documentation/appstoreconnectapi/list_devices
func (*ProvisioningService) ListDevicesInProfile ¶
func (s *ProvisioningService) ListDevicesInProfile(ctx context.Context, id string, params *ListDevicesInProfileQuery) (*DevicesResponse, *Response, error)
ListDevicesInProfile gets a list of all devices for a specific provisioning profile.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_devices_in_a_profile
func (*ProvisioningService) ListProfiles ¶
func (s *ProvisioningService) ListProfiles(ctx context.Context, params *ListProfilesQuery) (*ProfilesResponse, *Response, error)
ListProfiles finds and list provisioning profiles and download their data.
https://developer.apple.com/documentation/appstoreconnectapi/list_and_download_profiles
func (*ProvisioningService) ListProfilesForBundleID ¶
func (s *ProvisioningService) ListProfilesForBundleID(ctx context.Context, id string, params *ListProfilesForBundleIDQuery) (*ProfilesResponse, *Response, error)
ListProfilesForBundleID gets a list of all profiles for a specific bundle ID.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_profiles_for_a_bundle_id
func (*ProvisioningService) RevokeCertificate ¶
RevokeCertificate revokes a lost, stolen, compromised, or expiring signing certificate.
https://developer.apple.com/documentation/appstoreconnectapi/revoke_a_certificate
func (*ProvisioningService) UpdateBundleID ¶
func (s *ProvisioningService) UpdateBundleID(ctx context.Context, id string, name *string) (*BundleIDResponse, *Response, error)
UpdateBundleID updates a specific bundle ID’s name.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_bundle_id
func (*ProvisioningService) UpdateCapability ¶
func (s *ProvisioningService) UpdateCapability(ctx context.Context, id string, capabilityType *CapabilityType, settings []CapabilitySetting) (*BundleIDCapabilityResponse, *Response, error)
UpdateCapability updates the configuration of a specific capability.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_capability_configuration
func (*ProvisioningService) UpdateDevice ¶
func (s *ProvisioningService) UpdateDevice(ctx context.Context, id string, name *string, status *string) (*DeviceResponse, *Response, error)
UpdateDevice updates the name or status of a specific device.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_registered_device
type PublishingService ¶
type PublishingService service
PublishingService handles communication with publishing-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/app_store_version_phased_releases https://developer.apple.com/documentation/appstoreconnectapi/app_pre-orders
func (*PublishingService) CreatePhasedRelease ¶
func (s *PublishingService) CreatePhasedRelease(ctx context.Context, phasedReleaseState *PhasedReleaseState, appStoreVersionID string) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
CreatePhasedRelease enables phased release for an App Store version.
func (*PublishingService) CreatePreOrder ¶
func (s *PublishingService) CreatePreOrder(ctx context.Context, appReleaseDate *Date, appID string) (*AppPreOrderResponse, *Response, error)
CreatePreOrder turns on pre-order and set the expected app release date.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_pre-order
func (*PublishingService) DeletePhasedRelease ¶
DeletePhasedRelease cancels a planned phased release that has not been started.
func (*PublishingService) DeletePreOrder ¶
DeletePreOrder cancels a planned app pre-order that has not begun.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_pre-order
func (*PublishingService) GetAppStoreVersionPhasedReleaseForAppStoreVersion ¶
func (s *PublishingService) GetAppStoreVersionPhasedReleaseForAppStoreVersion(ctx context.Context, id string, params *GetAppStoreVersionPhasedReleaseForAppStoreVersionQuery) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
GetAppStoreVersionPhasedReleaseForAppStoreVersion reads the phased release status and configuration for a version with phased release enabled.
func (*PublishingService) GetPreOrder ¶
func (s *PublishingService) GetPreOrder(ctx context.Context, id string, params *GetPreOrderQuery) (*AppPreOrderResponse, *Response, error)
GetPreOrder gets information about your app's pre-order configuration.
https://developer.apple.com/documentation/appstoreconnectapi/read_app_pre-order_information
func (*PublishingService) GetPreOrderForApp ¶
func (s *PublishingService) GetPreOrderForApp(ctx context.Context, id string, params *GetPreOrderForAppQuery) (*AppPreOrderResponse, *Response, error)
GetPreOrderForApp gets available date and release date of an app that is available for pre-order.
func (*PublishingService) UpdatePhasedRelease ¶
func (s *PublishingService) UpdatePhasedRelease(ctx context.Context, id string, state *PhasedReleaseState) (*AppStoreVersionPhasedReleaseResponse, *Response, error)
UpdatePhasedRelease pauses or resumes a phased release, or immediately release an app.
func (*PublishingService) UpdatePreOrder ¶
func (s *PublishingService) UpdatePreOrder(ctx context.Context, id string, appReleaseDate *Date) (*AppPreOrderResponse, *Response, error)
UpdatePreOrder updates the release date for your app pre-order.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_pre-order
type Rate ¶
type Rate struct { // The number of requests per hour the client is currently limited to. Limit int `json:"limit"` // The number of remaining requests the client can make this hour. Remaining int `json:"remaining"` }
Rate represents the rate limit for the current client.
https://developer.apple.com/documentation/appstoreconnectapi/identifying_rate_limits
type Reference ¶
Reference is a wrapper type for a URL that contains a cursor parameter.
func (Reference) MarshalJSON ¶
MarshalJSON marshals the Reference into a JSON fragment.
func (*Reference) UnmarshalJSON ¶
UnmarshalJSON unmarshals the JSON fragment into a Reference.
type Relationship ¶
type Relationship struct { Data *RelationshipData `json:"data,omitempty"` Links *RelationshipLinks `json:"links,omitempty"` }
Relationship contains data about a related resources as well as API references that can be followed.
type RelationshipData ¶
RelationshipData contains data on the given relationship.
type RelationshipLinks ¶
type RelationshipLinks struct { Related *Reference `json:"related,omitempty"` Self *Reference `json:"self,omitempty"` }
RelationshipLinks contains links on the given relationship.
type ReportingService ¶
type ReportingService service
ReportingService handles communication with reporting-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/sales_and_finance_reports https://developer.apple.com/documentation/appstoreconnectapi/power_and_performance_metrics_and_logs
func (*ReportingService) DownloadFinanceReports ¶
func (s *ReportingService) DownloadFinanceReports(ctx context.Context, params *DownloadFinanceReportsQuery) (io.Reader, *Response, error)
DownloadFinanceReports downloads finance reports filtered by your specified criteria.
https://developer.apple.com/documentation/appstoreconnectapi/download_finance_reports
func (*ReportingService) DownloadSalesAndTrendsReports ¶
func (s *ReportingService) DownloadSalesAndTrendsReports(ctx context.Context, params *DownloadSalesAndTrendsReportsQuery) (io.Reader, *Response, error)
DownloadSalesAndTrendsReports downloads sales and trends reports filtered by your specified criteria.
https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports
func (*ReportingService) GetLogsForDiagnosticSignature ¶
func (s *ReportingService) GetLogsForDiagnosticSignature(ctx context.Context, id string, params *GetLogsForDiagnosticSignatureQuery) (*DiagnosticLogsResponse, *Response, error)
GetLogsForDiagnosticSignature gets the anonymized backtrace logs associated with a specific diagnostic signature.
func (*ReportingService) GetPerfPowerMetricsForApp ¶
func (s *ReportingService) GetPerfPowerMetricsForApp(ctx context.Context, id string, params *GetPerfPowerMetricsQuery) (*PerfPowerMetricsResponse, *Response, error)
GetPerfPowerMetricsForApp gets the performance and power metrics data for the most recent versions of an app.
func (*ReportingService) GetPerfPowerMetricsForBuild ¶
func (s *ReportingService) GetPerfPowerMetricsForBuild(ctx context.Context, id string, params *GetPerfPowerMetricsQuery) (*PerfPowerMetricsResponse, *Response, error)
GetPerfPowerMetricsForBuild gets the performance and power metrics data for a specific build.
func (*ReportingService) ListDiagnosticSignaturesForBuild ¶
func (s *ReportingService) ListDiagnosticSignaturesForBuild(ctx context.Context, id string, params *ListDiagnosticsSignaturesQuery) (*DiagnosticSignaturesResponse, *Response, error)
ListDiagnosticSignaturesForBuild lists the aggregate backtrace signatures captured for a specific build.
type ResourceLinks ¶
type ResourceLinks struct {
Self Reference `json:"self"`
}
ResourceLinks defines model for ResourceLinks.
type Response ¶
Response is a App Store Connect API response. This wraps the standard http.Response returned from Apple and provides convenient access to things like rate limit.
type RoutingAppCoverage ¶
type RoutingAppCoverage struct { Attributes *RoutingAppCoverageAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *RoutingAppCoverageRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
RoutingAppCoverage defines model for RoutingAppCoverage.
https://developer.apple.com/documentation/appstoreconnectapi/routingappcoverage
type RoutingAppCoverageAttributes ¶
type RoutingAppCoverageAttributes struct { AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"` FileName *string `json:"fileName,omitempty"` FileSize *int64 `json:"fileSize,omitempty"` SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"` UploadOperations []UploadOperation `json:"uploadOperations,omitempty"` }
RoutingAppCoverageAttributes defines model for RoutingAppCoverage.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/routingappcoverage/attributes
type RoutingAppCoverageRelationships ¶
type RoutingAppCoverageRelationships struct {
AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"`
}
RoutingAppCoverageRelationships defines model for RoutingAppCoverage.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/routingappcoverage/relationships
type RoutingAppCoverageResponse ¶
type RoutingAppCoverageResponse struct { Data RoutingAppCoverage `json:"data"` Links DocumentLinks `json:"links"` }
RoutingAppCoverageResponse defines model for RoutingAppCoverageResponse.
https://developer.apple.com/documentation/appstoreconnectapi/routingappcoverageresponse
type ScreenshotDisplayType ¶
type ScreenshotDisplayType string
ScreenshotDisplayType defines model for ScreenshotDisplayType.
https://developer.apple.com/documentation/appstoreconnectapi/screenshotdisplaytype
const ( // ScreenshotDisplayTypeAppAppleTV is a screenshot display type for AppAppleTV. ScreenshotDisplayTypeAppAppleTV ScreenshotDisplayType = "APP_APPLE_TV" // ScreenshotDisplayTypeAppDesktop is a screenshot display type for AppDesktop. ScreenshotDisplayTypeAppDesktop ScreenshotDisplayType = "APP_DESKTOP" // ScreenshotDisplayTypeAppiPad105 is a screenshot display type for AppiPad105. ScreenshotDisplayTypeAppiPad105 ScreenshotDisplayType = "APP_IPAD_105" // ScreenshotDisplayTypeAppiPad97 is a screenshot display type for AppiPad97. ScreenshotDisplayTypeAppiPad97 ScreenshotDisplayType = "APP_IPAD_97" // ScreenshotDisplayTypeAppiPadPro129 is a screenshot display type for AppiPadPro129. ScreenshotDisplayTypeAppiPadPro129 ScreenshotDisplayType = "APP_IPAD_PRO_129" // ScreenshotDisplayTypeAppiPadPro3Gen11 is a screenshot display type for AppiPadPro3Gen11. ScreenshotDisplayTypeAppiPadPro3Gen11 ScreenshotDisplayType = "APP_IPAD_PRO_3GEN_11" // ScreenshotDisplayTypeAppiPadPro3Gen129 is a screenshot display type for AppiPadPro3Gen129. ScreenshotDisplayTypeAppiPadPro3Gen129 ScreenshotDisplayType = "APP_IPAD_PRO_3GEN_129" // ScreenshotDisplayTypeAppiPhone35 is a screenshot display type for AppiPhone35. ScreenshotDisplayTypeAppiPhone35 ScreenshotDisplayType = "APP_IPHONE_35" // ScreenshotDisplayTypeAppiPhone40 is a screenshot display type for AppiPhone40. ScreenshotDisplayTypeAppiPhone40 ScreenshotDisplayType = "APP_IPHONE_40" // ScreenshotDisplayTypeAppiPhone47 is a screenshot display type for AppiPhone47. ScreenshotDisplayTypeAppiPhone47 ScreenshotDisplayType = "APP_IPHONE_47" // ScreenshotDisplayTypeAppiPhone55 is a screenshot display type for AppiPhone55. ScreenshotDisplayTypeAppiPhone55 ScreenshotDisplayType = "APP_IPHONE_55" // ScreenshotDisplayTypeAppiPhone58 is a screenshot display type for AppiPhone58. ScreenshotDisplayTypeAppiPhone58 ScreenshotDisplayType = "APP_IPHONE_58" // ScreenshotDisplayTypeAppiPhone65 is a screenshot display type for AppiPhone65. ScreenshotDisplayTypeAppiPhone65 ScreenshotDisplayType = "APP_IPHONE_65" // ScreenshotDisplayTypeAppWatchSeries3 is a screenshot display type for AppWatchSeries3. ScreenshotDisplayTypeAppWatchSeries3 ScreenshotDisplayType = "APP_WATCH_SERIES_3" // ScreenshotDisplayTypeAppWatchSeries4 is a screenshot display type for AppWatchSeries4. ScreenshotDisplayTypeAppWatchSeries4 ScreenshotDisplayType = "APP_WATCH_SERIES_4" // ScreenshotDisplayTypeiMessageAppIPad105 is a screenshot display type for iMessageAppIPad105. ScreenshotDisplayTypeiMessageAppIPad105 ScreenshotDisplayType = "IMESSAGE_APP_IPAD_105" // ScreenshotDisplayTypeiMessageAppIPad97 is a screenshot display type for iMessageAppIPad97. ScreenshotDisplayTypeiMessageAppIPad97 ScreenshotDisplayType = "IMESSAGE_APP_IPAD_97" // ScreenshotDisplayTypeiMessageAppIPadPro129 is a screenshot display type for iMessageAppIPadPro129. ScreenshotDisplayTypeiMessageAppIPadPro129 ScreenshotDisplayType = "IMESSAGE_APP_IPAD_PRO_129" // ScreenshotDisplayTypeiMessageAppIPadPro3Gen11 is a screenshot display type for iMessageAppIPadPro3Gen11. ScreenshotDisplayTypeiMessageAppIPadPro3Gen11 ScreenshotDisplayType = "IMESSAGE_APP_IPAD_PRO_3GEN_11" // ScreenshotDisplayTypeiMessageAppIPadPro3Gen129 is a screenshot display type for iMessageAppIPadPro3Gen129. ScreenshotDisplayTypeiMessageAppIPadPro3Gen129 ScreenshotDisplayType = "IMESSAGE_APP_IPAD_PRO_3GEN_129" // ScreenshotDisplayTypeiMessageAppIPhone40 is a screenshot display type for iMessageAppIPhone40. ScreenshotDisplayTypeiMessageAppIPhone40 ScreenshotDisplayType = "IMESSAGE_APP_IPHONE_40" // ScreenshotDisplayTypeiMessageAppIPhone47 is a screenshot display type for iMessageAppIPhone47. ScreenshotDisplayTypeiMessageAppIPhone47 ScreenshotDisplayType = "IMESSAGE_APP_IPHONE_47" // ScreenshotDisplayTypeiMessageAppIPhone55 is a screenshot display type for iMessageAppIPhone55. ScreenshotDisplayTypeiMessageAppIPhone55 ScreenshotDisplayType = "IMESSAGE_APP_IPHONE_55" // ScreenshotDisplayTypeiMessageAppIPhone58 is a screenshot display type for iMessageAppIPhone58. ScreenshotDisplayTypeiMessageAppIPhone58 ScreenshotDisplayType = "IMESSAGE_APP_IPHONE_58" // ScreenshotDisplayTypeiMessageAppIPhone65 is a screenshot display type for iMessageAppIPhone65. ScreenshotDisplayTypeiMessageAppIPhone65 ScreenshotDisplayType = "IMESSAGE_APP_IPHONE_65" )
type SubmissionService ¶
type SubmissionService service
SubmissionService handles communication with submission-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/advertising_identifier_idfa_declarations https://developer.apple.com/documentation/appstoreconnectapi/app_store_review_details https://developer.apple.com/documentation/appstoreconnectapi/app_store_review_attachments https://developer.apple.com/documentation/appstoreconnectapi/app_store_version_submissions
func (*SubmissionService) CommitAttachment ¶
func (s *SubmissionService) CommitAttachment(ctx context.Context, id string, uploaded *bool, sourceFileChecksum *string) (*AppStoreReviewAttachmentResponse, *Response, error)
CommitAttachment commits an app screenshot after uploading it to the App Store.
https://developer.apple.com/documentation/appstoreconnectapi/commit_an_app_store_review_attachment
func (*SubmissionService) CreateAttachment ¶
func (s *SubmissionService) CreateAttachment(ctx context.Context, fileName string, fileSize int64, appStoreReviewDetailID string) (*AppStoreReviewAttachmentResponse, *Response, error)
CreateAttachment attaches a document for App Review to an App Store version.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_review_attachment
func (*SubmissionService) CreateIDFADeclaration ¶
func (s *SubmissionService) CreateIDFADeclaration(ctx context.Context, attributes IDFADeclarationCreateRequestAttributes, appStoreVersionID string) (*IDFADeclarationResponse, *Response, error)
CreateIDFADeclaration declares the IDFA usage for an App Store version.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_idfa_declaration
func (*SubmissionService) CreateReviewDetail ¶
func (s *SubmissionService) CreateReviewDetail(ctx context.Context, attributes *AppStoreReviewDetailCreateRequestAttributes, appStoreVersionID string) (*AppStoreReviewDetailResponse, *Response, error)
CreateReviewDetail adds App Store review details to an App Store version, including contact and demo account information.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_review_detail
func (*SubmissionService) CreateSubmission ¶
func (s *SubmissionService) CreateSubmission(ctx context.Context, appStoreVersionID string) (*AppStoreVersionSubmissionResponse, *Response, error)
CreateSubmission submits an App Store version to App Review.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_app_store_version_submission
func (*SubmissionService) DeleteAttachment ¶
DeleteAttachment removes an attachment before you send your app to App Review.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_store_review_attachment
func (*SubmissionService) DeleteIDFADeclaration ¶
func (s *SubmissionService) DeleteIDFADeclaration(ctx context.Context, id string) (*Response, error)
DeleteIDFADeclaration deletes the IDFA declaration that is associated with a version.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_idfa_declaration
func (*SubmissionService) DeleteSubmission ¶
DeleteSubmission removes a version from App Store review.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_app_store_version_submission
func (*SubmissionService) GetAppStoreVersionSubmissionForAppStoreVersion ¶
func (s *SubmissionService) GetAppStoreVersionSubmissionForAppStoreVersion(ctx context.Context, id string, params *GetAppStoreVersionSubmissionForAppStoreVersionQuery) (*AppStoreVersionSubmissionResponse, *Response, error)
GetAppStoreVersionSubmissionForAppStoreVersion reads the App Store Version Submission Information of an App Store Version
func (*SubmissionService) GetAttachment ¶
func (s *SubmissionService) GetAttachment(ctx context.Context, id string, params *GetAttachmentQuery) (*AppStoreReviewAttachmentResponse, *Response, error)
GetAttachment gets information about an App Store review attachment and its upload and processing status.
func (*SubmissionService) GetIDFADeclarationForAppStoreVersion ¶
func (s *SubmissionService) GetIDFADeclarationForAppStoreVersion(ctx context.Context, id string, params *GetIDFADeclarationForAppStoreVersionQuery) (*IDFADeclarationResponse, *Response, error)
GetIDFADeclarationForAppStoreVersion reads your declared Advertising Identifier (IDFA) usage responses.
func (*SubmissionService) GetReviewDetail ¶
func (s *SubmissionService) GetReviewDetail(ctx context.Context, id string, params *GetReviewDetailQuery) (*AppStoreReviewDetailResponse, *Response, error)
GetReviewDetail gets App Review details you provided, including contact information, demo account, and notes.
func (*SubmissionService) GetReviewDetailsForAppStoreVersion ¶
func (s *SubmissionService) GetReviewDetailsForAppStoreVersion(ctx context.Context, id string, params *GetAppStoreReviewDetailsForAppStoreVersionQuery) (*AppStoreReviewDetailResponse, *Response, error)
GetReviewDetailsForAppStoreVersion gets the details you provide to App Review so they can test your app.
func (*SubmissionService) ListAttachmentsForReviewDetail ¶
func (s *SubmissionService) ListAttachmentsForReviewDetail(ctx context.Context, id string, params *ListAttachmentQuery) (*AppStoreReviewAttachmentsResponse, *Response, error)
ListAttachmentsForReviewDetail lists all the App Store review attachments you include with a version when you submit it for App Review.
func (*SubmissionService) UpdateIDFADeclaration ¶
func (s *SubmissionService) UpdateIDFADeclaration(ctx context.Context, id string, attributes *IDFADeclarationUpdateRequestAttributes) (*IDFADeclarationResponse, *Response, error)
UpdateIDFADeclaration updates your declared IDFA usage.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_idfa_declaration
func (*SubmissionService) UpdateReviewDetail ¶
func (s *SubmissionService) UpdateReviewDetail(ctx context.Context, id string, attributes *AppStoreReviewDetailUpdateRequestAttributes) (*AppStoreReviewDetailResponse, *Response, error)
UpdateReviewDetail update the app store review details, including the contact information, demo account, and notes.
https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_store_review_detail
type Subscription ¶ added in v0.7.1
type Subscription struct { Attributes SubscriptionAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionAttributes ¶ added in v0.7.1
type SubscriptionAttributes struct { FamilySharable bool `json:"familySharable"` Name string `json:"name"` ProductID string `json:"productId"` ReviewNotes string `json:"reviewNote"` SubscriptionPeriod string `json:"subscriptionPeriod"` GroupLevel int `json:"groupLevel"` }
SubscriptionAttributes defines https://developer.apple.com/documentation/appstoreconnectapi/subscriptioncreaterequest/data/attributes
type SubscriptionAvailabilityAttributes ¶ added in v0.7.1
type SubscriptionAvailabilityAttributes struct {
AvailableInNewTerritories bool `json:"availableInNewTerritories"`
}
SubscriptionAvailabilityAttributes defines model for SubscriptionAvailabilityCreateRequest.Data.Attributes
type SubscriptionAvailabilityData ¶ added in v0.7.1
type SubscriptionAvailabilityData struct { Attributes SubscriptionAvailabilityAttributes `json:"attributes"` Relationships struct { AvailableTerritories struct { Data []*RelationshipData `json:"data"` } `json:"availableTerritories"` Subscription struct { Data *RelationshipData `json:"data"` } `json:"subscription"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionAvailabilityData defines model for SubscriptionAvailabilityCreateRequest.Data
type SubscriptionData ¶ added in v0.7.1
type SubscriptionData struct { Attributes SubscriptionAttributes `json:"attributes"` Relationships struct { App struct { Data *RelationshipData `json:"data"` } `json:"group"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionData defines model for SubscriptionGroupCreateRequest.Data.
https://developer.apple.com/documentation/appstoreconnectapi/subscriptioncreaterequest/data
type SubscriptionGroup ¶ added in v0.5.3
type SubscriptionGroup struct { Attributes SubscriptionGroupAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
SubscriptionGroup defines https://developer.apple.com/documentation/appstoreconnectapi/subscriptiongroup
type SubscriptionGroupAttributes ¶ added in v0.5.3
type SubscriptionGroupAttributes struct {
ReferenceName string `json:"referenceName"`
}
SubscriptionGroupAttributes defines https://developer.apple.com/documentation/appstoreconnectapi/subscriptiongroup/attributes
type SubscriptionGroupData ¶ added in v0.5.3
type SubscriptionGroupData struct { Attributes SubscriptionGroupAttributes `json:"attributes"` Relationships struct { App struct { Data *RelationshipData `json:"data"` } `json:"app"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionGroupData defines model for SubscriptionGroupCreateRequest.Data.
https://developer.apple.com/documentation/appstoreconnectapi/subscriptiongroupcreaterequest/data
type SubscriptionGroupLocalization ¶ added in v0.7.1
type SubscriptionGroupLocalization struct { Attributes SubscriptionGroupLocalizationAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionGroupLocalizationAttributes ¶ added in v0.7.1
type SubscriptionGroupLocalizationData ¶ added in v0.7.1
type SubscriptionGroupLocalizationData struct { Attributes SubscriptionGroupLocalizationAttributes `json:"attributes"` Relationships struct { App struct { Data *RelationshipData `json:"data"` } `json:"subscriptionGroup"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionGroupLocalizationData defines model for SubscriptionGroupLocalizationCreateRequest.Data
type SubscriptionGroupLocalizationResponse ¶ added in v0.7.1
type SubscriptionGroupLocalizationResponse struct { Data SubscriptionGroupLocalization `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionGroupResponse ¶ added in v0.5.3
type SubscriptionGroupResponse struct { Data SubscriptionGroup `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionGroupsResponse ¶ added in v0.7.1
type SubscriptionGroupsResponse struct { Data []SubscriptionGroup `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionLocalization ¶ added in v0.7.1
type SubscriptionLocalization struct { Attributes SubscriptionLocalizationAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionLocalizationAttributes ¶ added in v0.7.1
type SubscriptionLocalizationData ¶ added in v0.7.1
type SubscriptionLocalizationData struct { Attributes SubscriptionLocalizationAttributes `json:"attributes"` Relationships struct { App struct { Data *RelationshipData `json:"data"` } `json:"subscription"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionLocalizationData defines model for SubscriptionLocalizationCreateRequest.Data
type SubscriptionLocalizationResponse ¶ added in v0.7.1
type SubscriptionLocalizationResponse struct { Data SubscriptionLocalization `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionPeriod ¶ added in v0.7.1
type SubscriptionPeriod string
const ( SubscriptionPeriodP1W SubscriptionPeriod = "ONE_WEEK" SubscriptionPeriodP1M SubscriptionPeriod = "ONE_MONTH" SubscriptionPeriodP2M SubscriptionPeriod = "TWO_MONTHS" SubscriptionPeriodP3M SubscriptionPeriod = "THREE_MONTHS" SubscriptionPeriodP6M SubscriptionPeriod = "SIX_MONTHS" SubscriptionPeriodP1Y SubscriptionPeriod = "ONE_YEAR" )
type SubscriptionPrice ¶ added in v0.7.1
type SubscriptionPrice struct { Attributes SubscriptionPriceAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionPriceAttributes ¶ added in v0.7.1
type SubscriptionPriceAttributes struct { }
type SubscriptionPriceCreate ¶ added in v0.7.1
type SubscriptionPriceCreate struct { Attributes SubscriptionPriceCreateAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionPriceCreateAttributes ¶ added in v0.7.1
type SubscriptionPriceCreateData ¶ added in v0.7.1
type SubscriptionPriceCreateData struct { Attributes SubscriptionPriceCreateAttributes `json:"attributes"` ID string `json:"id"` Relationships struct { Subscription struct { Data *RelationshipData `json:"data"` } `json:"subscription"` SubscriptionPricePoint struct { Data *RelationshipData `json:"data"` } `json:"subscriptionPricePoint"` Territory struct { Data *RelationshipData `json:"data"` } `json:"territory"` } `json:"relationships"` Type string `json:"type"` }
SubscriptionPriceCreateData defines model for SubscriptionPriceCreateRequest.Data
https://developer.apple.com/documentation/appstoreconnectapi/subscriptionpricecreaterequest/data
type SubscriptionPriceCreateRequest ¶ added in v0.7.1
type SubscriptionPriceCreateRequest struct { Relationships SubscriptionPriceUpdateRelationships `json:"relationships"` Type string `json:"type"` ID string `json:"id"` }
type SubscriptionPriceCreateResponse ¶ added in v0.7.1
type SubscriptionPriceCreateResponse struct { Data SubscriptionPriceCreate `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionPriceInlineCreate ¶ added in v0.7.1
type SubscriptionPriceInlineCreate struct { Attributes SubscriptionPriceInlineCreateAttributes `json:"attributes"` ID string `json:"id"` Relationships SubscriptionPriceInlineCreateRelationships `json:"relationships"` Type string `json:"type"` }
type SubscriptionPriceInlineCreateAttributes ¶ added in v0.7.1
type SubscriptionPriceInlineCreateAttributes struct { }
type SubscriptionPriceInlineCreateRelationships ¶ added in v0.7.1
type SubscriptionPriceInlineCreateRelationships struct { InAppPurchasePricePoint struct { Data *RelationshipData `json:"data"` } `json:"subscriptionPricePoint"` }
type SubscriptionPricePoint ¶ added in v0.7.1
type SubscriptionPricePoint struct { Attributes SubscriptionPricePointAttributes `json:"attributes"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships any `json:"relationships"` Type string `json:"type"` }
type SubscriptionPricePointAttributes ¶ added in v0.7.1
type SubscriptionPricePointsResponse ¶ added in v0.7.1
type SubscriptionPricePointsResponse struct { Data []SubscriptionPricePoint `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionPriceResponse ¶ added in v0.7.1
type SubscriptionPriceResponse struct { Data []SubscriptionPrice `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionPriceScheduleCreateRequestRelationships ¶ added in v0.7.1
type SubscriptionPriceScheduleCreateRequestRelationships struct { Prices struct { Data []*RelationshipData `json:"data"` } `json:"prices"` }
type SubscriptionPriceUpdateRelationships ¶ added in v0.7.1
type SubscriptionPriceUpdateRelationships struct { Prices struct { Data []*RelationshipData `json:"data"` } `json:"prices"` }
type SubscriptionResponse ¶ added in v0.7.1
type SubscriptionResponse struct { Data Subscription `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionUpdateAttributes ¶ added in v0.7.1
type SubscriptionUpdateRelationships ¶ added in v0.7.1
type SubscriptionUpdateRelationships struct { IntroductoryOffers struct { Data []*RelationshipData `json:"data"` } `json:"introductoryOffers"` Prices struct { Data []*RelationshipData `json:"data"` } `json:"prices"` PromotionalOffers struct { Data []*RelationshipData `json:"data"` } `json:"promotionalOffers"` }
type SubscriptionUpdateRequestData ¶ added in v0.7.1
type SubscriptionUpdateRequestData struct { Attributes SubscriptionUpdateAttributes `json:"attributes"` ID string `json:"id"` Relationships SubscriptionUpdateRelationships `json:"relationships"` Type string `json:"type"` }
type SubscriptionsResponse ¶ added in v0.7.1
type SubscriptionsResponse struct { Data []Subscription `json:"data"` Links DocumentLinks `json:"links"` }
type SubscriptionsService ¶ added in v0.5.3
type SubscriptionsService service
SubscriptionsService handles communication with methods related to Auto-Renewable Subscriptions
https://developer.apple.com/documentation/appstoreconnectapi/app_store/auto-renewable_subscriptions
func (*SubscriptionsService) CreateSubscription ¶ added in v0.7.1
func (s *SubscriptionsService) CreateSubscription(ctx context.Context, name, productID, groupID, reviewNotes string, period SubscriptionPeriod) (*SubscriptionResponse, *Response, error)
CreateSubscription creates a subscription for an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_an_auto-renewable_subscription
func (*SubscriptionsService) CreateSubscriptionGroup ¶ added in v0.5.3
func (s *SubscriptionsService) CreateSubscriptionGroup(ctx context.Context, appID, groupName string) (*SubscriptionGroupResponse, *Response, error)
CreateSubscriptionGroup creates a subscription group for an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_group
func (*SubscriptionsService) CreateSubscriptionGroupLocalization ¶ added in v0.7.1
func (s *SubscriptionsService) CreateSubscriptionGroupLocalization(ctx context.Context, groupID, locale, appName, groupName string) (*SubscriptionGroupLocalizationResponse, *Response, error)
CreateSubscriptionGroupLocalization creates a subscription group localization.
func (*SubscriptionsService) CreateSubscriptionLocalization ¶ added in v0.7.1
func (s *SubscriptionsService) CreateSubscriptionLocalization(ctx context.Context, subscriptionID, locale, name, description string) (*SubscriptionLocalizationResponse, *Response, error)
CreateSubscriptionLocalization creates a subscription localization.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_localization
func (*SubscriptionsService) CreateSubscriptionPriceChange ¶ added in v0.7.1
func (s *SubscriptionsService) CreateSubscriptionPriceChange(ctx context.Context, subscriptionID, priceID, regionID string, preserveCurrentPrice bool) (*SubscriptionPriceCreateResponse, *Response, error)
CreateSubscriptionPriceChange schedules a subscription price change for a specific territory.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_price_change Deprecated: use CreateSubscriptionPriceChange instead
func (*SubscriptionsService) DeleteSubscription ¶ added in v0.7.1
func (s *SubscriptionsService) DeleteSubscription(ctx context.Context, subscriptionID string) (*Response, error)
DeleteSubscription deletes a subscription for an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_an_auto-renewable_subscription
func (*SubscriptionsService) DeleteSubscriptionGroup ¶ added in v0.7.1
func (s *SubscriptionsService) DeleteSubscriptionGroup(ctx context.Context, groupID string) (*Response, error)
DeleteSubscriptionGroup deletes a subscription group for an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_subscription_group
func (*SubscriptionsService) DeleteSubscriptionGroupLocalization ¶ added in v0.7.1
func (s *SubscriptionsService) DeleteSubscriptionGroupLocalization(ctx context.Context, localizationID string) (*Response, error)
DeleteSubscriptionGroupLocalization deletes a subscription group localization.
func (*SubscriptionsService) DeleteSubscriptionLocalization ¶ added in v0.7.1
func (s *SubscriptionsService) DeleteSubscriptionLocalization(ctx context.Context, subscriptionLocalizationID string) (*Response, error)
DeleteSubscriptionLocalization deletes a subscription localization.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_subscription_localization
func (*SubscriptionsService) GetSubscription ¶ added in v0.7.1
func (s *SubscriptionsService) GetSubscription(ctx context.Context, id string) (*SubscriptionResponse, *Response, error)
GetSubscription returns the subscription for a given subscription ID.
https://developer.apple.com/documentation/appstoreconnectapi/read_subscription_information
func (*SubscriptionsService) GetSubscriptionGroups ¶ added in v0.7.1
func (s *SubscriptionsService) GetSubscriptionGroups(ctx context.Context, appID, groupName string) (*SubscriptionGroupsResponse, *Response, error)
GetSubscriptionGroups gets a subscription group for an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_group
func (*SubscriptionsService) GetSubscriptionPrice ¶ added in v0.7.1
func (s *SubscriptionsService) GetSubscriptionPrice(ctx context.Context, id, territory string) (*SubscriptionPriceResponse, *Response, error)
GetSubscriptionPrice returns a list of prices for an auto-renewable subscription, by territory.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_prices_for_a_subscription
func (*SubscriptionsService) GetSubscriptionPricePoints ¶ added in v0.7.1
func (s *SubscriptionsService) GetSubscriptionPricePoints(ctx context.Context, id, territory string) (*SubscriptionPricePointsResponse, *Response, error)
GetSubscriptionPricePoints returns a list of approved prices apple will allow you to set for a subscription.
func (*SubscriptionsService) ListSubscriptionsByGroup ¶ added in v0.7.1
func (s *SubscriptionsService) ListSubscriptionsByGroup(ctx context.Context, id string) (*SubscriptionsResponse, *Response, error)
ListSubscriptionsByGroup returns a list of subscriptions for a given subscription group ID.
func (*SubscriptionsService) ReserveSubscriptionReviewScreenshot ¶ added in v0.7.2
func (s *SubscriptionsService) ReserveSubscriptionReviewScreenshot(ctx context.Context, id string, file fs.File) (*Response, error)
ReserveSubscriptionReviewScreenshot is disgusting clearly reverse engineered code below that uses map[string]interface{} instead of structs
func (*SubscriptionsService) SetSubscriptionAvailability ¶ added in v0.7.1
func (s *SubscriptionsService) SetSubscriptionAvailability(ctx context.Context, subscriptionID string, regions []*RelationshipData) (*Response, error)
SetSubscriptionAvailability sets the availability of a subscription for specified territories.
func (*SubscriptionsService) SetSubscriptionPrices ¶ added in v0.7.1
func (*SubscriptionsService) SubmitSubscriptionForReview ¶ added in v0.7.3
func (s *SubscriptionsService) SubmitSubscriptionForReview(ctx context.Context, id string) (*Response, error)
submit subscription for review
type TerritoriesResponse ¶
type TerritoriesResponse struct { Data []Territory `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
TerritoriesResponse defines model for TerritoriesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/territoriesresponse
type Territory ¶
type Territory struct { Attributes *TerritoryAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Type string `json:"type"` }
Territory defines model for Territory.
https://developer.apple.com/documentation/appstoreconnectapi/territory
type TerritoryAttributes ¶
type TerritoryAttributes struct {
Currency *string `json:"currency,omitempty"`
}
TerritoryAttributes defines model for Territory.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/territory/attributes
type TerritoryResponse ¶
type TerritoryResponse struct { Data Territory `json:"data"` Links DocumentLinks `json:"links"` }
TerritoryResponse defines model for TerritoryResponse.
https://developer.apple.com/documentation/appstoreconnectapi/territoryresponse
type TestflightService ¶
type TestflightService service
TestflightService handles communication with TestFlight-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/prerelease_versions_and_beta_testers
func (*TestflightService) AddBetaTesterToBetaGroups ¶
func (s *TestflightService) AddBetaTesterToBetaGroups(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
AddBetaTesterToBetaGroups adds one or more beta testers to a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/add_a_beta_tester_to_beta_groups
func (*TestflightService) AddBetaTestersToBetaGroup ¶
func (s *TestflightService) AddBetaTestersToBetaGroup(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
AddBetaTestersToBetaGroup adds a specific beta tester to one or more beta groups for beta testing.
https://developer.apple.com/documentation/appstoreconnectapi/add_beta_testers_to_a_beta_group
func (*TestflightService) AddBuildsToBetaGroup ¶
func (s *TestflightService) AddBuildsToBetaGroup(ctx context.Context, id string, buildIDs []string) (*Response, error)
AddBuildsToBetaGroup associates builds with a beta group to enable the group to test the builds.
https://developer.apple.com/documentation/appstoreconnectapi/add_builds_to_a_beta_group
func (*TestflightService) AssignSingleBetaTesterToBuilds ¶
func (s *TestflightService) AssignSingleBetaTesterToBuilds(ctx context.Context, id string, buildIDs []string) (*Response, error)
AssignSingleBetaTesterToBuilds individually assign a beta tester to a build.
func (*TestflightService) CreateAvailableBuildNotification ¶
func (s *TestflightService) CreateAvailableBuildNotification(ctx context.Context, buildID string) (*BuildBetaNotificationResponse, *Response, error)
CreateAvailableBuildNotification sends a notification to all assigned beta testers that a build is available for testing.
https://developer.apple.com/documentation/appstoreconnectapi/send_notification_of_an_available_build
func (*TestflightService) CreateBetaAppLocalization ¶
func (s *TestflightService) CreateBetaAppLocalization(ctx context.Context, attributes BetaAppLocalizationCreateRequestAttributes, appID string) (*BetaAppLocalizationResponse, *Response, error)
CreateBetaAppLocalization creates localized descriptive information for an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_beta_app_localization
func (*TestflightService) CreateBetaAppReviewSubmission ¶
func (s *TestflightService) CreateBetaAppReviewSubmission(ctx context.Context, buildID string) (*BetaAppReviewSubmissionResponse, *Response, error)
CreateBetaAppReviewSubmission submits an app for beta app review to allow external testing.
https://developer.apple.com/documentation/appstoreconnectapi/submit_an_app_for_beta_review
func (*TestflightService) CreateBetaBuildLocalization ¶
func (s *TestflightService) CreateBetaBuildLocalization(ctx context.Context, locale string, whatsNew *string, buildID string) (*BetaBuildLocalizationResponse, *Response, error)
CreateBetaBuildLocalization creates localized descriptive information for an build.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_beta_build_localization
func (*TestflightService) CreateBetaGroup ¶
func (s *TestflightService) CreateBetaGroup(ctx context.Context, attributes BetaGroupCreateRequestAttributes, appID string, betaTesterIDs []string, buildIDs []string) (*BetaGroupResponse, *Response, error)
CreateBetaGroup creates a beta group associated with an app, optionally enabling TestFlight public links.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_beta_group
func (*TestflightService) CreateBetaTester ¶
func (s *TestflightService) CreateBetaTester(ctx context.Context, attributes BetaTesterCreateRequestAttributes, betaGroupIDs []string, buildIDs []string) (*BetaTesterResponse, *Response, error)
CreateBetaTester creates a beta tester assigned to a group, a build, or an app.
https://developer.apple.com/documentation/appstoreconnectapi/create_a_beta_tester
func (*TestflightService) CreateBetaTesterInvitation ¶
func (s *TestflightService) CreateBetaTesterInvitation(ctx context.Context, appID string, betaTesterID string) (*BetaTesterInvitationResponse, *Response, error)
CreateBetaTesterInvitation sends or resends an invitation to a beta tester to test a specified app.
https://developer.apple.com/documentation/appstoreconnectapi/send_an_invitation_to_a_beta_tester
func (*TestflightService) DeleteBetaAppLocalization ¶
func (s *TestflightService) DeleteBetaAppLocalization(ctx context.Context, id string) (*Response, error)
DeleteBetaAppLocalization deletes a beta app localization associated with an app.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_beta_app_localization
func (*TestflightService) DeleteBetaBuildLocalization ¶
func (s *TestflightService) DeleteBetaBuildLocalization(ctx context.Context, id string) (*Response, error)
DeleteBetaBuildLocalization deletes a beta build localization associated with an build.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_beta_build_localization
func (*TestflightService) DeleteBetaGroup ¶
DeleteBetaGroup deletes a beta group and remove beta tester access to associated builds.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_beta_group
func (*TestflightService) DeleteBetaTester ¶
DeleteBetaTester removes a beta tester's ability to test all apps.
https://developer.apple.com/documentation/appstoreconnectapi/delete_a_beta_tester
func (*TestflightService) GetAppForBetaAppLocalization ¶
func (s *TestflightService) GetAppForBetaAppLocalization(ctx context.Context, id string, params *GetAppForBetaAppLocalizationQuery) (*AppResponse, *Response, error)
GetAppForBetaAppLocalization gets the app information associated with a specific beta app localization.
func (*TestflightService) GetAppForBetaAppReviewDetail ¶
func (s *TestflightService) GetAppForBetaAppReviewDetail(ctx context.Context, id string, params *GetAppForBetaAppReviewDetailQuery) (*AppResponse, *Response, error)
GetAppForBetaAppReviewDetail gets the app information for a specific beta app review details resource.
func (*TestflightService) GetAppForBetaGroup ¶
func (s *TestflightService) GetAppForBetaGroup(ctx context.Context, id string, params *GetAppForBetaGroupQuery) (*AppResponse, *Response, error)
GetAppForBetaGroup gets the app information for a specific beta group.
func (*TestflightService) GetAppForBetaLicenseAgreement ¶
func (s *TestflightService) GetAppForBetaLicenseAgreement(ctx context.Context, id string, params *GetAppForBetaLicenseAgreementQuery) (*AppResponse, *Response, error)
GetAppForBetaLicenseAgreement gets the app information for a specific beta license agreement.
func (*TestflightService) GetAppForPrereleaseVersion ¶
func (s *TestflightService) GetAppForPrereleaseVersion(ctx context.Context, id string, params *GetAppForPrereleaseVersionQuery) (*AppResponse, *Response, error)
GetAppForPrereleaseVersion gets the app information for a specific prerelease version.
func (*TestflightService) GetBetaAppLocalization ¶
func (s *TestflightService) GetBetaAppLocalization(ctx context.Context, id string, params *GetBetaAppLocalizationQuery) (*BetaAppLocalizationResponse, *Response, error)
GetBetaAppLocalization gets localized beta app information for a specific app and locale.
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_app_localization_information
func (*TestflightService) GetBetaAppReviewDetail ¶
func (s *TestflightService) GetBetaAppReviewDetail(ctx context.Context, id string, params *GetBetaAppReviewDetailQuery) (*BetaAppReviewDetailResponse, *Response, error)
GetBetaAppReviewDetail gets beta app review details for a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_app_review_detail_information
func (*TestflightService) GetBetaAppReviewDetailsForApp ¶
func (s *TestflightService) GetBetaAppReviewDetailsForApp(ctx context.Context, id string, params *GetBetaAppReviewDetailsForAppQuery) (*BetaAppReviewDetailResponse, *Response, error)
GetBetaAppReviewDetailsForApp gets the beta app review details for a specific app.
func (*TestflightService) GetBetaAppReviewSubmission ¶
func (s *TestflightService) GetBetaAppReviewSubmission(ctx context.Context, id string, params *GetBetaAppReviewSubmissionQuery) (*BetaAppReviewSubmissionResponse, *Response, error)
GetBetaAppReviewSubmission gets a specific beta app review submission.
func (*TestflightService) GetBetaAppReviewSubmissionForBuild ¶
func (s *TestflightService) GetBetaAppReviewSubmissionForBuild(ctx context.Context, id string, params *GetBetaAppReviewSubmissionForBuildQuery) (*BetaAppReviewSubmissionResponse, *Response, error)
GetBetaAppReviewSubmissionForBuild gets the beta app review submission status for a specific build.
func (*TestflightService) GetBetaBuildLocalization ¶
func (s *TestflightService) GetBetaBuildLocalization(ctx context.Context, id string, params *GetBetaBuildLocalizationQuery) (*BetaBuildLocalizationResponse, *Response, error)
GetBetaBuildLocalization gets localized beta build information for a specific build and locale.
func (*TestflightService) GetBetaGroup ¶
func (s *TestflightService) GetBetaGroup(ctx context.Context, id string, params *GetBetaGroupQuery) (*BetaGroupResponse, *Response, error)
GetBetaGroup gets a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_group_information
func (*TestflightService) GetBetaLicenseAgreement ¶
func (s *TestflightService) GetBetaLicenseAgreement(ctx context.Context, id string, params *GetBetaLicenseAgreementQuery) (*BetaLicenseAgreementResponse, *Response, error)
GetBetaLicenseAgreement gets a specific beta license agreement.
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_license_agreement_information
func (*TestflightService) GetBetaLicenseAgreementForApp ¶
func (s *TestflightService) GetBetaLicenseAgreementForApp(ctx context.Context, id string, params *GetBetaLicenseAgreementForAppQuery) (*BetaLicenseAgreementResponse, *Response, error)
GetBetaLicenseAgreementForApp gets the beta license agreement for a specific app.
func (*TestflightService) GetBetaTester ¶
func (s *TestflightService) GetBetaTester(ctx context.Context, id string, params *GetBetaTesterQuery) (*BetaTesterResponse, *Response, error)
GetBetaTester gets a specific beta tester.
https://developer.apple.com/documentation/appstoreconnectapi/read_beta_tester_information
func (*TestflightService) GetBuildBetaDetail ¶
func (s *TestflightService) GetBuildBetaDetail(ctx context.Context, id string, params *GetBuildBetaDetailsQuery) (*BuildBetaDetailResponse, *Response, error)
GetBuildBetaDetail gets a specific build beta details resource.
https://developer.apple.com/documentation/appstoreconnectapi/read_build_beta_detail_information
func (*TestflightService) GetBuildBetaDetailForBuild ¶
func (s *TestflightService) GetBuildBetaDetailForBuild(ctx context.Context, id string, params *GetBuildBetaDetailForBuildQuery) (*BuildBetaDetailResponse, *Response, error)
GetBuildBetaDetailForBuild gets the beta test details for a specific build.
func (*TestflightService) GetBuildForBetaAppReviewSubmission ¶
func (s *TestflightService) GetBuildForBetaAppReviewSubmission(ctx context.Context, id string, params *GetBuildForBetaAppReviewSubmissionQuery) (*BuildResponse, *Response, error)
GetBuildForBetaAppReviewSubmission gets the build information for a specific beta app review submission.
func (*TestflightService) GetBuildForBetaBuildLocalization ¶
func (s *TestflightService) GetBuildForBetaBuildLocalization(ctx context.Context, id string, params *GetBuildForBetaBuildLocalizationQuery) (*BuildResponse, *Response, error)
GetBuildForBetaBuildLocalization gets the build information associated with a specific beta build localization.
func (*TestflightService) GetBuildForBuildBetaDetail ¶
func (s *TestflightService) GetBuildForBuildBetaDetail(ctx context.Context, id string, params *GetBuildForBuildBetaDetailQuery) (*BuildResponse, *Response, error)
GetBuildForBuildBetaDetail gets the build information for a specific build beta details resource.
func (*TestflightService) GetPrereleaseVersion ¶
func (s *TestflightService) GetPrereleaseVersion(ctx context.Context, id string, params *GetPrereleaseVersionQuery) (*PrereleaseVersionResponse, *Response, error)
GetPrereleaseVersion gets information about a specific prerelease version.
https://developer.apple.com/documentation/appstoreconnectapi/read_prerelease_version_information
func (*TestflightService) GetPrereleaseVersionForBuild ¶
func (s *TestflightService) GetPrereleaseVersionForBuild(ctx context.Context, id string, params *GetPrereleaseVersionForBuildQuery) (*PrereleaseVersionResponse, *Response, error)
GetPrereleaseVersionForBuild gets the prerelease version for a specific build.
https://developer.apple.com/documentation/appstoreconnectapi/read_the_prerelease_version_of_a_build
func (*TestflightService) ListAppIDsForBetaTester ¶
func (s *TestflightService) ListAppIDsForBetaTester(ctx context.Context, id string, params *ListAppIDsForBetaTesterQuery) (*BetaTesterAppsLinkagesResponse, *Response, error)
ListAppIDsForBetaTester gets a list of app resource IDs associated with a beta tester.
func (*TestflightService) ListAppsForBetaTester ¶
func (s *TestflightService) ListAppsForBetaTester(ctx context.Context, id string, params *ListAppsForBetaTesterQuery) (*AppsResponse, *Response, error)
ListAppsForBetaTester gets a list of apps that a beta tester can test.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_apps_for_a_beta_tester
func (*TestflightService) ListBetaAppLocalizations ¶
func (s *TestflightService) ListBetaAppLocalizations(ctx context.Context, params *ListBetaAppLocalizationsQuery) (*BetaAppLocalizationsResponse, *Response, error)
ListBetaAppLocalizations finds and lists beta app localizations for all apps and locales.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_localizations
func (*TestflightService) ListBetaAppLocalizationsForApp ¶
func (s *TestflightService) ListBetaAppLocalizationsForApp(ctx context.Context, id string, params *ListBetaAppLocalizationsForAppQuery) (*BetaAppLocalizationsResponse, *Response, error)
ListBetaAppLocalizationsForApp gets a list of localized beta test information for a specific app.
func (*TestflightService) ListBetaAppReviewDetails ¶
func (s *TestflightService) ListBetaAppReviewDetails(ctx context.Context, params *ListBetaAppReviewDetailsQuery) (*BetaAppReviewDetailsResponse, *Response, error)
ListBetaAppReviewDetails finds and lists beta app review details for all apps.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_review_details
func (*TestflightService) ListBetaAppReviewSubmissions ¶
func (s *TestflightService) ListBetaAppReviewSubmissions(ctx context.Context, params *ListBetaAppReviewSubmissionsQuery) (*BetaAppReviewSubmissionsResponse, *Response, error)
ListBetaAppReviewSubmissions finds and lists beta app review submissions for all builds.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_app_review_submissions
func (*TestflightService) ListBetaBuildLocalizations ¶
func (s *TestflightService) ListBetaBuildLocalizations(ctx context.Context, params *ListBetaBuildLocalizationsQuery) (*BetaBuildLocalizationsResponse, *Response, error)
ListBetaBuildLocalizations finds and lists beta build localizations for all builds and locales.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_build_localizations
func (*TestflightService) ListBetaBuildLocalizationsForBuild ¶
func (s *TestflightService) ListBetaBuildLocalizationsForBuild(ctx context.Context, id string, params *ListBetaBuildLocalizationsForBuildQuery) (*BetaBuildLocalizationsResponse, *Response, error)
ListBetaBuildLocalizationsForBuild gets a list of localized beta test information for a specific build.
func (*TestflightService) ListBetaGroupIDsForBetaTester ¶
func (s *TestflightService) ListBetaGroupIDsForBetaTester(ctx context.Context, id string, params *ListBetaGroupIDsForBetaTesterQuery) (*BetaTesterBetaGroupsLinkagesResponse, *Response, error)
ListBetaGroupIDsForBetaTester gets a list of group resource IDs associated with a beta tester.
func (*TestflightService) ListBetaGroups ¶
func (s *TestflightService) ListBetaGroups(ctx context.Context, params *ListBetaGroupsQuery) (*BetaGroupsResponse, *Response, error)
ListBetaGroups finds and lists beta groups for all apps.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_groups
func (*TestflightService) ListBetaGroupsForApp ¶
func (s *TestflightService) ListBetaGroupsForApp(ctx context.Context, id string, params *ListBetaGroupsForAppQuery) (*BetaGroupsResponse, *Response, error)
ListBetaGroupsForApp gets a list of beta groups associated with a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_beta_groups_for_an_app
func (*TestflightService) ListBetaGroupsForBetaTester ¶
func (s *TestflightService) ListBetaGroupsForBetaTester(ctx context.Context, id string, params *ListBetaGroupsForBetaTesterQuery) (*BetaGroupsResponse, *Response, error)
ListBetaGroupsForBetaTester gets a list of beta groups that contain a specific beta tester.
func (*TestflightService) ListBetaLicenseAgreements ¶
func (s *TestflightService) ListBetaLicenseAgreements(ctx context.Context, params *ListBetaLicenseAgreementsQuery) (*BetaLicenseAgreementsResponse, *Response, error)
ListBetaLicenseAgreements finds and lists beta license agreements for all apps.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_license_agreements
func (*TestflightService) ListBetaTesterIDsForBetaGroup ¶
func (s *TestflightService) ListBetaTesterIDsForBetaGroup(ctx context.Context, id string, params *ListBetaTesterIDsForBetaGroupQuery) (*BetaGroupBetaTestersLinkagesResponse, *Response, error)
ListBetaTesterIDsForBetaGroup gets a list of the beta tester resource IDs in a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/get_all_beta_tester_ids_in_a_beta_group
func (*TestflightService) ListBetaTesters ¶
func (s *TestflightService) ListBetaTesters(ctx context.Context, params *ListBetaTestersQuery) (*BetaTestersResponse, *Response, error)
ListBetaTesters finds and lists beta testers for all apps, builds, and beta groups.
https://developer.apple.com/documentation/appstoreconnectapi/list_beta_testers
func (*TestflightService) ListBetaTestersForBetaGroup ¶
func (s *TestflightService) ListBetaTestersForBetaGroup(ctx context.Context, id string, params *ListBetaTestersForBetaGroupQuery) (*BetaTestersResponse, *Response, error)
ListBetaTestersForBetaGroup gets a list of beta testers contained in a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_beta_testers_in_a_betagroup
func (*TestflightService) ListBuildBetaDetails ¶
func (s *TestflightService) ListBuildBetaDetails(ctx context.Context, params *ListBuildBetaDetailsQuery) (*BuildBetaDetailsResponse, *Response, error)
ListBuildBetaDetails finds and lists build beta details for all builds.
https://developer.apple.com/documentation/appstoreconnectapi/list_build_beta_details
func (*TestflightService) ListBuildIDsForBetaGroup ¶
func (s *TestflightService) ListBuildIDsForBetaGroup(ctx context.Context, id string, params *ListBuildIDsForBetaGroupQuery) (*BetaGroupBuildsLinkagesResponse, *Response, error)
ListBuildIDsForBetaGroup gets a list of build resource IDs in a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/get_all_build_ids_in_a_beta_group
func (*TestflightService) ListBuildIDsIndividuallyAssignedToBetaTester ¶
func (s *TestflightService) ListBuildIDsIndividuallyAssignedToBetaTester(ctx context.Context, id string, params *ListBuildIDsIndividuallyAssignedToBetaTesterQuery) (*BetaTesterBuildsLinkagesResponse, *Response, error)
ListBuildIDsIndividuallyAssignedToBetaTester gets a list of build resource IDs individually assigned to a specific beta tester.
func (*TestflightService) ListBuildsForBetaGroup ¶
func (s *TestflightService) ListBuildsForBetaGroup(ctx context.Context, id string, params *ListBuildsForBetaGroupQuery) (*BuildsResponse, *Response, error)
ListBuildsForBetaGroup gets a list of builds associated with a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_for_a_betagroup
func (*TestflightService) ListBuildsForPrereleaseVersion ¶
func (s *TestflightService) ListBuildsForPrereleaseVersion(ctx context.Context, id string, params *ListBuildsForPrereleaseVersionQuery) (*BuildsResponse, *Response, error)
ListBuildsForPrereleaseVersion gets a list of builds of a specific prerelease version.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_a_prerelease_version
func (*TestflightService) ListBuildsIndividuallyAssignedToBetaTester ¶
func (s *TestflightService) ListBuildsIndividuallyAssignedToBetaTester(ctx context.Context, id string, params *ListBuildsIndividuallyAssignedToBetaTesterQuery) (*BuildsResponse, *Response, error)
ListBuildsIndividuallyAssignedToBetaTester gets a list of builds individually assigned to a specific beta tester.
func (*TestflightService) ListIndividualTestersForBuild ¶
func (s *TestflightService) ListIndividualTestersForBuild(ctx context.Context, id string, params *ListIndividualTestersForBuildQuery) (*BetaTestersResponse, *Response, error)
ListIndividualTestersForBuild gets a list of beta testers individually assigned to a build.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_individual_testers_for_a_build
func (*TestflightService) ListPrereleaseVersions ¶
func (s *TestflightService) ListPrereleaseVersions(ctx context.Context, params *ListPrereleaseVersionsQuery) (*PrereleaseVersionsResponse, *Response, error)
ListPrereleaseVersions gets a list of prerelease versions for all apps.
https://developer.apple.com/documentation/appstoreconnectapi/list_prerelease_versions
func (*TestflightService) ListPrereleaseVersionsForApp ¶
func (s *TestflightService) ListPrereleaseVersionsForApp(ctx context.Context, id string, params *ListPrereleaseVersionsForAppQuery) (*PrereleaseVersionsResponse, *Response, error)
ListPrereleaseVersionsForApp gets a list of prerelease versions associated with a specific app.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_prerelease_versions_for_an_app
func (*TestflightService) RemoveBetaTesterFromBetaGroups ¶
func (s *TestflightService) RemoveBetaTesterFromBetaGroups(ctx context.Context, id string, betaGroupIDs []string) (*Response, error)
RemoveBetaTesterFromBetaGroups removes a specific beta tester from one or more beta groups, revoking their access to test builds associated with those groups.
https://developer.apple.com/documentation/appstoreconnectapi/remove_a_beta_tester_from_beta_groups
func (*TestflightService) RemoveBetaTestersFromBetaGroup ¶
func (s *TestflightService) RemoveBetaTestersFromBetaGroup(ctx context.Context, id string, betaTesterIDs []string) (*Response, error)
RemoveBetaTestersFromBetaGroup removes a specific beta tester from a one or more beta groups, revoking their access to test builds associated with those groups.
https://developer.apple.com/documentation/appstoreconnectapi/remove_beta_testers_from_a_beta_group
func (*TestflightService) RemoveBuildsFromBetaGroup ¶
func (s *TestflightService) RemoveBuildsFromBetaGroup(ctx context.Context, id string, buildIDs []string) (*Response, error)
RemoveBuildsFromBetaGroup removes access to test one or more builds from beta testers in a specific beta group.
https://developer.apple.com/documentation/appstoreconnectapi/remove_builds_from_a_beta_group
func (*TestflightService) RemoveSingleBetaTesterAccessApps ¶
func (s *TestflightService) RemoveSingleBetaTesterAccessApps(ctx context.Context, id string, appIDs []string) (*Response, error)
RemoveSingleBetaTesterAccessApps removes a specific beta tester's access to test any builds of one or more apps.
https://developer.apple.com/documentation/appstoreconnectapi/remove_a_beta_tester_s_access_to_apps
func (*TestflightService) UnassignSingleBetaTesterFromBuilds ¶
func (s *TestflightService) UnassignSingleBetaTesterFromBuilds(ctx context.Context, id string, buildIDs []string) (*Response, error)
UnassignSingleBetaTesterFromBuilds removes an individually assigned beta tester's ability to test a build.
func (*TestflightService) UpdateBetaAppLocalization ¶
func (s *TestflightService) UpdateBetaAppLocalization(ctx context.Context, id string, attributes *BetaAppLocalizationUpdateRequestAttributes) (*BetaAppLocalizationResponse, *Response, error)
UpdateBetaAppLocalization updates the localized What’s New text for a specific app and locale.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_app_localization
func (*TestflightService) UpdateBetaAppReviewDetail ¶
func (s *TestflightService) UpdateBetaAppReviewDetail(ctx context.Context, id string, attributes *BetaAppReviewDetailUpdateRequestAttributes) (*BetaAppReviewDetailResponse, *Response, error)
UpdateBetaAppReviewDetail updates the details for a specific app's beta app review.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_app_review_detail
func (*TestflightService) UpdateBetaBuildLocalization ¶
func (s *TestflightService) UpdateBetaBuildLocalization(ctx context.Context, id string, whatsNew *string) (*BetaBuildLocalizationResponse, *Response, error)
UpdateBetaBuildLocalization updates the localized What’s New text for a specific build and locale.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_build_localization
func (*TestflightService) UpdateBetaGroup ¶
func (s *TestflightService) UpdateBetaGroup(ctx context.Context, id string, attributes *BetaGroupUpdateRequestAttributes) (*BetaGroupResponse, *Response, error)
UpdateBetaGroup modifies a beta group's metadata, including changing its Testflight public link status.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_group
func (*TestflightService) UpdateBetaLicenseAgreement ¶
func (s *TestflightService) UpdateBetaLicenseAgreement(ctx context.Context, id string, agreementText *string) (*BetaLicenseAgreementResponse, *Response, error)
UpdateBetaLicenseAgreement updates the text for your beta license agreement.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_beta_license_agreement
func (*TestflightService) UpdateBuildBetaDetail ¶
func (s *TestflightService) UpdateBuildBetaDetail(ctx context.Context, id string, autoNotifyEnabled *bool) (*BuildBetaDetailResponse, *Response, error)
UpdateBuildBetaDetail updates beta test details for a specific build.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_build_beta_detail
type UploadOperation ¶
type UploadOperation struct { Length *int `json:"length,omitempty"` Method *string `json:"method,omitempty"` Offset *int `json:"offset,omitempty"` RequestHeaders []UploadOperationHeader `json:"requestHeaders,omitempty"` URL *string `json:"url,omitempty"` }
UploadOperation defines model for UploadOperation.
https://developer.apple.com/documentation/appstoreconnectapi/uploadoperation https://developer.apple.com/documentation/appstoreconnectapi/uploading_assets_to_app_store_connect
type UploadOperationError ¶
type UploadOperationError struct { Operation UploadOperation Err error }
UploadOperationError pairs a failed operation and its associated error so it can be retried later.
func (UploadOperationError) Error ¶
func (e UploadOperationError) Error() string
type UploadOperationHeader ¶
type UploadOperationHeader struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
UploadOperationHeader defines model for UploadOperationHeader.
https://developer.apple.com/documentation/appstoreconnectapi/uploadoperationheader
type User ¶
type User struct { Attributes *UserAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *UserRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
User defines model for User.
https://developer.apple.com/documentation/appstoreconnectapi/user
type UserAttributes ¶
type UserAttributes struct { AllAppsVisible *bool `json:"allAppsVisible,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` ProvisioningAllowed *bool `json:"provisioningAllowed,omitempty"` Roles []UserRole `json:"roles,omitempty"` Username *string `json:"username,omitempty"` }
UserAttributes defines model for User.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/user/attributes
type UserInvitation ¶
type UserInvitation struct { Attributes *UserInvitationAttributes `json:"attributes,omitempty"` ID string `json:"id"` Links ResourceLinks `json:"links"` Relationships *UserInvitationRelationships `json:"relationships,omitempty"` Type string `json:"type"` }
UserInvitation defines model for UserInvitation.
https://developer.apple.com/documentation/appstoreconnectapi/userinvitation
type UserInvitationAttributes ¶
type UserInvitationAttributes struct { AllAppsVisible *bool `json:"allAppsVisible,omitempty"` Email *Email `json:"email,omitempty"` ExpirationDate *DateTime `json:"expirationDate,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` ProvisioningAllowed *bool `json:"provisioningAllowed,omitempty"` Roles []UserRole `json:"roles,omitempty"` }
UserInvitationAttributes defines model for UserInvitation.Attributes
https://developer.apple.com/documentation/appstoreconnectapi/userinvitation/attributes
type UserInvitationCreateRequestAttributes ¶
type UserInvitationCreateRequestAttributes struct { AllAppsVisible *bool `json:"allAppsVisible,omitempty"` Email Email `json:"email"` FirstName string `json:"firstName"` LastName string `json:"lastName"` ProvisioningAllowed *bool `json:"provisioningAllowed,omitempty"` Roles []UserRole `json:"roles"` }
UserInvitationCreateRequestAttributes are attributes for UserInvitationCreateRequest
type UserInvitationRelationships ¶
type UserInvitationRelationships struct {
VisibleApps *PagedRelationship `json:"visibleApps,omitempty"`
}
UserInvitationRelationships defines model for UserInvitation.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/userinvitation/relationships
type UserInvitationResponse ¶
type UserInvitationResponse struct { Data UserInvitation `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
UserInvitationResponse defines model for UserInvitationResponse.
https://developer.apple.com/documentation/appstoreconnectapi/userinvitationresponse
type UserInvitationsResponse ¶
type UserInvitationsResponse struct { Data []UserInvitation `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
UserInvitationsResponse defines model for UserInvitationsResponse.
https://developer.apple.com/documentation/appstoreconnectapi/userinvitationsresponse
type UserRelationships ¶
type UserRelationships struct {
VisibleApps *PagedRelationship `json:"visibleApps,omitempty"`
}
UserRelationships defines model for User.Relationships
https://developer.apple.com/documentation/appstoreconnectapi/user/relationships
type UserResponse ¶
type UserResponse struct { Data User `json:"data"` Included []App `json:"included,omitempty"` Links DocumentLinks `json:"links"` }
UserResponse defines model for UserResponse.
https://developer.apple.com/documentation/appstoreconnectapi/userresponse
type UserRole ¶
type UserRole string
UserRole defines model for UserRole.
https://developer.apple.com/documentation/appstoreconnectapi/userrole
const ( // UserRoleAccessToReports allows download access to reports associated with a role. The Access To Reports role is an additional permission for users with the App Manager, Developer, Marketing, or Sales role. If this permission is added, the user has access to all of your apps. UserRoleAccessToReports UserRole = "ACCESS_TO_REPORTS" // UserRoleAccountHolder is responsible for entering into legal agreements with Apple. The person who completes program enrollment is assigned the Account Holder role in both the Apple Developer account and App Store Connect. UserRoleAccountHolder UserRole = "ACCOUNT_HOLDER" // UserRoleAdmin serves as a secondary contact for teams and has many of the same responsibilities as the Account Holder role. Admins have access to all apps. UserRoleAdmin UserRole = "ADMIN" // UserRoleAppManager manages all aspects of an app, such as pricing, App Store information, and app development and delivery. UserRoleAppManager UserRole = "APP_MANAGER" // UserRoleCloudManagedAppDistribution is a service role for managing Cloud Signing of apps for distribution. UserRoleCloudManagedAppDistribution UserRole = "CLOUD_MANAGED_APP_DISTRIBUTION" // UserRoleCloudManagedDeveloperID is a service role covering the developer account ID for an app enabled for Cloud Signing. UserRoleCloudManagedDeveloperID UserRole = "CLOUD_MANAGED_DEVELOPER_ID" // UserRoleCreateApps is a service role for automatic creation of apps. UserRoleCreateApps UserRole = "CREATE_APPS" // UserRoleCustomerSupport analyzes and responds to customer reviews on the App Store. If a user has only the Customer Support role, they'll go straight to the Ratings and Reviews section when they click on an app in My Apps. UserRoleCustomerSupport UserRole = "CUSTOMER_SUPPORT" // UserRoleDeveloper manages development and delivery of an app. UserRoleDeveloper UserRole = "DEVELOPER" // UserRoleFinance manages financial information, including reports and tax forms. A user assigned this role can view all apps in Payments and Financial Reports, Sales and Trends, and App Analytics. UserRoleFinance UserRole = "FINANCE" // UserRoleMarketing manages marketing materials and promotional artwork. A user assigned this role will be contacted by Apple if the app is in consideration to be featured on the App Store. UserRoleMarketing UserRole = "MARKETING" // UserRoleReadOnly represents a user with limited access and no write access. UserRoleReadOnly UserRole = "READ_ONLY" // UserRoleSales analyzes sales, downloads, and other analytics for the app. UserRoleSales UserRole = "SALES" // UserRoleTechnical role is no longer assignable to new users in App Store Connect. Existing users with the Technical role can manage all the aspects of an app, such as pricing, App Store information, and app development and delivery. Techncial users have access to all apps. UserRoleTechnical UserRole = "TECHNICAL" )
type UserUpdateRequestAttributes ¶
type UserUpdateRequestAttributes struct { AllAppsVisible *bool `json:"allAppsVisible,omitempty"` ProvisioningAllowed *bool `json:"provisioningAllowed,omitempty"` Roles []UserRole `json:"roles,omitempty"` }
UserUpdateRequestAttributes are attributes for UserUpdateRequest
https://developer.apple.com/documentation/appstoreconnectapi/userupdaterequest/data/attributes
type UserVisibleAppsLinkagesResponse ¶
type UserVisibleAppsLinkagesResponse struct { Data []RelationshipData `json:"data"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
UserVisibleAppsLinkagesResponse defines model for UserVisibleAppsLinkagesResponse.
https://developer.apple.com/documentation/appstoreconnectapi/uservisibleappslinkagesresponse
type UsersResponse ¶
type UsersResponse struct { Data []User `json:"data"` Included []App `json:"included,omitempty"` Links PagedDocumentLinks `json:"links"` Meta *PagingInformation `json:"meta,omitempty"` }
UsersResponse defines model for UsersResponse.
https://developer.apple.com/documentation/appstoreconnectapi/usersresponse
type UsersService ¶
type UsersService service
UsersService handles communication with user and role-related methods of the App Store Connect API
https://developer.apple.com/documentation/appstoreconnectapi/users https://developer.apple.com/documentation/appstoreconnectapi/user_invitations
func (*UsersService) AddVisibleAppsForUser ¶
func (s *UsersService) AddVisibleAppsForUser(ctx context.Context, id string, appIDs []string) (*Response, error)
AddVisibleAppsForUser gives a user on your team access to one or more apps.
https://developer.apple.com/documentation/appstoreconnectapi/add_visible_apps_to_a_user
func (*UsersService) CancelInvitation ¶
CancelInvitation cancels a pending invitation for a user to join your team.
https://developer.apple.com/documentation/appstoreconnectapi/cancel_a_user_invitation
func (*UsersService) CreateInvitation ¶
func (s *UsersService) CreateInvitation(ctx context.Context, attributes UserInvitationCreateRequestAttributes, visibleAppIDs []string) (*UserInvitationResponse, *Response, error)
CreateInvitation invites a user with assigned user roles to join your team.
https://developer.apple.com/documentation/appstoreconnectapi/invite_a_user
func (*UsersService) GetInvitation ¶
func (s *UsersService) GetInvitation(ctx context.Context, id string, params *GetInvitationQuery) (*UserInvitationResponse, *Response, error)
GetInvitation gets information about a pending invitation to join your team.
https://developer.apple.com/documentation/appstoreconnectapi/read_user_invitation_information
func (*UsersService) GetUser ¶
func (s *UsersService) GetUser(ctx context.Context, id string, params *GetUserQuery) (*UserResponse, *Response, error)
GetUser gets information about a user on your team, such as name, roles, and app visibility.
https://developer.apple.com/documentation/appstoreconnectapi/read_user_information
func (*UsersService) ListInvitations ¶
func (s *UsersService) ListInvitations(ctx context.Context, params *ListInvitationsQuery) (*UserInvitationsResponse, *Response, error)
ListInvitations gets a list of pending invitations to join your team.
https://developer.apple.com/documentation/appstoreconnectapi/list_invited_users
func (*UsersService) ListUsers ¶
func (s *UsersService) ListUsers(ctx context.Context, params *ListUsersQuery) (*UsersResponse, *Response, error)
ListUsers gets a list of the users on your team.
https://developer.apple.com/documentation/appstoreconnectapi/list_users
func (*UsersService) ListVisibleAppsByResourceIDForUser ¶
func (s *UsersService) ListVisibleAppsByResourceIDForUser(ctx context.Context, id string, params *ListVisibleAppsByResourceIDQuery) (*UserVisibleAppsLinkagesResponse, *Response, error)
ListVisibleAppsByResourceIDForUser gets a list of app resource IDs to which a user on your team has access.
func (*UsersService) ListVisibleAppsForInvitation ¶
func (s *UsersService) ListVisibleAppsForInvitation(ctx context.Context, id string, params *ListVisibleAppsQuery) (*AppsResponse, *Response, error)
ListVisibleAppsForInvitation gets a list of apps that will be visible to a user with a pending invitation.
func (*UsersService) ListVisibleAppsForUser ¶
func (s *UsersService) ListVisibleAppsForUser(ctx context.Context, id string, params *ListVisibleAppsQuery) (*AppsResponse, *Response, error)
ListVisibleAppsForUser gets a list of apps that a user on your team can view.
https://developer.apple.com/documentation/appstoreconnectapi/list_all_apps_visible_to_a_user
func (*UsersService) RemoveUser ¶
RemoveUser removes a user from your team.
https://developer.apple.com/documentation/appstoreconnectapi/remove_a_user_account
func (*UsersService) RemoveVisibleAppsFromUser ¶
func (s *UsersService) RemoveVisibleAppsFromUser(ctx context.Context, id string, appIDs []string) (*Response, error)
RemoveVisibleAppsFromUser removes a user on your team’s access to one or more apps.
https://developer.apple.com/documentation/appstoreconnectapi/remove_visible_apps_from_a_user
func (*UsersService) UpdateUser ¶
func (s *UsersService) UpdateUser(ctx context.Context, id string, attributes *UserUpdateRequestAttributes, visibleAppIDs []string) (*UserResponse, *Response, error)
UpdateUser changes a user's role, app visibility information, or other account details.
https://developer.apple.com/documentation/appstoreconnectapi/modify_a_user_account
func (*UsersService) UpdateVisibleAppsForUser ¶
func (s *UsersService) UpdateVisibleAppsForUser(ctx context.Context, id string, appIDs []string) (*Response, error)
UpdateVisibleAppsForUser replaces the list of apps a user on your team can see.
Source Files ¶
- apps.go
- apps_metadata_age_ratings.go
- apps_metadata_categories.go
- apps_metadata_eula.go
- apps_metadata_game_center.go
- apps_metadata_info_localizations.go
- apps_metadata_infos.go
- apps_metadata_preview_sets.go
- apps_metadata_previews.go
- apps_metadata_routing.go
- apps_metadata_screenshot_sets.go
- apps_metadata_screenshots.go
- apps_metadata_version_localizations.go
- apps_metadata_versions.go
- asc.go
- auth.go
- builds.go
- builds_app_encryption_declarations.go
- builds_build_icons.go
- doc.go
- included.go
- paging.go
- pricing.go
- pricing_territories.go
- pricing_tiers.go
- provisioning.go
- provisioning_bundle_ids.go
- provisioning_capabilities.go
- provisioning_certificates.go
- provisioning_devices.go
- provisioning_profiles.go
- publishing.go
- publishing_phased_release.go
- publishing_preorder.go
- reporting.go
- reporting_power_performance_metrics.go
- reporting_sales_finance_reports.go
- schema.go
- submission.go
- submission_app_store_version_submissions.go
- submission_idfa_declarations.go
- submission_review_attachments.go
- submission_review_details.go
- subscriptions.go
- testflight.go
- testflight_beta_app_localizations.go
- testflight_beta_app_review_detail.go
- testflight_beta_app_review_submissions.go
- testflight_beta_build_localizations.go
- testflight_beta_groups.go
- testflight_beta_license_agreements.go
- testflight_beta_tester_invitations.go
- testflight_beta_testers.go
- testflight_build_beta_details.go
- testflight_build_beta_notifications.go
- testflight_prerelease_versions.go
- upload_operation.go
- users.go
- users_invitations.go