.. _session_filter: session-filter ============== Create a convenience Filter to display/clear sessions session-filter Specification ---------------------------- ===================================== ============================================================== **Parameter** **Value** ===================================== ============================================================== **Type** *Collection* **Object Key(s)** *name* **Collection Name** :ref:`1327_session-filter_list` **Collection URI** /axapi/v3/session-filter **Element Name** session-filter **Element URI** /axapi/v3/session-filter/{name} **Element Attributes** session-filter_attributes **Partition Visibility** shared **Schema** :download:`session-filter schema ` ===================================== ============================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/session-filter .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/session-filter .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/session-filter/{name} .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/session-filter .. raw:: html :ref:`1327_session-filter_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/session-filter/{name} .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/session-filter/{name} .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/session-filter .. raw:: html :ref:`1327_session-filter_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/session-filter/{name} .. raw:: html :ref:`1327_session-filter_attributes` .. raw:: html
.. _1327_session-filter_list: session-filter-list ------------------- session-filter-list is **JSON List** of :ref:`1327_session-filter_attributes` session-filter-list : [ { :ref:`1327_session-filter_attributes` }, { :ref:`1327_session-filter_attributes` }, ... ] .. _1327_session-filter_attributes: session-filter attributes ------------------------- **filter-cfg** **Description:** filter-cfg is a **JSON Block**. Please see below for :ref:`1327_filter-cfg` **Type:** Object **name** **Description** Session filter name **Type:** string **Maximum Length:** 31 characters **Maximum Length:** 1 characters **set** **Description** Set filter criteria **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _1327_filter-cfg: filter-cfg ^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **dest-addr** **Description** Forward Destination IP (Destination IP address) **Type:** string **Format:** ipv4-address **dest-mask** **Description** Forward Destination IP Subnet (Destination Netmask) **Type:** string **Format:** ipv4-netmask **dport2** **Description** Forward Destination Port (Dest Port) **Type:** number **Range:** 1-65535 **session-type** **Description** 'ipv6': Display ipv6 sessions only; 'sip': SIP sessions; **Type:** string **Supported Values:** ipv6, sip **source-addr** **Description** Forward Source IP (Source IP address) **Type:** string **Format:** ipv4-address **source-mask** **Description** Forward Source IP Subnet (Source Netmask) **Type:** string **Format:** ipv4-netmask **source-port** **Description** Forward Source Port **Type:** number **Range:** 1-65535