constants

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// EndpointFirmwaresAllV3 returns all Mac device models and their complete
	// firmware history in a single condensed JSON response.
	// GET https://api.ipsw.me/v3/firmwares.json/condensed
	EndpointFirmwaresAllV3 = "https://api.ipsw.me/v3/firmwares.json/condensed"

	// EndpointFirmwaresByDeviceV4 is the base path for device-specific firmware
	// queries. Append "/{identifier}?type=ipsw" before use.
	// GET https://api.ipsw.me/v4/device/{identifier}?type=ipsw
	EndpointFirmwaresByDeviceV4 = "https://api.ipsw.me/v4/device"

	// EndpointGDMFVersions returns all currently-signed firmware versions across
	// macOS, iOS, and visionOS, with posting/expiration dates and supported devices.
	// GET https://gdmf.apple.com/v2/pmv
	EndpointGDMFVersions = "https://gdmf.apple.com/v2/pmv"

	// AppleCDNBaseURL is the base URL for Apple's firmware CDN.
	// IPSW files live under: {AppleCDNBaseURL}/{catalogRelease}/fullrestores/{assetID}/{uuid}/{filename}.ipsw
	AppleCDNBaseURL = "https://updates.cdn-apple.com"
)
View Source
const (
	// ApplicationJSON is the MIME type for JSON content.
	ApplicationJSON = "application/json"

	// OctetStream is the MIME type for binary content (IPSW files).
	OctetStream = "binary/octet-stream"
)

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