Documentation
¶
Index ¶
- Constants
- Variables
- type Package
- type StandaloneBetaResponse
- type StandaloneBetaService
- func (s *StandaloneBetaService) GetLatestV1(ctx context.Context) (*StandaloneBetaResponse, error)
- func (s *StandaloneBetaService) GetPackageByApplicationIDV1(ctx context.Context, appID string) (*Package, error)
- func (s *StandaloneBetaService) GetPackageByNameV1(ctx context.Context, name string) (*Package, error)
Constants ¶
const ( AppIDWord = "MSWD2019" AppIDExcel = "XCEL2019" AppIDPowerPoint = "PPT32019" AppIDOutlook = "OPIM2019" AppIDOneNote = "ONMC2019" AppIDTeams = "TEAMS21" AppIDSkypeForBiz = "MSFB16" AppIDDefenderEP = "WDAV00" AppIDDefenderCons = "WDAVC00" AppIDDefenderShim = "WDAVS00" AppIDCompanyPortal = "IMCP01" AppIDAutoUpdate = "MSau04" AppIDWindowsApp = "MSRD10" AppIDCopilot = "MSCP10" AppIDQuickAssist = "MSQA01" AppIDRemoteHelp = "MSRH01" AppIDLicensing = "OLIC02" )
Beta channel application IDs. The beta (Insider Fast) channel hosts the same application IDs as production. See standalone package for the full list and bundle ID mappings.
Variables ¶
var AllAppIDs = []string{ AppIDWord, AppIDExcel, AppIDPowerPoint, AppIDOutlook, AppIDOneNote, AppIDTeams, AppIDSkypeForBiz, AppIDDefenderEP, AppIDDefenderCons, AppIDDefenderShim, AppIDCompanyPortal, AppIDAutoUpdate, AppIDWindowsApp, AppIDCopilot, AppIDQuickAssist, AppIDRemoteHelp, AppIDLicensing, }
AllAppIDs is the ordered list of all beta channel application IDs.
var AppNames = map[string]string{ AppIDWord: "Microsoft Word", AppIDExcel: "Microsoft Excel", AppIDPowerPoint: "Microsoft PowerPoint", AppIDOutlook: "Microsoft Outlook", AppIDOneNote: "Microsoft OneNote", AppIDTeams: "Microsoft Teams", AppIDSkypeForBiz: "Skype for Business", AppIDDefenderEP: "Microsoft Defender (Endpoint)", AppIDDefenderCons: "Microsoft Defender (Consumer)", AppIDDefenderShim: "Microsoft Defender (Shim)", AppIDCompanyPortal: "Intune Company Portal", AppIDAutoUpdate: "Microsoft AutoUpdate", AppIDWindowsApp: "Windows App", AppIDCopilot: "Microsoft 365 Copilot", AppIDQuickAssist: "Quick Assist", AppIDRemoteHelp: "Remote Help", AppIDLicensing: "Licensing Helper Tool", }
AppNames maps application ID to human-readable display name.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct {
ApplicationID string
Title string
ShortVersion string
FullVersion string
UpdateVersion string
MinimumOS string
Location string
AppOnlyLocation string
Hash string
HashSHA256 string
AppOnlyHash string
AppOnlyHashSHA256 string
Date string
}
Package represents a single Microsoft application beta update entry.
type StandaloneBetaResponse ¶
type StandaloneBetaResponse struct {
Packages []*Package
}
StandaloneBetaResponse holds all packages fetched from the beta CDN channel.
type StandaloneBetaService ¶
type StandaloneBetaService struct {
// contains filtered or unexported fields
}
StandaloneBetaService fetches macOS standalone application metadata from the Microsoft Office CDN beta (Insider Fast) channel.
Beta builds are pre-release and may change more frequently than production.
func NewService ¶
func NewService(c client.Client) *StandaloneBetaService
NewService creates a new StandaloneBetaService targeting the beta CDN channel.
func (*StandaloneBetaService) GetLatestV1 ¶
func (s *StandaloneBetaService) GetLatestV1(ctx context.Context) (*StandaloneBetaResponse, error)
GetLatestV1 fetches the latest beta metadata for all known standalone applications.
GET https://officecdnmac.microsoft.com/pr/{betaChannelUUID}/MacAutoupdate/{AppID}.xml
func (*StandaloneBetaService) GetPackageByApplicationIDV1 ¶
func (s *StandaloneBetaService) GetPackageByApplicationIDV1(ctx context.Context, appID string) (*Package, error)
GetPackageByApplicationIDV1 fetches beta metadata for a single application by ID.
GET https://officecdnmac.microsoft.com/pr/{betaChannelUUID}/MacAutoupdate/{AppID}.xml
func (*StandaloneBetaService) GetPackageByNameV1 ¶
func (s *StandaloneBetaService) GetPackageByNameV1(ctx context.Context, name string) (*Package, error)
GetPackageByNameV1 fetches beta metadata for the application with the given display name.