Skip to content

Instantly share code, notes, and snippets.

@datherra
Last active August 29, 2015 14:26
Show Gist options
  • Save datherra/94193818e4c205a07cc6 to your computer and use it in GitHub Desktop.
Save datherra/94193818e4c205a07cc6 to your computer and use it in GitHub Desktop.
GET /wls_configs/machines
[
{
"machine": "DEV99m1",
"_links": {
"self": {
"title": "machines",
"uri": "/wls_configs/machines"
},
"item": [
{
"title": "DEV99m1 components",
"uri": "/wls_configs/machines/DEV99m1/components"
}
]
}
},
{
"machine": "DEV14m1",
"_links": {
"self": {
"title": "machines",
"uri": "/wls_configs/machines"
},
"item": [
{
"title": "DEV14m1 components",
"uri": "/wls_configs/machines/DEV14m1/components"
}
]
}
}
]
GET /wls_configs/machines/DEV14m1/components
[
{
"component": "host",
"_links": {
"self": {
"title": "components",
"uri": "/wls_configs/DEV14m1/components"
},
"item": [
{
"title": "DEV14m1 host datetimes",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes"
}
]
}
},
{
"component": "bip",
"_links": {
"self": {
"title": "components",
"uri": "/wls_configs/DEV14m1/components"
},
"item": [
{
"title": "DEV14m1 bip datetimes",
"uri": "/wls_configs/machines/DEV14m1/components/bip/datetimes"
}
]
}
}
]
GET /wls_configs/machines/DEV14m1/components/host/datetimes
[
{
"datetime": "20150715",
"_links": {
"self": {
"title": "datetimes",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes"
},
"item": [
{
"title": "DEV14m1 host 20150715 config",
"uri": "/wls_configs/components/host/machines/DEV14m1/20150715"
},
{
"title": "host DEV14m1 20150715 config",
"uri": "/wls_configs/machines/DEV14m1/components/host/20150715"
}
]
}
},
{
"datetime": "20150728",
"_links": {
"self": {
"title": "datetimes",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes"
},
"item": [
{
"title": "DEV14m1 host 20150715 config",
"uri": "/wls_configs/components/host/machines/DEV14m1/20150728"
},
{
"title": "host DEV14m1 20150715 config",
"uri": "/wls_configs/machines/DEV14m1/components/host/20150728"
}
]
}
}
]
@minillinim
Copy link

GET /wls_configs/machines
{
"_links": [
{
"title": "machines",
"rel": "self",
"uri": "/wls_configs/machines"
},
{
"title": "DEV99m1 components",
"rel": "component",
"uri": "/wls_configs/machines/DEV99m1/components"
},
{
"title": "DEV14m1 components",
"rel": "component",
"uri": "/wls_configs/machines/DEV14m1/components"
}
]
}

GET /wls_configs/machines/DEV14m1/components
{
"_links": [
{
"title": "DEV14m1 components",
"rel",: "self",
"uri": "/wls_configs/DEV14m1/components"
},
{
"title": "DEV14m1 host datetimes",
"rel": "datetime",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes"
},
{
"title": "DEV14m1 bip datetimes",
"rel": "datetime",
"uri": "/wls_configs/machines/DEV14m1/components/bip/datetimes"
}
]
}

GET /wls_configs/machines/DEV14m1/components/host/datetimes
{
"_links": [
{
"title": "DEV14m1 host datetimes",
"rel": "self",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes"
},
{
"title": "DEV14m1 host 20150715 config",
"rel": "config",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes/20150715"
},
{
"title": "DEV14m1 host 20150728 config",
"rel": "config",
"uri": "/wls_configs/machines/DEV14m1/components/host/datetimes/20150728"
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment