{"type":"model","meta":{"id":"/apps/pubhub/media/000-v7-apis/5b3454a4300b838cc17f7b2cdc0690fdd15058d5/2b2b6ad2-c7ea-34b5-965b-dc68435b9852","info":{"description":"The Emulation API facilitates the retrieval of user-agent strings for HTTP, pageload, and transaction tests. It also enables the retrieval and addition of emulated devices for pageload and transaction tests.\n\nTo access Emulation API operations, the following permissions are required:\n\n* `Settings Tests Read` for read operations.\n* `Settings Tests Update` for write operations.\n","title":"Emulation API","version":"7.0.34"},"security":[{"BearerAuth":[]}],"tags":[{"name":"Emulation"}],"openapi":"3.0.1","servers":[{"description":"ThousandEyes API production URL","url":"https://api.thousandeyes.com/v7"}],"securitySchemes":{"BearerAuth":{"description":"Bearer authentication token","scheme":"bearer","type":"http"}}},"spec":{"properties":{"emulatedDevices":{"items":{"properties":{"category":{"description":"The type of device being emulated.","enum":["desktop","laptop","phone","tablet"],"example":"desktop","type":"string","$$ref":"#/components/schemas/EmulatedDeviceCategory"},"width":{"description":"The width of the display of the emulated device.","example":1024,"maximum":9999,"minimum":50,"type":"integer"},"height":{"description":"The height of the display of the emulated device.","example":768,"maximum":9999,"minimum":50,"type":"integer"},"name":{"description":"The device name","example":"iPad Pro 12.9-in","type":"string"},"codeName":{"description":"A code corresponding to the device name.","example":"IPAD_PRO_12_9","type":"string"},"id":{"description":"ID of the emulated device.","example":"11","type":"string"},"availableUserAgents":{"description":"A list of user-agent strings for this emulated device.","example":["Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.70 Mobile Safari/537.36","Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.70 Safari/537.36"],"items":{"type":"string"},"type":"array"},"defaultUserAgentTemplate":{"description":"The default user-agent template to use for this device.","example":"Mozilla/5.0 (Android 4.4; Tablet; rv:70.0) Gecko/70.0 Firefox/70.0","type":"string"}},"required":["category","height","width"],"type":"object","$$ref":"#/components/schemas/EmulatedDeviceResponse"},"type":"array"},"_links":{"description":"A links object containing the self link.","properties":{"self":{"description":"A hyperlink from the containing resource to a URI.","properties":{"href":{"description":"Its value is either a URI [RFC3986] or a URI template [RFC6570].","example":"https://api.thousandeyes.com/v7/link/to/resource/id","type":"string"},"templated":{"description":"Should be true when the link object's \"href\" property is a URI template.","type":"boolean"},"type":{"description":"Used as a hint to indicate the media type expected when dereferencing the target resource.","type":"string"},"deprecation":{"description":"Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation.","type":"string"},"name":{"description":"Its value may be used as a secondary key for selecting link objects that share the same relation type.","type":"string"},"profile":{"description":"A URI that hints about the profile of the target resource.","type":"string"},"title":{"description":"Intended for labelling the link with a human-readable identifier","type":"string"},"hreflang":{"description":"Indicates the language of the target resource","type":"string"}},"required":["href"],"type":"object","$$ref":"#/components/schemas/Link"}},"readOnly":true,"type":"object","$$ref":"#/components/schemas/SelfLinks"}},"type":"object","$$ref":"#/components/schemas/EmulatedDeviceResponses","title":"EmulatedDeviceResponses"}}