docs: Port "Focus" REST API page to 7.2#568
Open
promptless-for-oss wants to merge 1 commit into
Open
Conversation
Replace the placeholder note on rest_api/focus.rst with the full Focus Items REST API reference ported from the legacy Markdown docs. Converts to RST following the current house style (real subsection headings, list-table parameter tables, :ref: cross-links), fixes the invalid JSON in the legacy sample (missing comma before "form" and stray quote in the font value), and applies Mautic style conventions.
| ##### | ||
|
|
||
| Use this endpoint to obtain details on Mautic's Focus Items. | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Ported the Focus Items endpoint reference (PHP/JSON samples, HTTP methods, and property/parameter tables) from this legacy Markdown source _api_endpoint_focus.md, per issue #435. Also fixed two errors in the legacy JSON sample while converting: a missing comma before the "form" key and a stray trailing quote in the "font" value (sans-serif').
Source: https://github.com/mautic/developer-documentation/blob/main/source/includes/_api_endpoint_focus.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Ports the legacy Focus Items REST API reference into docs/rest_api/focus.rst on the 7.2 base branch, replacing the placeholder note. Converts the legacy Markdown to RST following the current house style (real subsection headings, list-table parameter tables, :ref: cross-links) and fixes the invalid JSON in the legacy sample (missing comma before "form" and a stray quote in the font value). Resolves docs issue #436 (content sourced from the 7.1 porting issue, targeting 7.2 per the team's decision).
Trigger Events
blockedlabel is to set content, structure, and tone in one branch, then backport/cherry pick i...Tip: Add more repositories in your Configuration to keep multiple doc sites in sync 📚