New feature: Add integrated projects via the Buddy API
Version control lies at the very core of Continuous Integration. Buddy integrates with all popular Git hosting services, including GitHub, Bitbucket, GitLab, as well as custom repos on private servers. You can also host code directly on Buddy if you like to keep everything in one place.
Image loading...
You can easily add any type of repository via Buddy's GUI (see above). However, some developers prefer to automate it via the API, especially if they worked out a template to follow.
Let's say you're a digital agency and just closed a deal for a series of websites. A typical use case begins with the team leader setting up a new project in the task manager. With proper CI/CD applied, the project then automatically creates a new repository on the code provider (e.g. GitHub), and uses the Buddy's API to set up the CI: integrate the repository, create pipelines, and so on.
Until now, adding new projects via the API was only possible with repositories hosted on Buddy. With this week's release, we have added support for all integrated Git providers, and custom Git repositories.
Here's an example request:
defaultPOST https://api.buddy.works/workspaces/buddy/projects { "display_name": "Landing page", "external_project_id": "buddy/landing-page", "integration": { "id": 1 } }
The full documentation is available here: buddy.works/docs/api/general/projects/create
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.