constants

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOAuthTokenEndpoint = "https://account.apple.com/auth/oauth2/v2/token"
	DefaultJWTAudience        = "appstoreconnect-v1"
)

OAuth 2.0 / JWT Authentication endpoints and configuration

View Source
const (
	ScopeBusinessAPI = "business.api"
	ScopeSchoolAPI   = "school.api"
)

OAuth scope constants

View Source
const (
	EndpointOrgDevices          = APIVersionV1 + "/orgDevices"
	EndpointMDMServers          = APIVersionV1 + "/mdmServers"
	EndpointOrgDeviceActivities = APIVersionV1 + "/orgDeviceActivities"
	EndpointAuditEvents         = APIVersionV1 + "/auditEvents"
	EndpointUsers               = APIVersionV1 + "/users"
	EndpointUserGroups          = APIVersionV1 + "/userGroups"
	EndpointApps                = APIVersionV1 + "/apps"
	EndpointPackages            = APIVersionV1 + "/packages"
	EndpointConfigurations      = APIVersionV1 + "/configurations"
	EndpointBlueprints          = APIVersionV1 + "/blueprints"
)

Endpoint path constants for the Apple Business Manager API

View Source
const (
	APIVersionV1 = "/v1"
)

API version prefix

View Source
const (
	ApplicationJSON = "application/json"
)

MIME type constants for HTTP headers

View Source
const (
	DefaultBaseURL = "https://api-business.apple.com"
)

API base URL

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL