HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Assessment Data File (Invited) → List Files (Page, Invited)

AI-generated

Summary

Lists one page (50 records) of invited assessment data file metadata from HackNotice by POSTing a required JSON filter body to /assessmentdatafiles/invited/page/:pageNum.

Inputs

  • Page Number — Zero-based page index (minimum 0, default 0), inserted into the URL path. The API's page size is fixed at 50. A negative value raises an error.
  • Request Body (required) — JSON object sent as the POST body. This route needs a non-empty object. An empty {}, invalid JSON, or a non-object value throws 'Request body is required for this operation'. The available filter fields aren't defined in the node, so use whatever the HackNotice API accepts.
  • Document ID — Shown in the UI but not used by this route, since its path has no document ID.
  • Invite Code — Shown in the UI but not used by this route, since its path has no invite code.

Output shape

One n8n item per record in the API response. An array response gives one item per element, a single object gives one item, and an empty response gives no items. Each item is paired to its input item.

No automatic pagination. To fetch more records, increment Page Number in a loop. Non-object scalar responses are wrapped as { value }. API errors surface as NodeApiError. Requests use the hackNoticeApi credential against https://extensionapi.hacknotice.com.

Examples

Example 1: Fetch the first page of invited data files for a specific assessment

Page Number 0; Request Body set to a JSON filter object, such as one containing the assessment ID.

Example 2: Page through all results

Loop with Page Number set to an expression like {{$runIndex}}, keeping the same Request Body, and stop when a page returns no items.

Links

Discussion