Openprovider interview question

Creating an API to return some data from a stateful set