Amach interview question

How would you go about designing an API using AWS API Gaateway