ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CDD REST API to fetch release and phase id

book

Article ID: 212724

calendar_today

Updated On:

Products

Continuous Delivery Director

Issue/Introduction

Is there any REST API available by which we can fetch release id and phase id at once.

Environment

Release : 7.3

Component : CONTINUOUS DELIVERY DIRECTOR

Resolution

You may use CDD REST API for getting the releases in a paginated form ( page by page ) and then get the phases for each release.

HTTP GET /cdd/design/00000000-0000-0000-0000-000000000000/v1/releases?page_number=0&page_size=100&status=DESIGN,RUNNING,RUNNING_WITH_FAILURES

HTTP GET /cdd/design/00000000-0000-0000-0000-000000000000/v1/releases/{release-id}/phases