How to Get a List of Fields for a Given Object

In the swagger documentation for an adapter, you can use GET /objects/{objectName}/metadata to return a list of fields for an object.  This API is used by the Sugar Integrate Common resources mapping screen as well.

GET /objects -> return a list of supported objects for the adapter
GET /objects/{objectNameFromAbove}/metadata -> return a list of fields for a given object