Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET tally/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of all tally configurations in the system, with its main configuration data.

Resource

URLconfigurations

URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config

Example Request

GET 

  1. https://192.168.0.22/api/5.1/tally/config

Code Block
languagejson
{
    "data": [
        {
            "uuid": "8cdd830a-02fa-4bd5-b2eb-fd51734a40cc",
            "label": "tally2",
            "hash": "PLURA",
            "groups": [],
            "type": "PLURA",
            "created": "2023-08-31T18:03:36.174Z",
            "modified": "2023-08-31T18:03:47.813Z",
            "attributes": {
                "ip_address": "1.1.1.1",
                "network": "Auto",
                "port": 8901,
                "serial": null
            }
        },
        {
            "uuid": "1e36b981-78b3-4820-8dea-636d79eaecc9",
            "label": "tally_edit",
            "hash": "TSL",
            "groups": [
                "grp1"
            ],
            "type": "TSL (UDP)",
            "created": "2023-08-25T11:18:05.767Z",
            "modified": "2023-08-31T18:08:26.434Z",
            "attributes": {
                "decay_time": 10,
                "port": 8901
            }
        }
    ],
    "metadata": {
        "item_count": 2,
        "total_items": 2,
        "current_page": 1,
        "sort_by": [
            {
                "label": "ASC"
            }
        ],
        "links": {
            "current": "http://192.168.10.53/api/5.1/tally/config"
        }
    }
}


GET tally/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns an extended single tally configuration configuration view, specified by the required {uuid} parameter.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the desired tally configuration.

Example Request

GET 

  1. https://192.168.0.22/api/5.1/tally/config/8cdd830a-02fa-4bd5-b2eb-fd51734a40cc

Code Block
languagejson
{
    "data": {
        "uuid": "8cdd830a-02fa-4bd5-b2eb-fd51734a40cc",
        "label": "tally2_edit_multi",
        "hash": "PLURA",
        "groups": [],
        "type": "PLURA",
        "created": "2023-08-31T18:03:36.174Z",
        "modified": "2023-08-31T18:13:04.417Z",
        "attributes": {
            "ip_address": "1.1.1.1",
            "network": "Auto",
            "port": 8901,
            "serial": null
        }
    },
    "metadata": {}
}


GET tally/config/meta

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns all meta data used by tally configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config/meta

Example Request

GET 

  1. https://192.168.0.22/api/5.1/tally/config/meta

Code Block
languagejson
{
    "Types": [
        "TSL (UDP)",
        "TSL (TCP)",
        "PLURA"
    ]
}


DELETE tally/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Delete a specific tally configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the tally to be deleted.

Example Request

DELETE 

  1. https://192.168.0.22/api/5.1/tally/config/b93e1865-497d-4f48-b965-848b4433e1cc

Code Block
languagejson
{
    "data": {
        "success": true
    },
    "metadata": {}
}

 


PUT tally/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Edit a tally configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the tally to be edited.

Example Request

PUT 

  1. https://192.168.0.22/api/5.1/tally/config/c45fd6ce-99a3-4056-ab83-6265e30acc45

Body

Code Block
languagejson
{
    "label": "tally_edit",
    "hash": "TSL",
    "groups": [
        "grp1"
    ],
    "type": "TSL (UDP)",
    "attributes": {
        "decay_time": 10,
        "port": 8901
    }
}

Response

Code Block
languagejson
{
    "data": {
        "uuid": "1e36b981-78b3-4820-8dea-636d79eaecc9",
        "label": "tally_edit",
        "hash": "TSL",
        "groups": [
            "grp1"
        ],
        "type": "TSL (UDP)",
        "created": "2023-08-25T11:18:05.767Z",
        "modified": "2023-08-31T18:08:26.434Z",
        "attributes": {
            "decay_time": 10,
            "port": 8901
        }
    },
    "metadata": {}
}


POST tally/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Add a new tally, configured according to the attached data request.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config

Example Request

POST 

  1. https://192.168.0.22/api/5.1/tally/config

Body

Code Block
languagejson

Response

Code Block
languagejson


POST tally/config multi

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Add multiple tally, configured according to the attached data request.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config

Example Request

POST 

  1. https://192.168.0.22/api/5.1/tally/config

Body

Code Block
languagejson

Response

Code Block
languagejson


PUT tally/config multi

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Edit multiple tally, configured according to the attached data request.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config

Example Request

PUT 

  1. https://192.168.0.22/api/5.1/tally/config

Body

Code Block
languagejson
[
    {
        "uuid": "8cdd830a-02fa-4bd5-b2eb-fd51734a40cc",
        "label": "tally2_edit_multi",
        "hash": "PLURA",
        "groups": [],
        "type": "PLURA",
        "created": "2023-08-31T18:03:36.174Z",
        "modified": "2023-08-31T18:03:47.813Z",
        "attributes": {
            "ip_address": "1.1.1.1",
            "network": "Auto",
            "port": 8901,
            "serial": null
        }
    },
    {
        "uuid": "1e36b981-78b3-4820-8dea-636d79eaecc9",
        "label": "tally_edit_multi",
        "hash": "TSL",
        "groups": [
            "grp1"
        ],
        "type": "TSL (UDP)",
        "created": "2023-08-25T11:18:05.767Z",
        "modified": "2023-08-31T18:08:26.434Z",
        "attributes": {
            "decay_time": 10,
            "port": 8901
        }
    }
]

Response

Code Block
languagejson
{
    "data": [
        {
            "uuid": "8cdd830a-02fa-4bd5-b2eb-fd51734a40cc",
            "label": "tally2_edit_multi",
            "hash": "PLURA",
            "groups": [],
            "type": "PLURA",
            "created": "2023-08-31T18:03:36.174Z",
            "modified": "2023-08-31T18:13:04.417Z",
            "attributes": {
                "ip_address": "1.1.1.1",
                "network": "Auto",
                "port": 8901,
                "serial": null
            }
        },
        {
            "uuid": "1e36b981-78b3-4820-8dea-636d79eaecc9",
            "label": "tally_edit_multi",
            "hash": "TSL",
            "groups": [
                "grp1"
            ],
            "type": "TSL (UDP)",
            "created": "2023-08-25T11:18:05.767Z",
            "modified": "2023-08-31T18:13:04.417Z",
            "attributes": {
                "decay_time": 10,
                "port": 8901
            }
        }
    ],
    "metadata": {}
}


DELETE tally/config multi

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Delete multi tally configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/tally/config/{{uuid}}

Example Request

DELETE 

  1. https://192.168.0.22/api/5.1/tally/config

Body

Code Block
languagejson
{
    "data": [
        "42f629b7-caeb-448d-8209-3143652547fb",
        "502e7551-1461-4168-b4ea-e007e7bd51ad"
    ]
}

Response

Code Block
languagejson
{
    "data": {
        "success": true
    },
    "metadata": {}
}