Palo Alto Networks interview question

Design an API with python, using idea you can choose