McMain icon

McMain

Interact with McMain API

Base Data → Get Priorities

AI-generated

Summary

Fetch priority data from the McMain API

Inputs

  • batchSize — Number of items per batch; -1 to disable batching, 0 treated as 1.
  • batchInterval — Time in ms between batches; 0 disables interval.
  • allowUnauthorizedCerts — Accept responses with SSL certificate validation failures.
  • proxy — HTTP proxy URL to use for the request.
  • timeout — Request timeout in milliseconds.

Output shape

a list of priority objects

The response is an array; pagination may be indicated by additional fields.

Examples

Example 1: Retrieve priorities with default batching

Use default batch size of 50, no SSL bypass, no proxy, timeout 10000 ms.

Example 2: Adjust batch size and interval

Set batchSize to 100 and batchInterval to 500 ms while keeping other defaults.

Example 3: Use custom proxy and longer timeout

Provide a proxy URL and increase timeout to 30000 ms.

Discussion