How to Design APIs Like a Senior Engineer (REST, GraphQL, Auth, Security)

1. Understanding the API’s Core Purpose