Resource command:active-commands-by-type

Overview

The command:active-commands-by-type resource contains the list of links to pending or running long-running commands.

Properties

The command:active-commands-by-type resource has no properties.

command:command

A list the links to the commands that are in the lifecycle state: pending or running.

Description

Query parameter Description

type

(Mandatory) Query parameter to filter the response by the type of the command. Example: pa%3Adelete-command (URL encoded pa:delete-command)

Example

An example response

{
    "_links": {
        "self": {
            "href": "https://mun-srty-cux.srty.local/pamctc/commands?type=pa%3Adelete-command"
        },
        "command:command": [
            {
                "href": "https://mun-srty-cux.srty.local/pamctc/commands/2222498676990702465"
            },
            {
                "href": "https://mun-srty-cux.srty.local/pamctc/commands/224451770058191366"
            },
            {
                "href": "https://mun-srty-cux.srty.local/pamctc/commands/4220061419548991550"
            }
        ],
        "curies": [
            {
                "name": "command",
                "href": "http://developer.avid.com/ctms/api/command/linkrels/{rel}.html",
                "templated": true
            }
        ]
    }
}