Entity API

The Entity API is used by WordPoints to provide a single interface for interacting with any sort of object or “entity”, like posts, users, etc. The API is composed of Entity objects, which represent the entities themselves (the post, user, etc.), Entity Attribute objects, which represent the different fields of the entities (the post title, content, date, etc.), and Entity Relationship objects, which represent the relationship between two different objects (the post and the user that is its author, for example).