Forum Discussion

mbecker's avatar
mbecker
New Contributor
4 years ago

Execution id/status from cycle API

When i call the cycle API (zapi/latest/cycle/123), the data returns an execution summary. I need to get the individual executions. Id numbers would be fine, but ultimately, I need the status for each...
  • NeelaReddy's avatar
    4 years ago

    Dear mbecker,

     

    There is a rest API to fetch executions related cycle.

    /rest/zapi/latest/execution?cycleId={cycleId}&action=expand&projectId={projectId}&versionId={versionId}&limit=10&offset=0

     

    By Cycle: following end point fetch executions related to cycle

    /rest/zapi/latest/execution?cycleId={cycleId}&limit=10&offset=0

     

    By Folder: following endpoint fetch executions related to folder.

    /rest/zapi/latest/execution?cycleId={cycleId}&folderId={folderId}&limit=10&offset=0

     

     

    Thanks

    Neelakanta