Palo Alto Networks Interview Question

Design an API with python, using idea you can choose