ITRS acquires IP-Label. Read the press release.

  1. Support
  2. Knowledge base
  3. Uptrends' API
  4. API fields
  5. Links API field

Links API field

The Links field provides path and query strings so you can navigate paginated result sets.

When you call a paginated list endpoint, the response usually returns only the first batch of results (for example, the first 100 rows). To retrieve the next batch, use the Links object: follow Links.Next on the following request.

When the response is paginated, the Links object often includes:

  • Self — path and query for the current page (the batch of results you just received).
  • Next — path and query for the next page when more results exist. On the last page, Next is omitted or empty.

Example

A paginated response often includes Data, Links, and Cursors:

{
  "Data": [ ... ],
  "Links": {
    "Next": "/v4/MonitorCheck?Sorting=Descending&Take=100&PresetPeriod=Last24Hours&cursor=r%2b3aDoQMmmzQyn0gZpXRtuTPR9I1p481%2frdq5beRRu9fkwFNbL7g9EqtBTezyrx3cBfwgrEE8eSDh3WpqRTQEg%3d%3d",
    "Self": "/v4/MonitorCheck?Sorting=Descending&Take=100&PresetPeriod=Last24Hours&cursor=Waul03CKWbe9wj%2fZ%2fs%2fYHhAtN5gst9iN3oZ6yP4JvGxZrwiTWxY13mhIivXfKkwKNgN0sY66uVfczabtWzrQMQ%3d%3d"
  },
  "Cursors": {
    "Self": "...",
    "Next": "..."
  }
}

To fetch the next page using Links, send a GET request to the base URL plus Links.Next (no extra slash between the host and the path):

GET https://api.uptrends.com/v4/MonitorCheck?Sorting=Descending&Take=100&PresetPeriod=Last24Hours&cursor=r%2b3aDoQMmmzQyn0gZpXRtuTPR9I1p481%2frdq5beRRu9fkwFNbL7g9EqtBTezyrx3cBfwgrEE8eSDh3WpqRTQEg%3d%3d

To navigate to a page using cursor, see the Cursor knowledge base article.

By using the Uptrends website, you consent to the use of cookies in accordance with our Cookie Policy.