getBrowserType
get
                    /ccadmin/v1/browserTypes/{id}
Get details of a browser type including its user agent patterns
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    id: string
                    
                    ID of the browser type. Must be 'snapshot' for user agents that should be served the desktop version of static snapshots, or 'mobileSnapshot' for user agents that should be served the mobile version of static snapshots.
Query Parameters
                - 
                        databaseOnly(optional): boolean
                        
                        Denotes whether to search for the browser type only in database or in the component configuration also.
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getBrowserType_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            id(optional): 
            string
            ID of the browser type
- 
            patterns(optional): 
            array  patterns
            
            List of user agent string patterns
- 
            regexPatterns(optional): 
            array  regexPatterns
            
            List of user agent string regular expression patterns
- 
            viewport(optional): 
            string
            Allowed Values:[ "lg", "xs" ]Viewport associated with this browser type. Must be 'lg' for desktop or 'xs' for mobile.
Nested Schema : regexPatterns
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayList of user agent string regular expression patterns
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Example Response (application/json)
                    {
    "regexPatterns":[
    ],
    "viewport":"lg",
    "patterns":[
        ".*[Ss]lurp",
        ".*YahooSeeker",
        ".*Yahoo.*Crawler"
    ],
    "links":[
        {
            "rel":"self",
            "href":"/ccadmin/v1/browserTypes/snapshot?databaseOnly=false"
        }
    ],
    "id":"snapshot"
}Default Response
The error response.
 The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|17001|Browser type is invalid or non-existent|
|17002|Browser Type Id passed is null or empty|
|17003|Internal error occurred fetching browser type|
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code