GET
/
{workspaceId}
/
projects
/
{projectName}
/
queues
/
{queueId}
/
repeatItems
getRepeatItems
import { IntunedClient } from "@intuned/client";

const intunedClient = new IntunedClient({
  apiKey: "<YOUR_API_KEY_HERE>",
  workspaceId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
});

async function run() {
  const result = await intunedClient.project.queues.repeatItems.all("my-project", "my-sample-queue");

  // Handle the result
  console.log(result);
}

run();
[
  {
    "id": "22222222-2222-2222-2222-222222222222",
    "lastRunId": "11111111-1111-1111-1111-111111111111",
    "repeat": "10m",
    "payload": {
      "apiName": "get-contracts",
      "parameters": {
        "page": 1,
        "isLastPage": false
      }
    }
  },
  {
    "id": "33333333-3333-3333-3333-333333333333",
    "lastRunId": "22222222-2222-2222-2222-222222222222",
    "repeat": "10m",
    "payload": {
      "apiName": "get-contract-details",
      "parameters": {
        "contractId": 1
      }
    }
  }
]

Authorizations

x-api-key
string
header
required

API Key used to authenticate your requests. How to create one.

Path Parameters

workspaceId
string<uuid>
required

Your workspace ID. How to find it?

projectName
string
required

Your project name. It is the name you provide when creating a project.

queueId
string
required

Your queue ID. It is the ID of the queue you provided when creating it.

Response

200
application/json

List of queue repeatable items

The response is of type object[].