IbisMethods¶
Class in module ibisclient.methods
- class IbisMethods(conn)¶
Bases:
object
Common methods for searching for objects in the Lookup/Ibis database.
Code author: Dean Rasheed (dev-group@ucs.cam.ac.uk)
- getLastTransactionId()¶
Get the ID of the last (most recent) transaction.
A transaction represents an edit made to data in Lookup. Each transaction is assigned a unique, sequential, numeric ID. Thus this last transaction ID will increase each time some data in Lookup is changed.
[ HTTP: GET /api/v1/last-transaction ]
- Returns
- long
The ID of the latest transaction.
- getVersion()¶
Get the current API version number.
[ HTTP: GET /api/v1/version ]
- Returns
- str
The API version number string.