Skip to content

docs: Port "Focus" REST API page to 7.2#568

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/docs-issue-436-focus-7.2
Open

docs: Port "Focus" REST API page to 7.2#568
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/docs-issue-436-focus-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

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


Tip: Add more repositories in your Configuration to keep multiple doc sites in sync 📚

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.
Comment thread docs/rest_api/focus.rst
#####

Use this endpoint to obtain details on Mautic's Focus Items.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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.

1 participant