# README

Go API client for accountmgmtclient

Manage user subscriptions and clusters

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./accountmgmtclient"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:14321

ClassMethodHTTP requestDescription
AppServicesApiApiAccountsMgmtV1AccessTokenPostPost /api/accounts_mgmt/v1/access_tokenReturn access token generated from registries in docker format
AppServicesApiApiAccountsMgmtV1CurrentAccountGetGet /api/accounts_mgmt/v1/current_accountGet the authenticated account
AppServicesApiApiAccountsMgmtV1OrganizationsOrgIdQuotaCostGetGet /api/accounts_mgmt/v1/organizations/{orgId}/quota_costReturns a summary of quota cost
AppServicesApiApiAuthorizationsV1SelfTermsReviewPostPost /api/authorizations/v1/self_terms_reviewReview your status of Terms
DefaultApiApiAccountsMgmtV1AccountsGetGet /api/accounts_mgmt/v1/accountsReturns a list of accounts
DefaultApiApiAccountsMgmtV1AccountsIdGetGet /api/accounts_mgmt/v1/accounts/{id}Get an account by id
DefaultApiApiAccountsMgmtV1AccountsIdLabelsGetGet /api/accounts_mgmt/v1/accounts/{id}/labelsReturns a list of labels
DefaultApiApiAccountsMgmtV1AccountsIdLabelsKeyDeleteDelete /api/accounts_mgmt/v1/accounts/{id}/labels/{key}Delete a label
DefaultApiApiAccountsMgmtV1AccountsIdLabelsKeyGetGet /api/accounts_mgmt/v1/accounts/{id}/labels/{key}Get subscription labels by label key
DefaultApiApiAccountsMgmtV1AccountsIdLabelsKeyPatchPatch /api/accounts_mgmt/v1/accounts/{id}/labels/{key}Create a new label or update an existing label
DefaultApiApiAccountsMgmtV1AccountsIdLabelsPostPost /api/accounts_mgmt/v1/accounts/{id}/labelsCreate a new label or update an existing label
DefaultApiApiAccountsMgmtV1AccountsIdPatchPatch /api/accounts_mgmt/v1/accounts/{id}Update an account
DefaultApiApiAccountsMgmtV1AccountsPostPost /api/accounts_mgmt/v1/accountsCreate a new account
DefaultApiApiAccountsMgmtV1CertificatesPostPost /api/accounts_mgmt/v1/certificatesFetch certificates of a particular type
DefaultApiApiAccountsMgmtV1CloudResourcesGetGet /api/accounts_mgmt/v1/cloud_resourcesReturns a list of cloud resources
DefaultApiApiAccountsMgmtV1CloudResourcesIdDeleteDelete /api/accounts_mgmt/v1/cloud_resources/{id}Delete a cloud resource
DefaultApiApiAccountsMgmtV1CloudResourcesIdGetGet /api/accounts_mgmt/v1/cloud_resources/{id}Get a cloud resource
DefaultApiApiAccountsMgmtV1CloudResourcesIdPatchPatch /api/accounts_mgmt/v1/cloud_resources/{id}Update a cloud resource
DefaultApiApiAccountsMgmtV1CloudResourcesPostPost /api/accounts_mgmt/v1/cloud_resourcesCreate a new cloud resource
DefaultApiApiAccountsMgmtV1ClusterAuthorizationsPostPost /api/accounts_mgmt/v1/cluster_authorizationsAuthorizes new cluster creation against an exsiting RH Subscription.
DefaultApiApiAccountsMgmtV1ClusterRegistrationsPostPost /api/accounts_mgmt/v1/cluster_registrationsFinds or creates a cluster registration with a registy credential token and cluster ID
DefaultApiApiAccountsMgmtV1ClusterTransfersGetGet /api/accounts_mgmt/v1/cluster_transfersList cluster transfers - returns either an empty result set or a valid ClusterTransfer instance that is within a valid transfer window.
DefaultApiApiAccountsMgmtV1ClusterTransfersIdPatchPatch /api/accounts_mgmt/v1/cluster_transfers/{id}Update specific cluster transfer
DefaultApiApiAccountsMgmtV1ClusterTransfersPostPost /api/accounts_mgmt/v1/cluster_transfersInitiate cluster transfer.
DefaultApiApiAccountsMgmtV1ConfigSkusGetGet /api/accounts_mgmt/v1/config/skusReturns a list of skus
DefaultApiApiAccountsMgmtV1ConfigSkusIdDeleteDelete /api/accounts_mgmt/v1/config/skus/{id}Delete a sku
DefaultApiApiAccountsMgmtV1ConfigSkusIdGetGet /api/accounts_mgmt/v1/config/skus/{id}Get a sku
DefaultApiApiAccountsMgmtV1ConfigSkusIdPatchPatch /api/accounts_mgmt/v1/config/skus/{id}Update a Sku
DefaultApiApiAccountsMgmtV1ConfigSkusPostPost /api/accounts_mgmt/v1/config/skusCreate a new sku
DefaultApiApiAccountsMgmtV1DeletedSubscriptionsGetGet /api/accounts_mgmt/v1/deleted_subscriptionsReturns a list of deleted subscriptions
DefaultApiApiAccountsMgmtV1ErrorsGetGet /api/accounts_mgmt/v1/errorsReturns a list of errors
DefaultApiApiAccountsMgmtV1ErrorsIdGetGet /api/accounts_mgmt/v1/errors/{id}Get an error by id
DefaultApiApiAccountsMgmtV1FeatureTogglesIdQueryPostPost /api/accounts_mgmt/v1/feature_toggles/{id}/queryQuery a feature toggle by id
DefaultApiApiAccountsMgmtV1LabelsGetGet /api/accounts_mgmt/v1/labelsReturns a list of labels
DefaultApiApiAccountsMgmtV1LandingPageSelfServiceGetGet /api/accounts_mgmt/v1/landing_page/self_serviceGet a console.redhat.com landing page content JSON schema
DefaultApiApiAccountsMgmtV1MetricsGetGet /api/accounts_mgmt/v1/metricsReturns a list of metrics
DefaultApiApiAccountsMgmtV1NotifyPostPost /api/accounts_mgmt/v1/notifyNotify the owner of cluster/subscription
DefaultApiApiAccountsMgmtV1OrganizationsGetGet /api/accounts_mgmt/v1/organizationsReturns a list of organizations
DefaultApiApiAccountsMgmtV1OrganizationsIdGetGet /api/accounts_mgmt/v1/organizations/{id}Get an organization by id
DefaultApiApiAccountsMgmtV1OrganizationsIdLabelsGetGet /api/accounts_mgmt/v1/organizations/{id}/labelsReturns a list of labels
DefaultApiApiAccountsMgmtV1OrganizationsIdLabelsKeyDeleteDelete /api/accounts_mgmt/v1/organizations/{id}/labels/{key}Delete a label
DefaultApiApiAccountsMgmtV1OrganizationsIdLabelsKeyGetGet /api/accounts_mgmt/v1/organizations/{id}/labels/{key}Get subscription labels by label key
DefaultApiApiAccountsMgmtV1OrganizationsIdLabelsKeyPatchPatch /api/accounts_mgmt/v1/organizations/{id}/labels/{key}Create a new label or update an existing label
DefaultApiApiAccountsMgmtV1OrganizationsIdLabelsPostPost /api/accounts_mgmt/v1/organizations/{id}/labelsCreate a new label or update an existing label
DefaultApiApiAccountsMgmtV1OrganizationsIdPatchPatch /api/accounts_mgmt/v1/organizations/{id}Update an organization
DefaultApiApiAccountsMgmtV1OrganizationsIdSummaryDashboardGetGet /api/accounts_mgmt/v1/organizations/{id}/summary_dashboardReturns a summary of organizations clusters based on metrics
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsAcctGrpAsgnIdDeleteDelete /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId}Delete an account group assignment
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsAcctGrpAsgnIdGetGet /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignments/{acctGrpAsgnId}Get account group assignment by id
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsGetGet /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignmentsReturns a list of account group assignments for the given org
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupAssignmentsPostPost /api/accounts_mgmt/v1/organizations/{orgId}/account_group_assignmentsCreate a new AccountGroupAssignment
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdDeleteDelete /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId}Delete an account group
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdGetGet /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId}Get account group by id
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsAcctGrpIdPatchPatch /api/accounts_mgmt/v1/organizations/{orgId}/account_groups/{acctGrpId}Update an account group
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsGetGet /api/accounts_mgmt/v1/organizations/{orgId}/account_groupsReturns a list of account groups for the given org
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdAccountGroupsPostPost /api/accounts_mgmt/v1/organizations/{orgId}/account_groupsCreate a new AccountGroup
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdConsumedQuotaGetGet /api/accounts_mgmt/v1/organizations/{orgId}/consumed_quotaReturns a list of consumed quota for an organization
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaGetGet /api/accounts_mgmt/v1/organizations/{orgId}/resource_quotaReturns a list of resource quota objects
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaPostPost /api/accounts_mgmt/v1/organizations/{orgId}/resource_quotaCreate a new resource quota
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdDeleteDelete /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId}Delete a resource quota
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdGetGet /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId}Get a resource quota by id
DefaultApiApiAccountsMgmtV1OrganizationsOrgIdResourceQuotaQuotaIdPatchPatch /api/accounts_mgmt/v1/organizations/{orgId}/resource_quota/{quotaId}Update a resource quota
DefaultApiApiAccountsMgmtV1OrganizationsPostPost /api/accounts_mgmt/v1/organizationsCreate a new organization
DefaultApiApiAccountsMgmtV1PlansGetGet /api/accounts_mgmt/v1/plansGet all plans
DefaultApiApiAccountsMgmtV1PlansIdGetGet /api/accounts_mgmt/v1/plans/{id}Get a plan by id
DefaultApiApiAccountsMgmtV1PullSecretsExternalResourceIdDeleteDelete /api/accounts_mgmt/v1/pull_secrets/{externalResourceId}Delete a pull secret
DefaultApiApiAccountsMgmtV1PullSecretsPostPost /api/accounts_mgmt/v1/pull_secretsReturn access token generated from registries in docker format
DefaultApiApiAccountsMgmtV1QuotaCostGetGet /api/accounts_mgmt/v1/quota_costReturns a summary of quota cost for the authenticated user
DefaultApiApiAccountsMgmtV1QuotaRulesGetGet /api/accounts_mgmt/v1/quota_rulesReturns a list of UHC product Quota Rules
DefaultApiApiAccountsMgmtV1QuotasGetGet /api/accounts_mgmt/v1/quotasReturns a list of quotas
DefaultApiApiAccountsMgmtV1QuotasIdDeleteDelete /api/accounts_mgmt/v1/quotas/{id}Delete a quota
DefaultApiApiAccountsMgmtV1QuotasIdGetGet /api/accounts_mgmt/v1/quotas/{id}Get a quota
DefaultApiApiAccountsMgmtV1QuotasIdPatchPatch /api/accounts_mgmt/v1/quotas/{id}Update a quota
DefaultApiApiAccountsMgmtV1QuotasPostPost /api/accounts_mgmt/v1/quotasCreate a new quota
DefaultApiApiAccountsMgmtV1RegistriesGetGet /api/accounts_mgmt/v1/registriesReturns a list of registries
DefaultApiApiAccountsMgmtV1RegistriesIdGetGet /api/accounts_mgmt/v1/registries/{id}Get an registry by id
DefaultApiApiAccountsMgmtV1RegistryCredentialsGetGet /api/accounts_mgmt/v1/registry_credentials
DefaultApiApiAccountsMgmtV1RegistryCredentialsIdDeleteDelete /api/accounts_mgmt/v1/registry_credentials/{id}Delete a registry credential by id
DefaultApiApiAccountsMgmtV1RegistryCredentialsIdGetGet /api/accounts_mgmt/v1/registry_credentials/{id}Get a registry credentials by id
DefaultApiApiAccountsMgmtV1RegistryCredentialsIdPatchPatch /api/accounts_mgmt/v1/registry_credentials/{id}Update a registry credential
DefaultApiApiAccountsMgmtV1RegistryCredentialsPostPost /api/accounts_mgmt/v1/registry_credentialsRequest the creation of a registry credential
DefaultApiApiAccountsMgmtV1ReservedResourcesGetGet /api/accounts_mgmt/v1/reserved_resourcesReturns a list of reserved resources
DefaultApiApiAccountsMgmtV1ResourceQuotaGetGet /api/accounts_mgmt/v1/resource_quotaReturns a list of resource quota objects
DefaultApiApiAccountsMgmtV1RoleBindingsGetGet /api/accounts_mgmt/v1/role_bindingsReturns a list of role bindings
DefaultApiApiAccountsMgmtV1RoleBindingsIdDeleteDelete /api/accounts_mgmt/v1/role_bindings/{id}Delete a role binding
DefaultApiApiAccountsMgmtV1RoleBindingsIdGetGet /api/accounts_mgmt/v1/role_bindings/{id}Get a role binding
DefaultApiApiAccountsMgmtV1RoleBindingsIdPatchPatch /api/accounts_mgmt/v1/role_bindings/{id}Update a role binding
DefaultApiApiAccountsMgmtV1RoleBindingsPostPost /api/accounts_mgmt/v1/role_bindingsCreate a new role binding
DefaultApiApiAccountsMgmtV1RolesGetGet /api/accounts_mgmt/v1/rolesReturns a list of roles
DefaultApiApiAccountsMgmtV1RolesIdGetGet /api/accounts_mgmt/v1/roles/{id}Get a role by id
DefaultApiApiAccountsMgmtV1SelfEntitlementProductPostPost /api/accounts_mgmt/v1/self_entitlement/{product}Create or renew the entitlement to support a product for the user's organization.
DefaultApiApiAccountsMgmtV1SkuRulesGetGet /api/accounts_mgmt/v1/sku_rulesReturns a list of UHC product SKU Rules
DefaultApiApiAccountsMgmtV1SkuRulesIdDeleteDelete /api/accounts_mgmt/v1/sku_rules/{id}Delete a sku rule
DefaultApiApiAccountsMgmtV1SkuRulesIdGetGet /api/accounts_mgmt/v1/sku_rules/{id}Get a sku rules by id
DefaultApiApiAccountsMgmtV1SkuRulesIdPatchPatch /api/accounts_mgmt/v1/sku_rules/{id}Update a sku rule
DefaultApiApiAccountsMgmtV1SkuRulesPostPost /api/accounts_mgmt/v1/sku_rulesCreate a new sku rule
DefaultApiApiAccountsMgmtV1SkusGetGet /api/accounts_mgmt/v1/skusReturns a list of UHC product SKUs
DefaultApiApiAccountsMgmtV1SkusIdGetGet /api/accounts_mgmt/v1/skus/{id}Get a sku by id
DefaultApiApiAccountsMgmtV1SubscriptionsGetGet /api/accounts_mgmt/v1/subscriptionsReturns a list of subscriptions
DefaultApiApiAccountsMgmtV1SubscriptionsIdDeleteDelete /api/accounts_mgmt/v1/subscriptions/{id}Deletes a subscription by id
DefaultApiApiAccountsMgmtV1SubscriptionsIdGetGet /api/accounts_mgmt/v1/subscriptions/{id}Get a subscription by id
DefaultApiApiAccountsMgmtV1SubscriptionsIdLabelsGetGet /api/accounts_mgmt/v1/subscriptions/{id}/labelsReturns a list of labels
DefaultApiApiAccountsMgmtV1SubscriptionsIdLabelsKeyDeleteDelete /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key}Delete a label
DefaultApiApiAccountsMgmtV1SubscriptionsIdLabelsKeyGetGet /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key}Get subscription labels by label key
DefaultApiApiAccountsMgmtV1SubscriptionsIdLabelsKeyPatchPatch /api/accounts_mgmt/v1/subscriptions/{id}/labels/{key}Create a new label or update an existing label
DefaultApiApiAccountsMgmtV1SubscriptionsIdLabelsPostPost /api/accounts_mgmt/v1/subscriptions/{id}/labelsCreate a new label or update an existing label
DefaultApiApiAccountsMgmtV1SubscriptionsIdMetricsMetricNameGetGet /api/accounts_mgmt/v1/subscriptions/{id}/metrics/{metric_name}Get subscription's metrics by metric name
DefaultApiApiAccountsMgmtV1SubscriptionsIdNotifyPostPost /api/accounts_mgmt/v1/subscriptions/{id}/notifyNotify the owner of a subscription
DefaultApiApiAccountsMgmtV1SubscriptionsIdPatchPatch /api/accounts_mgmt/v1/subscriptions/{id}Update a subscription
DefaultApiApiAccountsMgmtV1SubscriptionsIdReservedResourcesGetGet /api/accounts_mgmt/v1/subscriptions/{id}/reserved_resourcesReturns a list of reserved resources
DefaultApiApiAccountsMgmtV1SubscriptionsIdSupportCasesGetGet /api/accounts_mgmt/v1/subscriptions/{id}/support_casesReturns a list of open support creates opened against the external cluster id of this subscrption
DefaultApiApiAccountsMgmtV1SubscriptionsPostPost /api/accounts_mgmt/v1/subscriptionsCreate a new subscription
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsAccountIdDeleteDelete /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contacts/{accountId}Deletes a notification contact by subscription and account id
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsGetGet /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contactsReturns a list of notification contacts for the given subscription
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdNotificationContactsPostPost /api/accounts_mgmt/v1/subscriptions/{subId}/notification_contactsAdd an account as a notification contact to this subscription
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdDeleteDelete /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId}Delete reserved resources by id
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdGetGet /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId}Get reserved resources by id
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdReservedResourcesReservedResourceIdPatchPatch /api/accounts_mgmt/v1/subscriptions/{subId}/reserved_resources/{reservedResourceId}Update a reserved resource
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsGetGet /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindingsGet subscription role bindings
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsIdDeleteDelete /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id}Delete a subscription role binding
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsIdGetGet /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindings/{id}Get a Subscription Role Binding by id
DefaultApiApiAccountsMgmtV1SubscriptionsSubIdRoleBindingsPostPost /api/accounts_mgmt/v1/subscriptions/{subId}/role_bindingsCreate a new subscription role binding
DefaultApiApiAccountsMgmtV1SupportCasesCaseIdDeleteDelete /api/accounts_mgmt/v1/support_cases/{caseId}Delete a support case
DefaultApiApiAccountsMgmtV1SupportCasesPostPost /api/accounts_mgmt/v1/support_casescreate a support case for the subscription
DefaultApiApiAccountsMgmtV1TokenAuthorizationPostPost /api/accounts_mgmt/v1/token_authorizationFinds the account owner of the provided token
DefaultApiApiAuthorizationsV1AccessReviewPostPost /api/authorizations/v1/access_reviewReview an account's access to perform an action on a particular resource or resource type
DefaultApiApiAuthorizationsV1CapabilityReviewPostPost /api/authorizations/v1/capability_reviewReview an account's capabilities
DefaultApiApiAuthorizationsV1ExportControlReviewPostPost /api/authorizations/v1/export_control_reviewDetermine whether a user is restricted from downloading Red Hat software based on export control compliance.
DefaultApiApiAuthorizationsV1FeatureReviewPostPost /api/authorizations/v1/feature_reviewReview feature to perform an action on it such as toggle a feature on/off
DefaultApiApiAuthorizationsV1ResourceReviewPostPost /api/authorizations/v1/resource_reviewObtain resource ids for resources an account may perform the specified action upon. Resource ids returned as ["*"] is shorthand for all ids.
DefaultApiApiAuthorizationsV1SelfAccessReviewPostPost /api/authorizations/v1/self_access_reviewReview your ability to perform an action on a particular resource or resource type
DefaultApiApiAuthorizationsV1SelfFeatureReviewPostPost /api/authorizations/v1/self_feature_reviewReview your ability to toggle a feature
DefaultApiApiAuthorizationsV1SelfResourceReviewPostPost /api/authorizations/v1/self_resource_reviewObtain resource ids for resources you may perform the specified action upon. Resource ids returned as ["*"] is shorthand for all ids.
DefaultApiApiAuthorizationsV1TermsReviewPostPost /api/authorizations/v1/terms_reviewReview an account's status of Terms

Documentation For Models

Documentation For Authorization

AccessToken

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Bearer

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARERTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author