Skip to content

[6.x] REST API: site query param and pagination link params - #15320

Merged
jasonvarga merged 3 commits into
feature/rest-api-fieldsfrom
feature/rest-api-params
Sep 1, 2026
Merged

[6.x] REST API: site query param and pagination link params#15320
jasonvarga merged 3 commits into
feature/rest-api-fieldsfrom
feature/rest-api-params

Conversation

@jackmcdade

@jackmcdade jackmcdade commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Accept ?site= on entries, terms, and term-entries (keep filter[site]).
  • Omitting site still returns all sites.
  • Pagination next/first links now keep fields, site, and query_scope.

Stacked on #15319.

Test plan

  • ?site=fr limits entries/terms to that site
  • Show localizes when ?site= is present
  • No site param still returns all sites
  • Pagination links preserve fields/site

@jackmcdade jackmcdade changed the title feature/rest api params [6.x] REST API: site query param and pagination link params Sep 1, 2026
@jackmcdade
jackmcdade force-pushed the feature/rest-api-params branch from 8f13f6f to 2cc3f5e Compare September 1, 2026 00:16
@jackmcdade
jackmcdade force-pushed the feature/rest-api-params branch from 2cc3f5e to 8783862 Compare September 1, 2026 14:20
@jackmcdade
jackmcdade force-pushed the feature/rest-api-params branch from 8783862 to 0b597d3 Compare September 1, 2026 14:25
Comment thread src/Http/Controllers/API/TaxonomyTermsController.php
jackmcdade and others added 3 commits September 1, 2026 10:49
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jackmcdade
jackmcdade force-pushed the feature/rest-api-params branch from 0b597d3 to b62001c Compare September 1, 2026 14:52
@jasonvarga
jasonvarga merged commit 42cda0d into 6.x Sep 1, 2026
67 of 127 checks passed
@jasonvarga
jasonvarga deleted the feature/rest-api-params branch September 1, 2026 15:11
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.

2 participants