LogoLogo
DocsSupportDashboard
  • Introduction
    • Data Types
    • Target Filtering
    • Scan Selection
    • Pagination & Sorting
    • Permissions
    • Appendix
  • Authentication
  • Webhooks
  • Events
  • Appendix
    • Targets Filter
    • Date Match
    • IP Range
  • Endpoints
    • Discovery
    • Target
    • Scan
    • Issue
    • Tag
    • Port
    • DNS
    • HTTP
    • Whois
    • Technology
    • Website
    • Acknowledged
    • Event
    • Dark Web
    • Integration
    • PCI
    • Report
    • User
    • Account
    • Security
    • File
    • Work
Powered by GitBook

© 2024 Halo Security

On this page
  • Common Parameters
  • Example

Was this helpful?

  1. Introduction

Pagination & Sorting

The Halo Security API supports pagination and sorting on records that contain lists.

Common Parameters

  • start: The record to begin at.

    • Default: 0

  • limit: The number of records to return.

    • Default: 100

    • Maximum: 1000

  • sort: How the records are sorted. See specific API calls for valid values.

  • sort_desc: Set to 1 to sort in descending order.

    • Default: False

Example

Responses that contain lists have the following generic format:

{
   request: {
      sort: 1,
      start: 100,          //if not 0
      asof: '2022-01-01',  //if specified in request
      target_filter: 'pci' //if specified in request
      target_count: 10,
   },
   pagination: {
      total: 1533,
      start: 100,
      limit 100
   },
   list: [
      {...},{...},{...}
   ]
}
PreviousScan SelectionNextPermissions

Last updated 3 years ago

Was this helpful?