Advertisement
Guest User

Untitled

a guest
Mar 19th, 2021
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. - List of performed redirects grouped by full urls without get parameters. Each returned redirect must be annotated by the number of unique records of redirects with full url, must contain a list of referrers of the redirect, and the date and time of the latest redirect.
  2.  
  3. For example, you have 2 records in the database:
  4.  
  5. ```txt
  6. id: 1
  7. redirect_full_url: https:/example.com/search/
  8. referrer_domain_name: site1.com
  9. created_at: 22-01-2020 18:00:00
  10.  
  11. id: 2
  12. redirect_full_url: https:/example.com/search/
  13. referrer_domain_name: site2.com
  14. created_at: 22-01-2020 18:02:00
  15.  
  16.  
  17. Result must contain item like this one:
  18.  
  19.  
  20. json
  21. "redirect_full_url": "https:/example.com/search/",
  22. "redirects": 2,
  23. "referrers": ["site1.com", "site2.com"],
  24. "last_redirected": "22-01-2020 18:02:00"
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement