I've made couple of registries in my database (mongodb), when i try to get @localhost:8080/ {for example company} info about collection I can't see ID of documents, which I clearly entered.
Any ideas how can i fix it and show id ?
{
"name" : "google",
"person" : null,
"_links" : {
"self" : {
"href" : "http://localhost:8080/company/2"
}