Thrift module: ua

ModuleServicesData typesConstants
ua DeviceType
NameAndVersion
UserAgent
UserAgentType

Enumerations

Enumeration: UserAgentType


BROWSER1 A web browser, especially on a desktop, notebook or workstation
EMAIL_CLIENT100 An email client, email reader
FEED_READER101 A news aggregator, also termed a feed aggregator, feed reader, news reader, RSS reader or simply aggregator
LIBRARY102 A library is a collection of resources used to develop software.
MEDIAPLAYER103 Media player, also called multimedia player, is a term typically used to describe computer software for playing back multimedia files.
MOBILE_BROWSER2 A mobile browser, also called a microbrowser, minibrowser, or wireless internet browser (WIB), is a web browser designed for use on a mobile device.
OFFLINE_BROWSER104 Offline browser which may download completely or partially a website to a hard drive
OTHER3 A software that doesn't match the other types
ROBOT4 Bots, such as Web crawlers
UNKNOWN5 An unknown user agent type
USERAGENT_ANONYMIZER105 A software to hide the real user agent information
VALIDATOR106 A software or service that validates parts of a website or webservice, such as CSS, HTML, JSON, XML
WAP_BROWSER107 A WAP browser is a web browser for mobile devices such as mobile phones that uses the Wireless Application Protocol (WAP). WAP is a technical standard for accessing information over a mobile wireless network.
GUARDIAN_NATIVE_APP6 One of the guardian native apps

Enumeration: DeviceType


GAME_CONSOLE1 A game console is an interactive computer that produces a video display signal which can be used with a display device (a television, monitor, etc.) to display a video game. The term "game console" is used to distinguish a machine designed for people to buy and use primarily for playing video games on a TV in contrast to arcade machines, handheld game consoles, or home computers.
PDA3 A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. PDAs are largely considered obsolete with the widespread adoption of smartphones.
PERSONAL_COMPUTER4 A personal computer (PC) is a general-purpose computer, whose size, capabilities, and original sale price makes it useful for individuals, and which is intended to be operated directly by an end-user with no intervening computer operator.
SMART_TV5 A smart TV, sometimes referred to as connected TV or hybrid TV
SMARTPHONE6 A smartphone is a mobile phone built on a mobile operating system, with more advanced computing capability and connectivity than a feature phone
TABLET7 A tablet computer, or simply tablet, is a mobile computer with display, circuitry and battery in a single unit. Tablets are often equipped with sensors, including cameras, microphone, accelerometer and touchscreen, with finger or stylus gestures replacing computer mouse and keyboard.
UNKNOWN8 An unknown device category
WEARABLE_COMPUTER9 Wearable computers, also known as body-borne computers are miniature electronic devices that are worn by the bearer under, with or on top of clothing.
OTHER10 A device that doesn't match the other categories
GUARDIAN_ANDROID_NATIVE_APP11 The Guardian android native app
GUARDIAN_IOS_NATIVE_APP12 The Guardian iOS native app
GUARDIAN_WINDOWS_APP13 The Guardian iOS native app

Data structures

Struct: NameAndVersion

KeyFieldTypeDescriptionRequirednessDefault value
1namestringrequired
2versionstringoptional

Struct: UserAgent

KeyFieldTypeDescriptionRequirednessDefault value
1userAgentStringstringThe raw user agent string supplied Note that for guardian native app events this is likely misleading, as it often represents the library that the app used to make the request required
2typeUserAgentTypeThe classification of this user agent optional
3osNameAndVersionThe operating system this request was made from optional
4familyNameAndVersionThe family name and version of the user agent e.g. Firefox 13.0 or iOS Core 3.1.1 optional
5deviceDeviceTypeDevice class of this user agent optional
6modelnativeapp.DeviceFull device model and manufacturer Only populated for native apps, where this data is available. optional

Details about the user agent (browser or native application) that made this request