Skip to content

Extend and normalize output from visits console commands#2563

Merged
acelaya merged 1 commit intoshlinkio:developfrom
acelaya-forks:extended-visits-cli-output
Jan 3, 2026
Merged

Extend and normalize output from visits console commands#2563
acelaya merged 1 commit intoshlinkio:developfrom
acelaya-forks:extended-visits-cli-output

Conversation

@acelaya
Copy link
Member

@acelaya acelaya commented Jan 3, 2026

Closes #2311

Extend visits-related console commands so that they include more information that's available in the API.

The new fields are: Potential bot, Region, Visited URL, Redirect URL, Type,

Some short URL-related visits also used to return the short URL version associated with the visit, but that is now covered by Redirect URL, which is also more accurate in case the short URL had originally a long URL and it has then been changed, or if the short URL has redirect rules that can cause a dynamic redirection.

@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.61%. Comparing base (248e803) to head (900de9e).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2563      +/-   ##
=============================================
- Coverage      94.62%   94.61%   -0.01%     
+ Complexity      1644     1637       -7     
=============================================
  Files            273      273              
  Lines           5117     5111       -6     
=============================================
- Hits            4842     4836       -6     
  Misses           275      275              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@acelaya acelaya merged commit 8e10e91 into shlinkio:develop Jan 3, 2026
23 checks passed
@acelaya acelaya deleted the extended-visits-cli-output branch January 3, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate fields in visits-related commands to match those from the API

1 participant