The Appcircle API provides programmatic access to Appcircle's mobile CI/CD features, allowing you to automate build, test, and deployment processes for mobile apps. With it, you can trigger builds, fetch build outputs, manage distribution profiles, and more directly via HTTP requests. Integrating the Appcircle API with Pipedream unlocks a world of automation possibilities, where you can seamlessly connect your mobile app development workflow with other services and internal systems, streamlining your CI/CD pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appcircle: {
type: "app",
app: "appcircle",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.appcircle.io/distribution/v2/profiles`,
headers: {
Authorization: `Bearer ${this.appcircle.$auth.oauth_access_token}`,
},
})
},
})
Automate Mobile App Builds: Trigger a new build for your mobile app when changes are pushed to a specific branch on GitHub. Use Pipedream's GitHub integration to listen for push
events and invoke the Appcircle API to start a new build process.
Distribute Builds to Testers: After a successful build, use the Appcircle API to distribute the app to testers automatically. Set up a Pipedream workflow to watch for successful build notifications and connect with the Slack API to send download links directly to your testing team's Slack channel.
Sync Build Status with Project Management Tools: Keep your project management tool in sync with the build status of your mobile app. Create a workflow on Pipedream that, upon a build completion, uses the Appcircle API to fetch the status and updates a task in Trello with the results.
Appcircle uses OAuth authentication. When you connect your Appcircle account, Pipedream will open a popup window where you can sign into Appcircle and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Appcircle API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://auth.appcircle.io/auth/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
pat={{custom_fields.api_token}}
POST
https://auth.appcircle.io/auth/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
pat={{custom_fields.api_token}}