Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Automation

      Description

      Improve the JS API to have something more fluent.
      Do not expose a lot of things publicly, only the needed methods / functions / objects useful for the API client.

      Code samples:

      nuxeo.operation(operationId).input(blob).param(key, value).param(key,
      value).execute()
      nuxeo.operation(operationId).input(blob).param(key1,
      value1).param(key2, value2).execute({
        params: { key1: newValue1}
      })
      
      var op = nuxeo.operation(operationId).input(blob).param(key1,
      value1).param(key2, value2)
      op.execute({ params: { key3: value3 }})
      op.execute({ params: { key3: otherValue3 }})
      op.execute({ input: anotherBlob })
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: