rackspace/openstack.net — pull request #79 by Dan-Pallone-II (2013-04-24 20:16:51+00:00)
Title: [Delivers #43555669 #43555813] List Audits functionality, tests coverage

https://www.pivotaltracker.com/story/show/43555669
https://www.pivotaltracker.com/story/show/43555813

## Changes

* Added the Account LIST AUDITS Functionality for Monitoring

* Added all Objects

## TESTING

* End to end testing with the API calls and created 2 intergration tests to compare output

### References

http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/service-account.html#d444e1296

http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/overview.html

# SAMPLE

```
{
"values": [
{
"id": "96c3b010-ac59-11e2-b991-c49544694625",
"timestamp": 1366751155601,
"headers": {
"host": "monitoring.api.rackspacecloud.com",
"content-type": "application/json",
"expect": "100-continue",
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"x-lb": "ord1-maas-prod-api1",
"x-forwarded-host": "monitoring.api.rackspacecloud.com",
"x-forwarded-server": "monitoring.api.rackspacecloud.com",
"connection": "Keep-Alive",
"content-length": "366"
},
"url": "/v1.0/407353/entities",
"app": "entities",
"query": {},
"txnId": ".rh-rhYA.h-dfw1-maas-prod-api1.r-x6wKu4P5.c-10415549.ts-1366751155590.v-a586097",
"payload": "{\"label\":\"bm-paste-test\",\"ip_addresses\":{\"access_ip0_v6\":\"2001:4800:7812:0514:f218:7a17:ff04:fff8\",\"public0_v6\":\"2001:4800:7812:0514:f218:7a17:ff04:fff8\",\"access_ip1_v4\":\"166.78.60.243\",\"private0_v4\":\"10.182.14.70\",\"public1_v4\":\"166.78.60.243\"},\"managed\":false,\"uri\":\"https://dfw.servers.api.rackspacecloud.com/407353/servers/6dc47d19-ab05-498e-aab5-f0e59dbb532d\"}",
"method": "POST",
"account_id": "407353",
"who": "rackspace_cloud_automation",
"why": "",
"statusCode": 201
}
],
"metadata": {
"count": 1,
"limit": 100,
"marker": null,
"next_marker": null,
"next_href": null
}
}
```