import 'package:bitrise/api.dart';
All URIs are relative to https://api.bitrise.io/v0.1
Method | HTTP request | Description |
---|---|---|
addonListByApp | get /apps/{app-slug}/addons | Get list of the addons for apps |
addonListByOrganization | get /organizations/{organization-slug}/addons | Get list of the addons for organization |
addonListByUser | get /users/{user-slug}/addons | Get list of the addons for user |
addonsList | get /addons | Get list of available Bitrise addons |
addonsShow | get /addons/{addon-id} | Get a specific Bitrise addon |
V0AppAddOnsListResponseModel addonListByApp(appSlug)
Get list of the addons for apps
List all the provisioned addons for the authorized apps
import 'package:bitrise/api.dart';
// TODO Configure API key authorization: AddonAuthToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('AddonAuthToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('AddonAuthToken').apiKeyPrefix = 'Bearer';
// TODO Configure API key authorization: PersonalAccessToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKeyPrefix = 'Bearer';
var api_instance = new AddonsApi();
var appSlug = appSlug_example; // String | App slug
try {
var result = api_instance.addonListByApp(appSlug);
print(result);
} catch (e) {
print('Exception when calling AddonsApi->addonListByApp: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
appSlug | String | App slug |
AddonAuthToken, PersonalAccessToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V0OwnerAddOnsListResponseModel addonListByOrganization(organizationSlug)
Get list of the addons for organization
List all the provisioned addons for organization
import 'package:bitrise/api.dart';
// TODO Configure API key authorization: PersonalAccessToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKeyPrefix = 'Bearer';
var api_instance = new AddonsApi();
var organizationSlug = organizationSlug_example; // String | Organization slug
try {
var result = api_instance.addonListByOrganization(organizationSlug);
print(result);
} catch (e) {
print('Exception when calling AddonsApi->addonListByOrganization: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
organizationSlug | String | Organization slug |
V0OwnerAddOnsListResponseModel
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V0OwnerAddOnsListResponseModel addonListByUser(userSlug)
Get list of the addons for user
List all the provisioned addons for the authenticated user
import 'package:bitrise/api.dart';
// TODO Configure API key authorization: PersonalAccessToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKeyPrefix = 'Bearer';
var api_instance = new AddonsApi();
var userSlug = userSlug_example; // String | User slug
try {
var result = api_instance.addonListByUser(userSlug);
print(result);
} catch (e) {
print('Exception when calling AddonsApi->addonListByUser: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
userSlug | String | User slug |
V0OwnerAddOnsListResponseModel
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V0AddonsListResponseModel addonsList()
Get list of available Bitrise addons
List all the available Bitrise addons
import 'package:bitrise/api.dart';
// TODO Configure API key authorization: PersonalAccessToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKeyPrefix = 'Bearer';
var api_instance = new AddonsApi();
try {
var result = api_instance.addonsList();
print(result);
} catch (e) {
print('Exception when calling AddonsApi->addonsList: $e\n');
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
V0AddonsShowResponseModel addonsShow(addonId)
Get a specific Bitrise addon
Show details of a specific Bitrise addon
import 'package:bitrise/api.dart';
// TODO Configure API key authorization: PersonalAccessToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('PersonalAccessToken').apiKeyPrefix = 'Bearer';
var api_instance = new AddonsApi();
var addonId = addonId_example; // String | Addon ID
try {
var result = api_instance.addonsShow(addonId);
print(result);
} catch (e) {
print('Exception when calling AddonsApi->addonsShow: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
addonId | String | Addon ID |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]