StarGit API Reference

Explore the Stargit API and its powerful features for automating your development workflows. Use the API to sync projects, deploy with ease, and leverage AI-driven tools.

Automated Sync

Automatically synchronize your project files across multiple repositories and environments.

POST /api/sync/automated

Example:

curl -X POST https://stargit.dev/api/sync/automated -d '{"project_id": "123", "sync_type": "full"}'
Multi-Project Sync

Synchronize multiple projects at once with a single API call, ensuring all environments are up to date.

POST /api/sync/multi

Example:

curl -X POST https://stargit.dev/api/sync/multi -d '{"project_ids": ["123", "456"], "sync_type": "incremental"}'
AI-Assisted Commit

Get commit messages auto-generated by AI based on code changes and context.

POST /api/commit/ai

Example:

curl -X POST https://stargit.dev/api/commit/ai -d '{"project_id": "123", "changes": "Refactored code for performance."}'
AI Security Alerts

Receive security alerts generated by AI that scans your code for vulnerabilities.

GET /api/security/alerts

Example:

curl https://stargit.dev/api/security/alerts?project_id=123
Automated Deployment

Deploy your project to staging or production environments with one API call.

POST /api/deploy

Example:

curl -X POST https://stargit.dev/api/deploy -d '{"project_id": "123", "env": "production"}'
Auto Pull Updates

Automatically pull the latest updates from your Git repository.

POST /api/pull/auto

Example:

curl -X POST https://stargit.dev/api/pull/auto -d '{"project_id": "123"}'
Auto Daily Commit with AI

Ensure daily commits with AI-generated messages for continuous development.

POST /api/commit/daily

Example:

curl -X POST https://stargit.dev/api/commit/daily -d '{"project_id": "123"}'
Publish to Blockchain

Use blockchain technology to publish your commits for an immutable record.

POST /api/blockchain/publish

Example:

curl -X POST https://stargit.dev/api/blockchain/publish -d '{"project_id": "123"}'
Pipeline Automation

Automate your CI/CD pipeline by triggering builds, tests, and deployments.

POST /api/pipeline/trigger

Example:

curl -X POST https://stargit.dev/api/pipeline/trigger -d '{"project_id": "123", "action": "build"}'
Notifications

Set up notifications for important events such as deployments, commits, and syncs.

POST /api/notifications

Example:

curl -X POST https://stargit.dev/api/notifications -d '{"project_id": "123", "event": "deploy", "recipient": "you@example.com"}'
We use cookies for essential functionality like session management. No data is shared with third parties. Learn More

Cookie Policy

We use cookies to manage user sessions and improve your experience. These cookies are essential for the website to function, and no personal information is transferred to third parties.

By accepting, you agree to our use of cookies. You can manage your choice at any time in your browser settings.