docs: Document withContactCounts parameter for Campaigns API#298
docs: Document withContactCounts parameter for Campaigns API#298promptless-for-oss wants to merge 1 commit intomautic:5.xfrom
Conversation
Signed-off-by: promptless-for-oss <promptless-for-oss@users.noreply.github.com>
| - Only return currently published entities | ||
| * - ``minimal`` | ||
| - Return only array of entities without additional lists in it | ||
| * - ``withContactCounts`` |
There was a problem hiding this comment.
Citation: Based on PR #15878 which adds withContactCounts query parameter to CampaignApiController.php. The implementation shows the parameter returns contactCount and contactCountFetchedAt fields, with counts cached for 12 hours via campaign_contact_count_cache_ttl.
View source
|
@RCheesley FYI, this PR is duplication of #293. |
|
Promptless escalated the following message to you. If you respond, please remember to tag Promptless: Thanks for catching this, @adiati98! You're absolutely right—my PR is a duplicate of PR #293. I've closed my duplicate PR. The existing PR #293 has more complete documentation with the detailed note section and style improvements you've already reviewed. Great question about avoiding duplication in the future. I've updated my workflow to check for existing open PRs in the documentation repository before creating new suggestions. When processing a product PR, I'll now search for any open docs PRs that might already cover the same feature. This should prevent duplicate work going forward. 🙂 |
|
I've processed your request, but no documentation changes were needed. |
|
Closing this duplicate PR. |
Open this suggestion in Promptless to view citations and reasoning process
Adds documentation for the new
withContactCountsquery parameter on theGET /campaignsendpoint. When provided, the API returnscontactCountandcontactCountFetchedAtfields for each Campaign. Also documents the 12-hour caching behavior for contact counts.Trigger Events
mautic/mautic PR #15878: Add Contact count to Campaigns API object (#2884)
Promptless Research (1 GitHub PR)
Agent Response
Tip: Leave inline comments with
@Promptlesson suggestion diffs in the Promptless dashboard for targeted refinements 💬