Latest post Sun, Jun 20 2021 7:32 AM by rens van der Zwan. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Mon, Aug 3 2020 2:17 PM

    Get all processes from MediaCentral Ingest

    MediaCentral Ingest has an endpoint to get details of a specified process.
    GET: /api/md/processes/{id}
    The uri looks like: http://someserver:8083/api/md/processes/234324234234023042302034

    How can i get all (running) processes. Also the ones created by other users or external processes that are using the same API?

     

     

  • Wed, May 26 2021 7:20 PM In reply to

    Re: Get all processes from MediaCentral Ingest

    The endpoint is http://<MCIHOST>:8083/api/process/user/list
    Headers required are: Accept: application/json;version="1.0"
    Use Basic Authentication with the desired user/password to get that user’s processes.

    The a sample response looks like this:

    1{ 2 "processes": [ 3 { 4 "id": "47263952-e6c6-4e58-b8a8-319892875c66", 5 "stateString": "Running", 6 "stateName": "RUNNING", 7 "title": "Initializing ...", 8 "group": "Copy of Direct Ingest", 9 "type": "com.avid.central.filebox.process.FileBoxProcess", 10 "message": "", 11 "priority": null, 12 "parentId": null, 13 "createdAt": 1622040920108, 14 "context": { 15 "dmGuid": "4bab6f6b-aac5-49f6-aa14-3e8a9c5bafc2" 16 }, 17 "progress": 0, 18 "ranking": 100, 19 "cancelEnabled": true, 20 "retryEnabled": false, 21 "timestamp": 1622040925107 22 } 23 ] 24}

     

    The "dmGuid": "4bab6f6b-aac5-49f6-aa14-3e8a9c5bafc2" is the ID of the underlying MAM process that can be used for other MCI API calls.

    By looping through the list of user/password combinations, a full list of process IDs can thus be assembled.

  • Sun, Jun 20 2021 7:32 AM In reply to

    Re: Get all processes from MediaCentral Ingest

    Thank you dennis, exactly what i needed

Page 1 of 1 (3 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller