Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: remove wildcard redirects blocking API reference endpoint pages
These redirects were catching all /reference/api-reference/{tag}/:operationId URLs and redirecting them to the index page, preventing real OpenAPI-generated endpoint pages from loading (e.g. projects/getOrgProjectConfig returned 308). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 11, 2026 at 17:35 UTC
5045680e171f0024a883c5ec3c6bb3c2346b798d
1 file changed
-76
docs/next.config.mjs
-76
@@ -735,82 +735,6 @@ const config = {
735
destination: '/docs/providers',
736
permanent: true,
737
},
738
- // Old API reference paths that still 404
739
- {
740
- source: '/reference/api-reference/apps/:operationId',
741
- destination: '/reference/api-reference/apps',
742
- permanent: true,
743
- },
744
- {
745
- source: '/reference/api-reference/connections/:operationId',
746
- destination: '/reference/api-reference/connections',
747
- permanent: true,
748
- },
749
- {
750
- source: '/reference/api-reference/api-keys/:operationId',
751
- destination: '/reference/api-reference/api-keys',
752
- permanent: true,
753
- },
754
- {
755
- source: '/reference/api-reference/integrations/:operationId',
756
- destination: '/reference/api-reference/integrations',
757
- permanent: true,
758
- },
759
- {
760
- source: '/reference/api-reference/projects/:operationId',
761
- destination: '/reference/api-reference/projects',
762
- permanent: true,
763
- },
764
- {
765
- source: '/reference/api-reference/team/:operationId',
766
- destination: '/reference/api-reference/team',
767
- permanent: true,
768
- },
769
- {
770
- source: '/reference/api-reference/logs/:operationId',
771
- destination: '/reference/api-reference/logs',
772
- permanent: true,
773
- },
774
- {
775
- source: '/reference/api-reference/actions/:operationId',
776
- destination: '/reference/api-reference/actions',
777
- permanent: true,
778
- },
779
- {
780
- source: '/reference/api-reference/files/:operationId',
781
- destination: '/reference/api-reference/files',
782
- permanent: true,
783
- },
784
- {
785
- source: '/reference/api-reference/client/:operationId',
786
- destination: '/reference/api-reference',
787
- permanent: true,
788
- },
789
- {
790
- source: '/reference/api-reference/client-auth/:operationId',
791
- destination: '/reference/api-reference/authentication',
792
- permanent: true,
793
- },
794
- {
795
- source: '/reference/api-reference/auth/:operationId',
796
- destination: '/reference/api-reference/authentication',
797
- permanent: true,
798
- },
799
- {
800
- source: '/reference/api-reference/health/:operationId',
801
- destination: '/reference/api-reference',
802
- permanent: true,
803
- },
804
- {
805
- source: '/reference/api-reference/analytics/:operationId',
806
- destination: '/reference/api-reference',
807
- permanent: true,
808
- },
809
- {
810
- source: '/reference/api-reference/action-v-2-logs/:operationId',
811
- destination: '/reference/api-reference',
812
- permanent: true,
813
- },
738
// Old versioned API paths (v1, v-1, v3, v-3)
739
{
740
source: '/reference/api-reference/v1/:path*',