Unable to render embedded object: File (Dark logo transperant background.png) not found.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »


GET channels/events

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns list of all current, active and inactive, events in the system.

Resource URL

http://{host}/api/2.0/channels/events/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/channels/events/.json

[
    {
        "ChannelEvent": {
            "id": 61673,
            "type_id": 233,
            "channel_source_id": 60,
            "access_type_id": 1,
            "device_id": 9011,
            "channel": "spts_test",
            "event_severity_id": 1,
            "description": "No CW for ECM (PID 6146)",
            "extra_description": "pids: 6146",
            "active": 0,
            "occurrences": 1,
            "duration": 4,
            "is_acknowledged": 0,
            "timestamp": 1618162174952,
            "modified": "1618162178952",
            "created": "1618162174814"
        }
    },
	{
        "ChannelEvent": {
            "id": 57563,
            "type_id": 219,
            "channel_source_id": 56,
            "access_type_id": 3,
            "device_id": 9011,
            "channel": "test_CHANNEL",
            "event_severity_id": 1,
            "description": "OTT Download Failed",
            "extra_description": "file: profile, Bad Request",
            "active": 1,
            "occurrences": 262,
            "duration": 0,
            "is_acknowledged": 0,
            "timestamp": 1618162176809,
            "modified": "1618162178815",
            "created": "1618137663806"
        }
    }
]

 


 

GET channels/events/meta

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns meta data for channel events.

Resource URL

http://{host}/api/2.0/channels/events/meta/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/channels/events/meta/.json

{
    "EventSeverities": {
        "1": "Critical",
        "2": "Major",
        "3": "Minor",
        "4": "Warning",
        "5": "Notice",
        "6": "Info"
    }
}

 

  • No labels