listPackageRules.json 770 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "success": true,
  3. "errors": [
  4. {}
  5. ],
  6. "messages": [
  7. {}
  8. ],
  9. "result": [
  10. {
  11. "id": "92f17202ed8bd63d69a66b86a49a8f6b",
  12. "notes": "This rule is on because of an event that occured on date X",
  13. "allowed_modes": [
  14. "whitelist",
  15. "block",
  16. "challenge"
  17. ],
  18. "mode": "challenge",
  19. "configuration": {
  20. "target": "ip",
  21. "value": "1.2.3.4"
  22. },
  23. "scope": {
  24. "id": "7c5dae5552338874e5053f2534d2767a",
  25. "email": "user@example.com",
  26. "type": "user"
  27. },
  28. "created_on": "2014-01-01T05:20:00.12345Z",
  29. "modified_on": "2014-01-01T05:20:00.12345Z"
  30. }
  31. ],
  32. "result_info": {
  33. "page": 1,
  34. "per_page": 20,
  35. "count": 1,
  36. "total_count": 2000
  37. }
  38. }