Skip to content

Latest commit

 

History

History
1103 lines (726 loc) · 40.1 KB

BetaGroupsAPI.md

File metadata and controls

1103 lines (726 loc) · 40.1 KB

\BetaGroupsAPI

All URIs are relative to https://api.appstoreconnect.apple.com

Method HTTP request Description
BetaGroupsAppGetToOneRelated Get /v1/betaGroups/{id}/app
BetaGroupsBetaTesterUsagesGetMetrics Get /v1/betaGroups/{id}/metrics/betaTesterUsages
BetaGroupsBetaTestersCreateToManyRelationship Post /v1/betaGroups/{id}/relationships/betaTesters
BetaGroupsBetaTestersDeleteToManyRelationship Delete /v1/betaGroups/{id}/relationships/betaTesters
BetaGroupsBetaTestersGetToManyRelated Get /v1/betaGroups/{id}/betaTesters
BetaGroupsBetaTestersGetToManyRelationship Get /v1/betaGroups/{id}/relationships/betaTesters
BetaGroupsBuildsCreateToManyRelationship Post /v1/betaGroups/{id}/relationships/builds
BetaGroupsBuildsDeleteToManyRelationship Delete /v1/betaGroups/{id}/relationships/builds
BetaGroupsBuildsGetToManyRelated Get /v1/betaGroups/{id}/builds
BetaGroupsBuildsGetToManyRelationship Get /v1/betaGroups/{id}/relationships/builds
BetaGroupsCreateInstance Post /v1/betaGroups
BetaGroupsDeleteInstance Delete /v1/betaGroups/{id}
BetaGroupsGetCollection Get /v1/betaGroups
BetaGroupsGetInstance Get /v1/betaGroups/{id}
BetaGroupsUpdateInstance Patch /v1/betaGroups/{id}

BetaGroupsAppGetToOneRelated

AppWithoutIncludesResponse BetaGroupsAppGetToOneRelated(ctx, id).FieldsApps(fieldsApps).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	fieldsApps := []string{"FieldsApps_example"} // []string | the fields to include for returned resources of type apps (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsAppGetToOneRelated(context.Background(), id).FieldsApps(fieldsApps).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsAppGetToOneRelated``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsAppGetToOneRelated`: AppWithoutIncludesResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsAppGetToOneRelated`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsAppGetToOneRelatedRequest struct via the builder pattern

Name Type Description Notes

fieldsApps | []string | the fields to include for returned resources of type apps |

Return type

AppWithoutIncludesResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBetaTesterUsagesGetMetrics

AppsBetaTesterUsagesV1MetricResponse BetaGroupsBetaTesterUsagesGetMetrics(ctx, id).Period(period).GroupBy(groupBy).FilterBetaTesters(filterBetaTesters).Limit(limit).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	period := "P7D" // string | the duration of the reporting period (optional)
	groupBy := []string{"GroupBy_example"} // []string | the dimension by which to group the results (optional)
	filterBetaTesters := "filterBetaTesters_example" // string | filter by 'betaTesters' relationship dimension (optional)
	limit := int32(56) // int32 | maximum number of groups to return per page (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsBetaTesterUsagesGetMetrics(context.Background(), id).Period(period).GroupBy(groupBy).FilterBetaTesters(filterBetaTesters).Limit(limit).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBetaTesterUsagesGetMetrics``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsBetaTesterUsagesGetMetrics`: AppsBetaTesterUsagesV1MetricResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsBetaTesterUsagesGetMetrics`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBetaTesterUsagesGetMetricsRequest struct via the builder pattern

Name Type Description Notes

period | string | the duration of the reporting period | groupBy | []string | the dimension by which to group the results | filterBetaTesters | string | filter by 'betaTesters' relationship dimension | limit | int32 | maximum number of groups to return per page |

Return type

AppsBetaTesterUsagesV1MetricResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBetaTestersCreateToManyRelationship

