mirror of https://github.com/sipwise/data-hal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
{
|
|
"_links" : {
|
|
"curies" : [ {
|
|
"href" : "https://example.com/apidocs/ns/{rel}",
|
|
"name" : "ns",
|
|
"templated" : true
|
|
}, {
|
|
"href" : "https://example.com/apidocs/role/{rel}",
|
|
"name" : "role",
|
|
"templated" : true
|
|
} ],
|
|
"self" : {
|
|
"href" : "https://example.com/api/customer/123456"
|
|
},
|
|
"ns:parent" : {
|
|
"href" : "https://example.com/api/customer/1234",
|
|
"name" : "bob",
|
|
"title" : "The Parent",
|
|
"hreflang" : "en"
|
|
},
|
|
"ns:users" : {
|
|
"href" : "https://example.com/api/customer/123456?users"
|
|
}
|
|
},
|
|
"_embedded" : {
|
|
"ns:user" : [ {
|
|
"_links" : {
|
|
"self" : {
|
|
"href" : "https://example.com/user/11"
|
|
}
|
|
},
|
|
"age" : 32,
|
|
"expired" : false,
|
|
"id" : 11,
|
|
"name" : "Example User",
|
|
"optional" : true
|
|
}, {
|
|
"_links" : {
|
|
"self" : {
|
|
"href" : "https://example.com/user/12"
|
|
}
|
|
},
|
|
"age" : 32,
|
|
"expired" : false,
|
|
"id" : 12,
|
|
"name" : "Example User",
|
|
"optional" : true
|
|
} ]
|
|
}
|
|
}
|