kanwarnitin
Scholar

List view from REST endpoint - pagination (HATEOS)

K2 5.3

 

Hi, I have create a list view based on a REST endpoint which (along with data on JSON format) also provides HATEOS such as below.

 

My question is how K2 SmartForm list view can utilize this information? Thanks.

 

  "hasMore": true,
"limit": 200,
"offset": 0,
"count": 200,
"links": [
{
"rel": "self",
"href": "https://mycompanyurl/hol/"
},
{
"rel": "describedby",
"href": "https://mycompanyurl/hol/"
},
{
"rel": "first",
"href": "https://mycompanyurl/hol/"
},
{
"rel": "next",
"href": "https://mycompanyurl/hol/?offset=200"
}
]
}
0 Kudos
Reply
1 Reply
Not applicable

Re: List view from REST endpoint - pagination (HATEOS)

Hello,

We should be able to create a REST Service Instance that points to this REST URL. Please see the following Documentation.
https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_11/default.htm#ServiceBrokers/EndPoints/REST...

0 Kudos
Reply