Skip to content

Sync fluent crm rest api documentation#66

Open
saikatCdas wants to merge 23 commits into
masterfrom
Sync-fluent-crm-rest-api-documentation
Open

Sync fluent crm rest api documentation#66
saikatCdas wants to merge 23 commits into
masterfrom
Sync-fluent-crm-rest-api-documentation

Conversation

@saikatCdas
Copy link
Copy Markdown
Collaborator

No description provided.

Add docs and OpenAPI spec for a new POST /templates/built-in-template endpoint (operationId: getBuiltInTemplate) that fetches and normalizes a remote built-in FluentCRM template. Creates openapi JSON (src/public/openapi/templates/get-built-in-template.json) and a doc page (src/rest-api/operations/templates/get-built-in-template.md), adds a sidebar link, and updates the REST API overview counts in src/rest-api/index.md to reflect the new endpoint.
Introduce Email Patterns endpoints and docs. Added OpenAPI JSON specs for list, list (WP format), list categories, create (standard & WP format), create category, get, update, delete, delete category, and bulk-action. Added corresponding REST operation markdown files and updated the REST API sidebar to include the new Email Patterns section and links. Also updated rest-api/index.md to reference the new docs.
Add OpenAPI JSON specs and REST API docs for new Reports endpoints, and update VitePress navigation. Files added include OpenAPI specs under src/public/openapi/reports (automation reports, automation step report, campaign options, campaigns list, contacts by country/lists/status/tags, email unsubscribe stats, recent tags) and matching operation markdown files under src/rest-api/operations/reports. Also update src/.vitepress/sidebars/rest-api.js to expose the new report routes and modify src/rest-api/index.md. These changes provide request/response schemas, examples, and parameters (pagination, date ranges, etc.) to document the new Reports API surface.
Add Reports OpenAPI specs and docs
add AI settings, test, and generate endpoint docs
…d-sequence-email-delay-patch-and-pro-top-campaigns-report
…y-patch-and-pro-top-campaigns-report

 add sequence email delay patch and pro top campaigns report
add pro subscribers export GET and POST endpoints
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying fluent-crm-developers-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e4e8c6d
Status: ✅  Deploy successful!
Preview URL: https://6d0c4bde.fluent-crm-developers-docs.pages.dev
Branch Preview URL: https://sync-fluent-crm-rest-api-doc.fluent-crm-developers-docs.pages.dev

View logs

Copy link
Copy Markdown
Collaborator Author

@saikatCdas saikatCdas left a comment

Choose a reason for hiding this comment

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

Review: Sync fluent-crm-rest-api-documentation → master

This is the integration PR consolidating PRs #58-65. Reviewed it end-to-end.


Global counts verified: CORRECT

Before After Change
Total endpoints 319 350 +31
Modules 28 31 +3
Templates 11 12 +1
Email Patterns 11 new
Sequences 18 19 +1
Reports 14 25 +11
AI 4 new
SMS 24 25 +1
Subscribers Export 2 new

All numbers add up. (Reports: 14 + 10 from PR#60 + 1 Top Campaigns from PR#63 = 25 ✓)


PR#64 issues are fixed in this branch

Both issues flagged in my PR#64 review are resolved here:

  • sort_type now has "enum": ["ASC", "DESC"] in both GET and POST subscribers-export specs
  • advanced_filters in post-subscribers-export-page.json now has "type": "string"

One carry-over issue: Email Patterns response codes

From PR#59, still unresolved. Within src/public/openapi/email-patterns/:

  • create-email-pattern.json422 for validation errors ✓
  • bulk-action-email-patterns.json400
  • create-email-pattern-category.json400
  • create-email-pattern-wp-format.json400

The rest of the codebase uses 422 for POST validation failures. Recommend standardizing the three 400 files to 422 before this merges to master.


Everything else looks good

  • Bounce handler ANY badge and oneOf response schema (PR#62): correct
  • AI endpoints (PR#61): clean, consistent 422 throughout
  • Built-in template endpoint (PR#58): good error detail
  • SMS un-schedule legacy route (PR#65): correct counts, correct response codes
  • All markdown pages present for every new sidebar entry
  • Sidebar badge types follow established conventions throughout

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