Skip to content

Fix sapi docs - #1123

Open
buixor wants to merge 6 commits into
mainfrom
fix_sapi_docs
Open

Fix sapi docs#1123
buixor wants to merge 6 commits into
mainfrom
fix_sapi_docs

Conversation

@buixor

@buixor buixor commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings August 3, 2026 07:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Not ready to approve

The new allowlists documentation contains multiple copy/paste issues (wrong variable, wrong placeholder URL, inconsistent Redoc host, and an unused variable) and one troubleshooting reference link has a syntax error that can break rendering.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR updates the Service API documentation structure by flattening former quickstart/<resource> pages into dedicated service_api/<resource> docs, updating internal references accordingly, and extending the Service API docs with additional endpoints coverage.

Changes:

  • Flatten Service API docs (remove quickstart/* pages, update sidebars, add redirects).
  • Update many docs pages to point to the new Service API doc URLs/anchors.
  • Add/expand Service API docs pages (authentication, blocklists, allowlists, decisions) and enhance metrics/integrations docs.
File summaries
File Description
crowdsec-docs/unversioned/troubleshooting/usecases.mdx Updates Service API links in references (now pointing to flattened pages).
crowdsec-docs/unversioned/integrations/sophos.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/rawiplist.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/pfsense.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/paloalto.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/opnsense.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/mikrotik.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/juniper.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/intro.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/fortinet.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/f5.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/cisco.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/integrations/checkpoint.mdx Updates pagination doc link to new Service API integrations page.
crowdsec-docs/unversioned/console/service_api/quickstart/integrations.mdx Removes legacy quickstart integrations page (flattening).
crowdsec-docs/unversioned/console/service_api/quickstart/blocklists.mdx Removes legacy quickstart blocklists page (flattening).
crowdsec-docs/unversioned/console/service_api/metrics.mdx Adds a new section describing server-side scoping filters for metrics.
crowdsec-docs/unversioned/console/service_api/integrations.mdx Expands/modernizes integrations doc (creation, fetching content, pagination, supported formats).
crowdsec-docs/unversioned/console/service_api/decisions.mdx Adds new Service API decisions documentation page.
crowdsec-docs/unversioned/console/service_api/blocklists.mdx Adds new flattened blocklists documentation page (replacing older content).
crowdsec-docs/unversioned/console/service_api/blocklists.md Removes older blocklists doc in favor of the new MDX page.
crowdsec-docs/unversioned/console/service_api/authentication.mdx Adds new flattened authentication documentation page.
crowdsec-docs/unversioned/console/service_api/allowlists.mdx Adds new flattened allowlists documentation page.
crowdsec-docs/sidebarsUnversioned.ts Updates sidebar to reference flattened Service API pages and adds decisions entry.
crowdsec-docs/docusaurus.config.ts Adds redirects from old quickstart Service API URLs to the new flattened URLs.
Review details
  • Files reviewed: 22/24 changed files
  • Comments generated: 0
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@aws-amplify-eu-west-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1123.d1to60jd2gb6y6.amplifyapp.com

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.

2 participants