Skip to content

efenderbosch/hateoas-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

http://localhost:8080/childrenWithPagination will return

{
  "_links" : {
    "self" : {
      "href" : "http://localhost:8080/childrenWithPagination{?page,size,sort}",
      "templated" : true
    }
  },
  "_embedded" : {
    "children" : [ {
      "id" : 1,
      "attribute" : "attribute"
    } ]
  },
  "page" : {
    "size" : 20,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}

http://localhost:8080/childrenWithoutPagination will return

[
  {
    "id":1,
    "attribute":"attribute",
    "parent":{
      "id":1,
      "attribute":"attribute"
    }
  }
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages