If you're using phidget22, the best place to get info is the product page. The API tab list all your device channels, as well as device specific API.
phidget22 doesn't have a getAttachedDevices call. Currently you would need to listen to Manager attach events to get information about attached devices. We may add an attachedDevices API in the future.
If you're looking to migrate code from phidget21 to phidget22 look here: https://www.phidgets.com/docs/Upgrading ... _Phidget22
An overview of phidget22 is here: https://www.phidgets.com/docs/Phidget22
If you're looking for the phidget22 changelog look here: https://www.phidgets.com/?view=changelog
Please note also that phidget22 and phidget21 are completely separate libraries, and we are maintaining support for both in parallel for the foreseeable future. phidget22 brings a whole new view of Phidgets, moving to a channel model.