Include all available model properties in REST endpoints
Summary
As a developer or an API user, I want to see all properties for the objects in their respective REST APIs so that I can work effectively with them.
Note: Including truly all of the available properties may be overkill here. During development, please use good judgment to include all properties that may be useful or relevant to us as developers.
Acceptance Criteria
-
Verify /api/v1/account/
includes all useful Account and AwsAccount model properties -
Verify /api/v1/image/
includes all useful MachineImage and AwsMachineImage model properties -
Verify /api/v1/instance/
includes all useful Instance and AwsInstance model properties -
Verify /api/v1/event/
includes all useful InstanceEvent and AwsInstanceEvent model properties
Assumptions and Questions
- We recently discovered that that image response doesn't include the name, making it very difficult to identify an image we were looking for.
Edited by werwty