Access to Bugs via Projects API

Access to Bugs via Projects API

How do a get access to the bugs created under a project via the API? What does the response XML look like?