Python3 FastAPI based REST API for storing and vending group memberships. Groups can have many members. Members are simply records with their type annoted in a 'type' column'. Every record, group or member, has an entry in a records table (types detailed below). The API is self documenting with OpenAPI (swagger) metadata.
The intention behind operations is to allow for eventual garbage collection of member records. These are units of work that operate on records within the database but shouldn't lock tables. Efforts will be made to perform partial updates and soft-delete memberships when external sytems notify of memberships being removed, the issue is that delta synchronization systems carry no guarantees, sometimes the system just doesn't tell you when someone was removed. That shorcoming can be worked around by triggering a member clean-up operation after a full-update, any membership whos last_operation_id value is less than the most recent completed full-update can be assumed no longer a member and soft