Admin Marketing: Search & SEO
List sitemaps
Changed onFilters: file_name (LIKE), channel_id (exact). Sort: id (default desc), file_name.
get/marketing/sitemaps
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Page number.
per_pageinteger
Example:10
Items per page (default 10, max 50).
file_namestring
Partial file_name match.
channel_idinteger
Only sitemaps covering this channel.
sort'id' | 'file_name'
Sort column.
order'asc' | 'desc'
Sort direction.
Response
Paginated list in the { data, meta } envelope. generatedFiles / indexFile / generatedSitemaps are detail-only and null on list rows.
Changes
- info
added the new optional
queryrequest parameterchannel_id
- info