Managed by Q interview question

How I would set up the data model for an API.