All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
ActorsGetCollection | Get /v1/actors | |
ActorsGetInstance | Get /v1/actors/{id} |
ActorsResponse ActorsGetCollection(ctx).FilterId(filterId).FieldsActors(fieldsActors).Limit(limit).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)
func main() {
filterId := []string{"Inner_example"} // []string | filter by id(s)
fieldsActors := []string{"FieldsActors_example"} // []string | the fields to include for returned resources of type actors (optional)
limit := int32(56) // int32 | maximum resources per page (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ActorsAPI.ActorsGetCollection(context.Background()).FilterId(filterId).FieldsActors(fieldsActors).Limit(limit).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ActorsAPI.ActorsGetCollection``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ActorsGetCollection`: ActorsResponse
fmt.Fprintf(os.Stdout, "Response from `ActorsAPI.ActorsGetCollection`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiActorsGetCollectionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filterId | []string | filter by id(s) | |
fieldsActors | []string | the fields to include for returned resources of type actors | |
limit | int32 | maximum resources per page |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ActorResponse ActorsGetInstance(ctx, id).FieldsActors(fieldsActors).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/spyrosmouchlianitis/appstoreconnect-client"
)
func main() {
id := "id_example" // string | the id of the requested resource
fieldsActors := []string{"FieldsActors_example"} // []string | the fields to include for returned resources of type actors (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ActorsAPI.ActorsGetInstance(context.Background(), id).FieldsActors(fieldsActors).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ActorsAPI.ActorsGetInstance``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ActorsGetInstance`: ActorResponse
fmt.Fprintf(os.Stdout, "Response from `ActorsAPI.ActorsGetInstance`: %v\n", resp)
}
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 are passed through a pointer to a apiActorsGetInstanceRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
fieldsActors | []string | the fields to include for returned resources of type actors |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]