List all of the release elements in JSON format

This method returns a JSON array representation of the elements of the release type. You can specify how the response JSON is formatted with the "format" parameter.

Request

GET http://{hostname}:{port}
  /releases/?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
format string false One of the format options; this parameter determines what information is included in the JSON response. If not specified, or if an unrecognized value is specified, the default format of "list" will be used.
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true
For the format parameter, use one of the following format options:
list
Primary properties and base application, life cycle model, milestones, team, and total changes
detail
Primary properties and base application, life cycle model, milestones, phases, and related detailed information
For details about the full JSON that the server returns when you select one of these formats, see the related resource: releases resource.

Example

curl -k -u jsmith:passwd  
  "http://myserver.example.com:8080/releases/?format=list" 
  -H "Accept: application/json"

Example response

[
  {
    "lifecycleModel": {
      "name": "Default Lifecycle",
      "description": "Default Lifecycle.",
      "ghostedDate": 0,
      "id": "00000000-0000-0000-0000-000000000006",
      "version": 0,
      "dateCreated": 0
    },
    "baseApplication": {
      "level": "SUITE",
      "automated": false,
      "createdByUserId": "00000000-0000-0000-0000-000000000002",
      "name": "Sample Release",
      "description": "",
      "ghostedDate": 0,
      "id": "00bc7fd1-a8de-4ac1-95b3-cdad25dd041e",
      "version": 2,
      "dateCreated": 0
    },
    "milestones": [],
    "createdByUserId": "00000000-0000-0000-0000-000000000002",
    "name": "Sample Release",
    "description": "Sample Release.",
    "ghostedDate": 0,
    "id": "00000000-0000-0000-0000-000000000036",
    "version": 2,
    "dateCreated": 0,
    "teamId": "00000000-0000-0000-0000-000000000206",
    "teamName": "Team for Sample Release",
    "totalChanges": {
    }
]