REVEN API Cookbook
Welcome to the REVEN API Cookbook.
This book is a collection of examples that demonstrate good practices to accomplish common tasks using the REVEN API.
Common abbreviations and variable names
REVEN scripts tend to re-use the same abbreviations and variable names for common objects.
| Abbreviation | Description | 
|---|---|
| server | A reven2.RevenServerinstance representing a connection to a REVEN server | 
| pm | A reven2.preview.project_manager.ProjectManagerinstance representing a connection to the Project Manager | 
| trace | A reven2.trace.Traceinstance, usually obtained fromserver.trace | 
| tr | A reven2.trace.Transitioninstance, usually obtained fromtrace.transition(tr_id) | 
| ctx | A reven2.trace.Contextinstance, usually obtained from e.g.trace.context_before(tr_id) | 
