Methods to represent api database.