Compare Rules Files and Revisions
get
                    /api/rule/Rules/readDiff
Compares the specified rules files or file revisions and creates a diff to show the differences.
                Request
Query Parameters
                    - 
                            fromFile: string
                            
                            The path to the file to compare on the "from" side of the diff.Example:example/base/auto/base.rules
- 
                            fromRevision: string
                            
                            The file revision number to compare on the "from" side of the diff.Example:3
- 
                            toFile: string
                            
                            The path to the file to compare to on the "to" side of the diff.Example:example1/base/auto/base.rules
- 
                            toRevision: string
                            
                            The file revision number to compare to on the "to" side of diff.Example:3
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/json
200 Response
Successful operation
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    data: array
                    
                    
                
                
                    data
                
                
                The diff comparing the rules files.
- 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or failure (false).Example:true
Nested Schema : ruleRulesReadDiff
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    fromFile: string
                    
                    
                     
                    
                
                
                The content of the fileExample:/n=head1 NAME/n/n Auto Discovery Post Discovery Rules/n
- 
                
                    
                    toFile: string
                    
                    
                     
                    
                
                
                The content of the fileExample:/n=head1 NAME/n/n Auto Discovery Post Discovery Rules/n
Default Response
Failed operation
                            
                            
                                Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    errors: array
                    
                    
                
                
                    errors
                
                
                The list of errors reported. Validation errors will be keyed by record field.
- 
                
                    
                    message: string
                    
                    
                     
                    
                
                
                The response message.Example:Exception thrown
- 
                
                    
                    success: boolean
                    
                    
                     
                    
                
                
                Whether the operation was a success (true) or a failure (false).Example:false
Nested Schema : errors
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayThe list of errors reported. Validation errors will be keyed by record field.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                object  items
            
            An error.
Nested Schema : items
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectAn error.