Documentation
¶
Index ¶
- Constants
- Variables
- type Package
- type StandalonePreviewResponse
- type StandalonePreviewService
- func (s *StandalonePreviewService) GetLatestV1(ctx context.Context) (*StandalonePreviewResponse, error)
- func (s *StandalonePreviewService) GetPackageByApplicationIDV1(ctx context.Context, appID string) (*Package, error)
- func (s *StandalonePreviewService) 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" )
Preview channel application IDs. The preview (Insider Slow) channel hosts the same application IDs as production.
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 preview 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 preview update entry.
type StandalonePreviewResponse ¶
type StandalonePreviewResponse struct {
Packages []*Package
}
StandalonePreviewResponse holds all packages fetched from the preview CDN channel.
type StandalonePreviewService ¶
type StandalonePreviewService struct {
// contains filtered or unexported fields
}
StandalonePreviewService fetches macOS standalone application metadata from the Microsoft Office CDN preview (Insider Slow) channel.
func NewService ¶
func NewService(c client.Client) *StandalonePreviewService
NewService creates a new StandalonePreviewService targeting the preview CDN channel.
func (*StandalonePreviewService) GetLatestV1 ¶
func (s *StandalonePreviewService) GetLatestV1(ctx context.Context) (*StandalonePreviewResponse, error)
GetLatestV1 fetches the latest preview metadata for all known standalone applications.
GET https://officecdnmac.microsoft.com/pr/{previewChannelUUID}/MacAutoupdate/{AppID}.xml
func (*StandalonePreviewService) GetPackageByApplicationIDV1 ¶
func (s *StandalonePreviewService) GetPackageByApplicationIDV1(ctx context.Context, appID string) (*Package, error)
GetPackageByApplicationIDV1 fetches preview metadata for a single application by ID.
GET https://officecdnmac.microsoft.com/pr/{previewChannelUUID}/MacAutoupdate/{AppID}.xml
func (*StandalonePreviewService) GetPackageByNameV1 ¶
func (s *StandalonePreviewService) GetPackageByNameV1(ctx context.Context, name string) (*Package, error)
GetPackageByNameV1 fetches preview metadata for the application with the given display name.