Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23062

Expose Async download at Rest API level

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Rest API
    • Release Notes Description:
      Hide

      A new asynchronous download mechanism has been introduced. It allows getting a status of the asynchronous preparation of the blob to download, before downloading it for real. For instance when calling the operation Blob.BulkDownload answer will first be :

      {"key":"4db11225407dad8432e75ba2d2778a49","completed":false,"progress":0}

      Then calling blobstatus enpoint with the provided key

      {https://nightly.nuxeo.com/nuxeo/nxblobstatus/4db11225407dad8432e75ba2d2778a49}

      gives an updated result:

      {"key":"4db11225407dad8432e75ba2d2778a49","completed":true,"progress":100}

      When completed, one can call the download servlet with the same key:

      { https://nightly.nuxeo.com/nuxeo/nxbigblob/4db11225407dad8432e75ba2d2778a49 }
      Show
      A new asynchronous download mechanism has been introduced. It allows getting a status of the asynchronous preparation of the blob to download, before downloading it for real. For instance when calling the operation Blob.BulkDownload answer will first be : {"key":"4db11225407dad8432e75ba2d2778a49","completed":false,"progress":0} Then calling blobstatus enpoint with the provided key {https://nightly.nuxeo.com/nuxeo/nxblobstatus/4db11225407dad8432e75ba2d2778a49} gives an updated result: {"key":"4db11225407dad8432e75ba2d2778a49","completed":true,"progress":100} When completed, one can call the download servlet with the same key: { https://nightly.nuxeo.com/nuxeo/nxbigblob/4db11225407dad8432e75ba2d2778a49 }
    • Sprint:
      nxGang Sprint 9.3.6, nxGang Sprint 9.3.7, nxGang Sprint 9.3.8
    • Story Points:
      5
    • Epic Link:

      Description

      Description coming. See TL-230.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.