Skip to content

Instantly share code, notes, and snippets.

@tcocca
Last active February 23, 2018 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcocca/6ef281036c4e3619172f8c582edf0588 to your computer and use it in GitHub Desktop.
Save tcocca/6ef281036c4e3619172f8c582edf0588 to your computer and use it in GitHub Desktop.
{
"access": {
"token": {
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"expires": "2014-11-24T22:05:39.115Z",
"tenant": {
"id": "110011",
"name": "110011"
},
"RAX-AUTH:authenticatedBy": [
"APIKEY"
]
},
"serviceCatalog": [
{
"name": "cloudDatabases",
"endpoints": [
{
"publicURL": "https://syd.databases.api.rackspacecloud.com/v1.0/110011",
"region": "SYD",
"tenantId": "110011"
},
{
"publicURL": "https://dfw.databases.api.rackspacecloud.com/v1.0/110011",
"region": "DFW",
"tenantId": "110011"
},
{
"publicURL": "https://ord.databases.api.rackspacecloud.com/v1.0/110011",
"region": "ORD",
"tenantId": "110011"
},
{
"publicURL": "https://iad.databases.api.rackspacecloud.com/v1.0/110011",
"region": "IAD",
"tenantId": "110011"
},
{
"publicURL": "https://hkg.databases.api.rackspacecloud.com/v1.0/110011",
"region": "HKG",
"tenantId": "110011"
}
],
"type": "rax:database"
},
...
{
"name": "cloudDNS",
"endpoints": [
{
"publicURL": "https://dns.api.rackspacecloud.com/v1.0/110011",
"tenantId": "110011"
}
],
"type": "rax:dns"
},
{
"name": "rackCDN",
"endpoints": [
{
"internalURL": "https://global.cdn.api.rackspacecloud.com/v1.0/110011",
"publicURL": "https://global.cdn.api.rackspacecloud.com/v1.0/110011",
"tenantId": "110011"
}
],
"type": "rax:cdn"
}
],
"user": {
"id": "123456",
"roles": [
{
"description": "A Role that allows a user access to keystone Service methods",
"id": "6",
"name": "compute:default",
"tenantId": "110011"
},
{
"description": "User Admin Role.",
"id": "3",
"name": "identity:user-admin"
}
],
"name": "jsmith",
"RAX-AUTH:defaultRegion": "ORD"
}
}
}
{
"request": "{\"records\":[{\"name\":\"_acme-challenge.example.com\",\"type\":\"TXT\",\"data\":\"XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs\",\"ttl\":300}]}",
"status": "RUNNING",
"verb": "POST",
"jobId": "1ae0a6b2-ca37-4ba3-a38c-87d4ef96574d",
"callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/110011/status/1ae0a6b2-ca37-4ba3-a38c-87d4ef96574d",
"requestUrl": "https://dns.api.rackspacecloud.com/v1.0/110011/domains/2725233/records"
}
{
"status": "RUNNING",
"verb": "DELETE",
"jobId": "943b6080-aa5a-4c2d-baa2-b1135ec45ec5",
"callbackUrl": "https://dns.api.rackspacecloud.com/v1.0/110011/status/943b6080-aa5a-4c2d-baa2-b1135ec45ec5",
"requestUrl": "https://dns.api.rackspacecloud.com/v1.0/110011/domains/1426721/recordsid=TXT-1646796"
}
{
"records": [
{
"name": "_spf-record.example.com",
"id": "TXT-1646776",
"type": "TXT",
"data": "57ghgnsnosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs",
"ttl": 300,
"updated": "2018-02-23T21:03:50.000+0000",
"created": "2018-02-23T21:03:50.000+0000"
},
{
"name": "_acme-challenge.example.com",
"id": "TXT-1646796",
"type": "TXT",
"data": "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs",
"ttl": 300,
"updated": "2018-02-23T21:03:50.000+0000",
"created": "2018-02-23T21:03:50.000+0000"
}
]
}
{
"domains" : [ {
"name" : "example.com",
"id" : 2725233,
"comment" : "Optional domain comment...",
"updated" : "2011-06-24T01:23:15.000+0000",
"accountId" : 1234,
"emailAddress" : "sample@rackspace.com",
"created" : "2011-06-24T01:12:51.000+0000"
}, {
"name" : "sub1.example.com",
"id" : 2725257,
"comment" : "1st sample subdomain",
"updated" : "2011-06-23T03:09:34.000+0000",
"accountId" : 1234,
"emailAddress" : "sample@rackspace.com",
"created" : "2011-06-23T03:09:33.000+0000"
}, {
"name" : "sub2.example.com",
"id" : 2725258,
"comment" : "1st sample subdomain",
"updated" : "2011-06-23T03:52:55.000+0000",
"accountId" : 1234,
"emailAddress" : "sample@rackspace.com",
"created" : "2011-06-23T03:52:55.000+0000"
}, {
"name" : "north.example.com",
"id" : 2725260,
"updated" : "2011-06-23T03:53:10.000+0000",
"accountId" : 1234,
"emailAddress" : "sample@rackspace.com",
"created" : "2011-06-23T03:53:09.000+0000"
}, {
"name" : "south.example.com",
"id" : 2725261,
"comment" : "Final sample subdomain",
"updated" : "2011-06-23T03:53:14.000+0000",
"accountId" : 1234,
"emailAddress" : "sample@rackspace.com",
"created" : "2011-06-23T03:53:14.000+0000"
}, {
"name" : "region2.example.net",
"id" : 2725352,
"updated" : "2011-06-23T20:21:06.000+0000",
"accountId" : 1234,
"created" : "2011-06-23T19:24:27.000+0000"
}, {
"name" : "example.org",
"id" : 2718984,
"updated" : "2011-05-03T14:47:32.000+0000",
"accountId" : 1234,
"created" : "2011-05-03T14:47:30.000+0000"
}, {
"name" : "rackspace.example",
"id" : 2722346,
"updated" : "2011-06-21T15:54:31.000+0000",
"accountId" : 1234,
"created" : "2011-06-15T19:02:07.000+0000"
}, {
"name" : "dnsaas.example",
"id" : 2722347,
"comment" : "Sample comment",
"updated" : "2011-06-21T15:54:31.000+0000",
"accountId" : 1234,
"created" : "2011-06-15T19:02:07.000+0000"
} ],
"links" : [ {
"content" : "",
"href" : "https://dns.api.rackspacecloud.com/v1.0/1234/domains?limit=10&offset=10",
"rel" : "previous"
}, {
"content" : "",
"href" : "https://dns.api.rackspacecloud.com/v1.0/1234/domains?limit=10&offset=30",
"rel" : "next"
} ],
"totalEntries" : 114
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment