AdvancedAPI Integration
Advanced

API Integration

Integrate Manu Documentation with external tools and services

Integration Overview

You integrate Manu Documentation with various external tools to streamline your workflow. These integrations automate documentation updates and improve collaboration.

GitHub Integration

You connect GitHub repositories to automatically sync documentation changes. This keeps your docs up-to-date with code changes.

Connect Repository

Authorize Manu Documentation to access your GitHub repository.

Configure Sync

Set up automatic sync for specific branches and folders.

Monitor Changes

Track documentation updates in real-time.

{
"event": "push",
"repository": {
  "name": "my-docs",
  "owner": "my-org"
},
"commits": [
  {
    "modified": ["README.md", "api-docs/endpoints.md"],
    "added": ["new-feature.md"],
    "removed": ["deprecated.md"]
  }
]
}

Slack Integration

You configure Slack notifications for documentation events. Get notified when team members make changes or when reviews are requested.

Set up notifications for various events.

body
channelstring
Required

Slack channel for notifications.

body
eventsarray
Required

Events to notify about.

Jira Integration

You link documentation to Jira issues for better project tracking. This creates a seamless workflow between development and documentation.

Jira integration requires admin permissions in both systems.

Automatically link documentation pages to Jira issues.

Webhook Configuration

You set up webhooks to receive real-time notifications about documentation changes. Webhooks enable custom integrations with your existing tools.

const express = require('express');
const app = express();

app.post('/webhook/manu-docs', (req, res) => {
const { event, document, changes } = req.body;

console.log(`Document ${document.title} was ${event}`);

// Handle the webhook
if (event === 'updated') {
  // Send notification or trigger CI/CD
}

res.status(200).send('OK');
});

app.listen(3000);

API Endpoints

You use specific API endpoints for integration purposes. These endpoints allow programmatic access to documentation features.

idstring
Required

Unique identifier for the integration.

statusstring
Required

Current status of the integration.

last_syncstring

Timestamp of the last successful sync.

Troubleshooting Integrations

If integrations fail, you check these common issues. Most problems stem from authentication or configuration errors.

IntegrationCommon IssueSolution
GitHubPermission deniedCheck repository access permissions
SlackToken expiredRegenerate Slack bot token
JiraConnection timeoutVerify Jira server URL and credentials
2024-08-20Integration Updates
featureintegration

New Integrations Added

  • Added support for Notion workspaces
  • Improved webhook retry logic
  • Enhanced error reporting for failed syncs
Was this page helpful?
Built with Documentation.AI

Last updated 6 days ago