{
"status": 200,
"message": "Access Rules fetched successfully",
"result": [
{
"id": "47426643-13a1-4adf-994d-8d3bdc1d5706",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"name": "Videso m3u8",
"match_type": "regex",
"match": "/",
"type": "",
"enabled": true,
"created_at": "2023-08-21T14:37:24+06:00",
"updated_at": "2023-08-21T14:37:24+06:00",
"created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"rules": [
{
"id": "0ac6a357-e4a2-4f36-ba64-b5adf1d80614",
"access_rule_id": "47426643-13a1-4adf-994d-8d3bdc1d5706",
"type": "country",
"action": "allow",
"values": "BD,IN",
"enabled": true
},
{
"id": "6fc0c7c4-64ed-48d7-9bc9-24c9a7677507",
"access_rule_id": "47426643-13a1-4adf-994d-8d3bdc1d5706",
"type": "referer",
"action": "allow",
"values": "gotipath.com",
"enabled": false
},
{
"id": "b3a9ea5c-bc8a-4c41-b927-dbb968765ce2",
"access_rule_id": "47426643-13a1-4adf-994d-8d3bdc1d5706",
"type": "token",
"action": "allow",
"values": "kI8lqvrWbhTZDLrfMJe9jZkh3fiSChgUROeeR6Aq1TX9iZ58cKGTM044yV2Veg4G",
"enabled": false
},
{
"id": "bb59b2a4-2267-42f1-ba2c-5d7c472166f7",
"access_rule_id": "47426643-13a1-4adf-994d-8d3bdc1d5706",
"type": "ip",
"action": "allow",
"values": "192.168.1.100/32",
"enabled": false
}
]
},
{
"id": "e0e7be91-bba2-481d-b977-8882b1ec89ec",
"customer_id": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"distribution_id": "bb52605c-5bbc-41f4-af77-1c1bf12ec7d9",
"name": "Videso m3u8",
"match_type": "regex",
"match": "./*",
"type": "",
"enabled": true,
"created_at": "2023-08-16T15:56:39+06:00",
"updated_at": "2023-08-16T15:56:39+06:00",
"created_by": "b1bef3d5-a2dd-4fec-9bf3-061038ce2c41",
"rules": [
{
"id": "b641d37d-6650-404d-805d-742882f57fb3",
"access_rule_id": "e0e7be91-bba2-481d-b977-8882b1ec89ec",
"type": "token",
"action": "allow",
"values": "kI8lqvrWbhTZDLrfMJe9jZkh3fiSChgUROeeR6Aq1TX9iZ58cKGTM044yV2Veg4G",
"enabled": false
},
{
"id": "cd4735df-c670-4ccf-b1f2-f412e3c6dafb",
"access_rule_id": "e0e7be91-bba2-481d-b977-8882b1ec89ec",
"type": "ip",
"action": "allow",
"values": "192.168.1.100/32",
"enabled": false
},
{
"id": "e7c84329-d166-4747-82c6-70b5cac866a6",
"access_rule_id": "e0e7be91-bba2-481d-b977-8882b1ec89ec",
"type": "country",
"action": "allow",
"values": "BD,IN",
"enabled": true
},
{
"id": "ef9cb9ec-f522-4b6d-9dbc-d0bfa69e8160",
"access_rule_id": "e0e7be91-bba2-481d-b977-8882b1ec89ec",
"type": "referer",
"action": "allow",
"values": "gotipath.com",
"enabled": false
}
]
}
],
"success": true
}