Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Confluence

Aspire 5
Results will update as you type.
  • What is Aspire?
  • Getting Started
  • Generative AI
  • Crawling Features
  • Rest API Usage
    • Configuration and control API
    • Debug API (Aspire 5.3)
    • Manager Node API
    • Metrics API
    • Push Updates API (Aspire 5.3)
    • Resources API
    • Security API
    • Worker Node API
  • Configuration
  • How-to articles
  • Connectors
  • Publishers
  • Workflows
  • Aspire Tools
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Push Updates API (Aspire 5.3)
Updated Mar 30

    Push Updates API (Aspire 5.3)

      The Push Updates API allows external systems to push update requests into an Aspire seed. Each request will have one or more documents, each with one of the following actions: add, update and delete. The seed will then start a new incremental crawl and only process the documents that were sent on the request.

      All requests will be stacked in a separate queue called fifoQueue, and each request will be processed sequentially using "first-in, first-out" policy.

      • 1 Ingest Push Updates
      • 2 Check queue item status

      Ingest Push Updates

      Ingests push updates to the queue. This endpoint needs the OPERATOR  role to be executed.

      POST /aspire/_api/pushUpdates

      Body Parameters

      Name

      Type

      Required

      Description

      seedId

      string

      Required

      The seed Id 

      documents

      array

      Required

      Array with all documents that will be pushed.

      documents.url

      string

      Required

      Url or Id of the document.

      documents.action

      string

      Required

      add, update or delete.

      documents.repItemType

      string

      Optional

      Item type of the connector used for the seed. If not present Aspire will use its internal type for "pushed" documents

      documents.metadata

      object

      Optional

      Any extra metadata required by the content source to process the document.

      Example

      {
          "seedId": "b6c3c23a-2e4d-415a-8499-afd23815a5ad",
          "documents": [
              {
                  "url": "file://C:tmp/test.txt",
                  "action": "add",
                  "repItemType": "FilesystemItemType@file",
                  "metadata": {
                      "displayUrl": "C:\\tmp\\test.txt",
                      "fetchUrl": "file:///C:/tmp/test.txt",
                      "connectorSpecific": {
                          "field": [
                              {
                                  "@name": "bigBlb",
                                  "$": "PePo"
                              }
                          ]
                      }
                  }
              }
          ]
      }

      Response

      {
        "documents":{
          "url": "file://C:/tmp/test.txt",
          "pushQueueId": "f6c3c23a-2e4d-415a-8499-afd23815a599"
        }
      }

      Status: 200

       


       

      Check queue item status

      Check queue item status. This endpoint needs the OPERATOR  role to be executed.

      GET /aspire/_api/pushUpdates/:itemId

      Path  Parameters

      Name

      Type

      Required

      Description

      itemId

      string

      Required

      The queue item id (see "pushQueueId" in the response field above)

      Examples

      Get queue item status

      GET /aspire/_api/pushUpdates/f6c3c23a-2e4d-415a-8499-afd23815a599

      Response

      {
        "pushQueueId": "f6c3c23a-2e4d-415a-8499-afd23815a599",
        "status": "A"
      }

      Status: 200, 404

       

       

       

      Copyright © 2024 Accenture

      Contact Us: SCAAssetsSupport@accenture.com

      {"serverDuration": 42, "requestCorrelationId": "12c097db75ee43f88688a55c1fd73dd2"}