Transitions inProcess

api-version: 1.0

Retrieves transitions of a specific element.

Copy
Copied
GET /{collectionId}/{storageId}/_api/release/{elementId}/transitions

Parameters

Name In Required Type Description
collectionId path true string The ID of the storage collection.
storageId path true string The ID of the tenant.
elementId path true string The ID of the element.

Responses

Success 200

Name Type Description
count integer The number of returned values.
values Transition[] The list of transitions.

Error 4xx

Name Type Description
message string The error message
output OperationResultOutput The result output.
type OperationResultType The result type.
data OperationError The list of errors.

Examples

Request

Copy
Copied
GET https://demo.symbioworld.com/pz/showcase/_api/rest/release/f2f5c58e-8624-416a-b3d6-0f6bf480937a/transitions

Response (200 OK)

Copy
Copied
{
    "count": 6,
    "values": [
        {
            "transitionId": "InProcessToInReview",
            "sourceState": "inProcess",
            "targetState": "inReview"
        },
        {
            "transitionId": "InProcessToReadyForQA",
            "sourceState": "inProcess",
            "targetState": "readyForQa"
        },
        {
            "transitionId": "InProcessToReadyForRelease",
            "sourceState": "inProcess",
            "targetState": "readyForRelease"
        },
        {
            "transitionId": "InProcessToReleased",
            "sourceState": "inProcess",
            "targetState": "released"
        },
        {
            "transitionId": "InProcessToReleasedQA",
            "sourceState": "inProcess",
            "targetState": "released"
        },
        {
            "transitionId": "InProcessToReleasedExternal",
            "sourceState": "inProcess",
            "targetState": "released"
        }
    ]
}

Request

Copy
Copied
POST https://demo.symbioworld.com/pz/showcase/_api/rest/release/664fd624-d341-4521-b430-897bb16399f4/transitions

Response (200 OK)

Copy
Copied
{
    "count": 1,
    "transitions": [
        {
            "transitionId": "ReleasedToRequestToExpire",
            "sourceState": "released",
            "targetState": "requestToExpire"
        }
    ]
}

Definitions

Transition

{!developer/rest-api/reference/models/transition.md!}

OperationResultOutput

{!developer/rest-api/reference/models/operationresultoutput.md!}

OperationResultType

{!developer/rest-api/reference/models/operationresulttype.md!}

OperationError

{!developer/rest-api/reference/models/operationerror.md!}