BetaGroupsBetaTestersCreateToManyRelationship(ctx, id).BetaGroupBetaTestersLinkagesRequest(betaGroupBetaTestersLinkagesRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	betaGroupBetaTestersLinkagesRequest := *openapiclient.NewBetaGroupBetaTestersLinkagesRequest([]openapiclient.BetaGroupRelationshipsBetaTestersDataInner{*openapiclient.NewBetaGroupRelationshipsBetaTestersDataInner("Type_example", "Id_example")}) // BetaGroupBetaTestersLinkagesRequest | List of related linkages

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.BetaGroupsAPI.BetaGroupsBetaTestersCreateToManyRelationship(context.Background(), id).BetaGroupBetaTestersLinkagesRequest(betaGroupBetaTestersLinkagesRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBetaTestersCreateToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBetaTestersCreateToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

betaGroupBetaTestersLinkagesRequest | BetaGroupBetaTestersLinkagesRequest | List of related linkages |

Return type

(empty response body)

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBetaTestersDeleteToManyRelationship

BetaGroupsBetaTestersDeleteToManyRelationship(ctx, id).BetaGroupBetaTestersLinkagesRequest(betaGroupBetaTestersLinkagesRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	betaGroupBetaTestersLinkagesRequest := *openapiclient.NewBetaGroupBetaTestersLinkagesRequest([]openapiclient.BetaGroupRelationshipsBetaTestersDataInner{*openapiclient.NewBetaGroupRelationshipsBetaTestersDataInner("Type_example", "Id_example")}) // BetaGroupBetaTestersLinkagesRequest | List of related linkages

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.BetaGroupsAPI.BetaGroupsBetaTestersDeleteToManyRelationship(context.Background(), id).BetaGroupBetaTestersLinkagesRequest(betaGroupBetaTestersLinkagesRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBetaTestersDeleteToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBetaTestersDeleteToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

betaGroupBetaTestersLinkagesRequest | BetaGroupBetaTestersLinkagesRequest | List of related linkages |

Return type

(empty response body)

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBetaTestersGetToManyRelated

BetaTestersWithoutIncludesResponse BetaGroupsBetaTestersGetToManyRelated(ctx, id).FieldsBetaTesters(fieldsBetaTesters).Limit(limit).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	fieldsBetaTesters := []string{"FieldsBetaTesters_example"} // []string | the fields to include for returned resources of type betaTesters (optional)
	limit := int32(56) // int32 | maximum resources per page (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelated(context.Background(), id).FieldsBetaTesters(fieldsBetaTesters).Limit(limit).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelated``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsBetaTestersGetToManyRelated`: BetaTestersWithoutIncludesResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelated`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBetaTestersGetToManyRelatedRequest struct via the builder pattern

Name Type Description Notes

fieldsBetaTesters | []string | the fields to include for returned resources of type betaTesters | limit | int32 | maximum resources per page |

Return type

BetaTestersWithoutIncludesResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBetaTestersGetToManyRelationship

BetaGroupBetaTestersLinkagesResponse BetaGroupsBetaTestersGetToManyRelationship(ctx, id).Limit(limit).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	limit := int32(56) // int32 | maximum resources per page (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelationship(context.Background(), id).Limit(limit).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsBetaTestersGetToManyRelationship`: BetaGroupBetaTestersLinkagesResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsBetaTestersGetToManyRelationship`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBetaTestersGetToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

limit | int32 | maximum resources per page |

Return type

BetaGroupBetaTestersLinkagesResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBuildsCreateToManyRelationship

BetaGroupsBuildsCreateToManyRelationship(ctx, id).BetaGroupBuildsLinkagesRequest(betaGroupBuildsLinkagesRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	betaGroupBuildsLinkagesRequest := *openapiclient.NewBetaGroupBuildsLinkagesRequest([]openapiclient.AppEncryptionDeclarationRelationshipsBuildsDataInner{*openapiclient.NewAppEncryptionDeclarationRelationshipsBuildsDataInner("Type_example", "Id_example")}) // BetaGroupBuildsLinkagesRequest | List of related linkages

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.BetaGroupsAPI.BetaGroupsBuildsCreateToManyRelationship(context.Background(), id).BetaGroupBuildsLinkagesRequest(betaGroupBuildsLinkagesRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBuildsCreateToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBuildsCreateToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

betaGroupBuildsLinkagesRequest | BetaGroupBuildsLinkagesRequest | List of related linkages |

Return type

(empty response body)

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBuildsDeleteToManyRelationship

BetaGroupsBuildsDeleteToManyRelationship(ctx, id).BetaGroupBuildsLinkagesRequest(betaGroupBuildsLinkagesRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	betaGroupBuildsLinkagesRequest := *openapiclient.NewBetaGroupBuildsLinkagesRequest([]openapiclient.AppEncryptionDeclarationRelationshipsBuildsDataInner{*openapiclient.NewAppEncryptionDeclarationRelationshipsBuildsDataInner("Type_example", "Id_example")}) // BetaGroupBuildsLinkagesRequest | List of related linkages

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.BetaGroupsAPI.BetaGroupsBuildsDeleteToManyRelationship(context.Background(), id).BetaGroupBuildsLinkagesRequest(betaGroupBuildsLinkagesRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBuildsDeleteToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBuildsDeleteToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

betaGroupBuildsLinkagesRequest | BetaGroupBuildsLinkagesRequest | List of related linkages |

Return type

(empty response body)

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBuildsGetToManyRelated

BuildsWithoutIncludesResponse BetaGroupsBuildsGetToManyRelated(ctx, id).FieldsBuilds(fieldsBuilds).Limit(limit).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	fieldsBuilds := []string{"FieldsBuilds_example"} // []string | the fields to include for returned resources of type builds (optional)
	limit := int32(56) // int32 | maximum resources per page (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsBuildsGetToManyRelated(context.Background(), id).FieldsBuilds(fieldsBuilds).Limit(limit).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBuildsGetToManyRelated``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsBuildsGetToManyRelated`: BuildsWithoutIncludesResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsBuildsGetToManyRelated`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBuildsGetToManyRelatedRequest struct via the builder pattern

Name Type Description Notes

fieldsBuilds | []string | the fields to include for returned resources of type builds | limit | int32 | maximum resources per page |

Return type

BuildsWithoutIncludesResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsBuildsGetToManyRelationship

BetaGroupBuildsLinkagesResponse BetaGroupsBuildsGetToManyRelationship(ctx, id).Limit(limit).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	limit := int32(56) // int32 | maximum resources per page (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsBuildsGetToManyRelationship(context.Background(), id).Limit(limit).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsBuildsGetToManyRelationship``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsBuildsGetToManyRelationship`: BetaGroupBuildsLinkagesResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsBuildsGetToManyRelationship`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsBuildsGetToManyRelationshipRequest struct via the builder pattern

Name Type Description Notes

limit | int32 | maximum resources per page |

Return type

BetaGroupBuildsLinkagesResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsCreateInstance

BetaGroupResponse BetaGroupsCreateInstance(ctx).BetaGroupCreateRequest(betaGroupCreateRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	betaGroupCreateRequest := *openapiclient.NewBetaGroupCreateRequest(*openapiclient.NewBetaGroupCreateRequestData("Type_example", *openapiclient.NewBetaGroupCreateRequestDataAttributes("Name_example"), *openapiclient.NewBetaGroupCreateRequestDataRelationships(*openapiclient.NewAnalyticsReportRequestCreateRequestDataRelationshipsApp(*openapiclient.NewAlternativeDistributionKeyCreateRequestDataRelationshipsAppData("Type_example", "Id_example"))))) // BetaGroupCreateRequest | BetaGroup representation

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsCreateInstance(context.Background()).BetaGroupCreateRequest(betaGroupCreateRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsCreateInstance``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsCreateInstance`: BetaGroupResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsCreateInstance`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsCreateInstanceRequest struct via the builder pattern

Name Type Description Notes
betaGroupCreateRequest BetaGroupCreateRequest BetaGroup representation

Return type

BetaGroupResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsDeleteInstance

BetaGroupsDeleteInstance(ctx, id).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.BetaGroupsAPI.BetaGroupsDeleteInstance(context.Background(), id).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsDeleteInstance``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsDeleteInstanceRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsGetCollection

BetaGroupsResponse BetaGroupsGetCollection(ctx).FilterName(filterName).FilterIsInternalGroup(filterIsInternalGroup).FilterPublicLinkEnabled(filterPublicLinkEnabled).FilterPublicLinkLimitEnabled(filterPublicLinkLimitEnabled).FilterPublicLink(filterPublicLink).FilterApp(filterApp).FilterBuilds(filterBuilds).FilterId(filterId).Sort(sort).FieldsBetaGroups(fieldsBetaGroups).FieldsApps(fieldsApps).FieldsBuilds(fieldsBuilds).FieldsBetaTesters(fieldsBetaTesters).Limit(limit).Include(include).LimitBetaTesters(limitBetaTesters).LimitBuilds(limitBuilds).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	filterName := []string{"Inner_example"} // []string | filter by attribute 'name' (optional)
	filterIsInternalGroup := []string{"Inner_example"} // []string | filter by attribute 'isInternalGroup' (optional)
	filterPublicLinkEnabled := []string{"Inner_example"} // []string | filter by attribute 'publicLinkEnabled' (optional)
	filterPublicLinkLimitEnabled := []string{"Inner_example"} // []string | filter by attribute 'publicLinkLimitEnabled' (optional)
	filterPublicLink := []string{"Inner_example"} // []string | filter by attribute 'publicLink' (optional)
	filterApp := []string{"Inner_example"} // []string | filter by id(s) of related 'app' (optional)
	filterBuilds := []string{"Inner_example"} // []string | filter by id(s) of related 'builds' (optional)
	filterId := []string{"Inner_example"} // []string | filter by id(s) (optional)
	sort := []string{"Sort_example"} // []string | comma-separated list of sort expressions; resources will be sorted as specified (optional)
	fieldsBetaGroups := []string{"FieldsBetaGroups_example"} // []string | the fields to include for returned resources of type betaGroups (optional)
	fieldsApps := []string{"FieldsApps_example"} // []string | the fields to include for returned resources of type apps (optional)
	fieldsBuilds := []string{"FieldsBuilds_example"} // []string | the fields to include for returned resources of type builds (optional)
	fieldsBetaTesters := []string{"FieldsBetaTesters_example"} // []string | the fields to include for returned resources of type betaTesters (optional)
	limit := int32(56) // int32 | maximum resources per page (optional)
	include := []string{"Include_example"} // []string | comma-separated list of relationships to include (optional)
	limitBetaTesters := int32(56) // int32 | maximum number of related betaTesters returned (when they are included) (optional)
	limitBuilds := int32(56) // int32 | maximum number of related builds returned (when they are included) (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsGetCollection(context.Background()).FilterName(filterName).FilterIsInternalGroup(filterIsInternalGroup).FilterPublicLinkEnabled(filterPublicLinkEnabled).FilterPublicLinkLimitEnabled(filterPublicLinkLimitEnabled).FilterPublicLink(filterPublicLink).FilterApp(filterApp).FilterBuilds(filterBuilds).FilterId(filterId).Sort(sort).FieldsBetaGroups(fieldsBetaGroups).FieldsApps(fieldsApps).FieldsBuilds(fieldsBuilds).FieldsBetaTesters(fieldsBetaTesters).Limit(limit).Include(include).LimitBetaTesters(limitBetaTesters).LimitBuilds(limitBuilds).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsGetCollection``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsGetCollection`: BetaGroupsResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsGetCollection`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsGetCollectionRequest struct via the builder pattern

Name Type Description Notes
filterName []string filter by attribute 'name'
filterIsInternalGroup []string filter by attribute 'isInternalGroup'
filterPublicLinkEnabled []string filter by attribute 'publicLinkEnabled'
filterPublicLinkLimitEnabled []string filter by attribute 'publicLinkLimitEnabled'
filterPublicLink []string filter by attribute 'publicLink'
filterApp []string filter by id(s) of related 'app'
filterBuilds []string filter by id(s) of related 'builds'
filterId []string filter by id(s)
sort []string comma-separated list of sort expressions; resources will be sorted as specified
fieldsBetaGroups []string the fields to include for returned resources of type betaGroups
fieldsApps []string the fields to include for returned resources of type apps
fieldsBuilds []string the fields to include for returned resources of type builds
fieldsBetaTesters []string the fields to include for returned resources of type betaTesters
limit int32 maximum resources per page
include []string comma-separated list of relationships to include
limitBetaTesters int32 maximum number of related betaTesters returned (when they are included)
limitBuilds int32 maximum number of related builds returned (when they are included)

Return type

BetaGroupsResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsGetInstance

BetaGroupResponse BetaGroupsGetInstance(ctx, id).FieldsBetaGroups(fieldsBetaGroups).FieldsApps(fieldsApps).FieldsBuilds(fieldsBuilds).FieldsBetaTesters(fieldsBetaTesters).Include(include).LimitBetaTesters(limitBetaTesters).LimitBuilds(limitBuilds).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	fieldsBetaGroups := []string{"FieldsBetaGroups_example"} // []string | the fields to include for returned resources of type betaGroups (optional)
	fieldsApps := []string{"FieldsApps_example"} // []string | the fields to include for returned resources of type apps (optional)
	fieldsBuilds := []string{"FieldsBuilds_example"} // []string | the fields to include for returned resources of type builds (optional)
	fieldsBetaTesters := []string{"FieldsBetaTesters_example"} // []string | the fields to include for returned resources of type betaTesters (optional)
	include := []string{"Include_example"} // []string | comma-separated list of relationships to include (optional)
	limitBetaTesters := int32(56) // int32 | maximum number of related betaTesters returned (when they are included) (optional)
	limitBuilds := int32(56) // int32 | maximum number of related builds returned (when they are included) (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsGetInstance(context.Background(), id).FieldsBetaGroups(fieldsBetaGroups).FieldsApps(fieldsApps).FieldsBuilds(fieldsBuilds).FieldsBetaTesters(fieldsBetaTesters).Include(include).LimitBetaTesters(limitBetaTesters).LimitBuilds(limitBuilds).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsGetInstance``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsGetInstance`: BetaGroupResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsGetInstance`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsGetInstanceRequest struct via the builder pattern

Name Type Description Notes

fieldsBetaGroups | []string | the fields to include for returned resources of type betaGroups | fieldsApps | []string | the fields to include for returned resources of type apps | fieldsBuilds | []string | the fields to include for returned resources of type builds | fieldsBetaTesters | []string | the fields to include for returned resources of type betaTesters | include | []string | comma-separated list of relationships to include | limitBetaTesters | int32 | maximum number of related betaTesters returned (when they are included) | limitBuilds | int32 | maximum number of related builds returned (when they are included) |

Return type

BetaGroupResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

BetaGroupsUpdateInstance

BetaGroupResponse BetaGroupsUpdateInstance(ctx, id).BetaGroupUpdateRequest(betaGroupUpdateRequest).Execute()

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)

func main() {
	id := "id_example" // string | the id of the requested resource
	betaGroupUpdateRequest := *openapiclient.NewBetaGroupUpdateRequest(*openapiclient.NewBetaGroupUpdateRequestData("Type_example", "Id_example")) // BetaGroupUpdateRequest | BetaGroup representation

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.BetaGroupsAPI.BetaGroupsUpdateInstance(context.Background(), id).BetaGroupUpdateRequest(betaGroupUpdateRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `BetaGroupsAPI.BetaGroupsUpdateInstance``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `BetaGroupsUpdateInstance`: BetaGroupResponse
	fmt.Fprintf(os.Stdout, "Response from `BetaGroupsAPI.BetaGroupsUpdateInstance`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string the id of the requested resource

Other Parameters

Other parameters are passed through a pointer to a apiBetaGroupsUpdateInstanceRequest struct via the builder pattern

Name Type Description Notes

betaGroupUpdateRequest | BetaGroupUpdateRequest | BetaGroup representation |

Return type

BetaGroupResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]