All URIs are relative to https://SSC:8080/ssc/api/v1
Method | HTTP request | Description |
---|---|---|
doActionBugTrackerOfProjectVersion | POST /projectVersions/{parentId}/bugtracker/action | doAction |
listBugTrackerOfProjectVersion | GET /projectVersions/{parentId}/bugtracker | list |
testBugTrackerOfProjectVersion | POST /projectVersions/{parentId}/bugtracker/action/test | test |
updateCollectionBugTrackerOfProjectVersion | PUT /projectVersions/{parentId}/bugtracker | updateCollection |
ApiResultApiActionResponse doActionBugTrackerOfProjectVersion(parentId, collectionAction)
doAction
// Import classes:
//import com.fortify.ssc.restclient.ApiClient;
//import com.fortify.ssc.restclient.ApiException;
//import com.fortify.ssc.restclient.Configuration;
//import com.fortify.ssc.restclient.auth.*;
//import com.fortify.ssc.restclient.api.BugTrackerOfProjectVersionControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: FortifyToken
ApiKeyAuth FortifyToken = (ApiKeyAuth) defaultClient.getAuthentication("FortifyToken");
FortifyToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//FortifyToken.setApiKeyPrefix("Token");
BugTrackerOfProjectVersionControllerApi apiInstance = new BugTrackerOfProjectVersionControllerApi();
Long parentId = 789L; // Long | parentId
ApiCollectionActionstring collectionAction = new ApiCollectionActionstring(); // ApiCollectionActionstring | collectionAction
try {
ApiResultApiActionResponse result = apiInstance.doActionBugTrackerOfProjectVersion(parentId, collectionAction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BugTrackerOfProjectVersionControllerApi#doActionBugTrackerOfProjectVersion");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
parentId | Long | parentId | |
collectionAction | ApiCollectionActionstring | collectionAction |
- Content-Type: application/json
- Accept: application/json
ApiResultListProjectVersionBugTracker listBugTrackerOfProjectVersion(parentId, fields)
list
// Import classes:
//import com.fortify.ssc.restclient.ApiClient;
//import com.fortify.ssc.restclient.ApiException;
//import com.fortify.ssc.restclient.Configuration;
//import com.fortify.ssc.restclient.auth.*;
//import com.fortify.ssc.restclient.api.BugTrackerOfProjectVersionControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: FortifyToken
ApiKeyAuth FortifyToken = (ApiKeyAuth) defaultClient.getAuthentication("FortifyToken");
FortifyToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//FortifyToken.setApiKeyPrefix("Token");
BugTrackerOfProjectVersionControllerApi apiInstance = new BugTrackerOfProjectVersionControllerApi();
Long parentId = 789L; // Long | parentId
String fields = "fields_example"; // String | Output fields
try {
ApiResultListProjectVersionBugTracker result = apiInstance.listBugTrackerOfProjectVersion(parentId, fields);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BugTrackerOfProjectVersionControllerApi#listBugTrackerOfProjectVersion");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
parentId | Long | parentId | |
fields | String | Output fields | [optional] |
ApiResultListProjectVersionBugTracker
- Content-Type: application/json
- Accept: application/json
ApiResultVoid testBugTrackerOfProjectVersion(parentId, resource)
test
// Import classes:
//import com.fortify.ssc.restclient.ApiClient;
//import com.fortify.ssc.restclient.ApiException;
//import com.fortify.ssc.restclient.Configuration;
//import com.fortify.ssc.restclient.auth.*;
//import com.fortify.ssc.restclient.api.BugTrackerOfProjectVersionControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: FortifyToken
ApiKeyAuth FortifyToken = (ApiKeyAuth) defaultClient.getAuthentication("FortifyToken");
FortifyToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//FortifyToken.setApiKeyPrefix("Token");
BugTrackerOfProjectVersionControllerApi apiInstance = new BugTrackerOfProjectVersionControllerApi();
Long parentId = 789L; // Long | parentId
BugTrackerRequest resource = new BugTrackerRequest(); // BugTrackerRequest | resource
try {
ApiResultVoid result = apiInstance.testBugTrackerOfProjectVersion(parentId, resource);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BugTrackerOfProjectVersionControllerApi#testBugTrackerOfProjectVersion");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
parentId | Long | parentId | |
resource | BugTrackerRequest | resource |
- Content-Type: application/json
- Accept: application/json
ApiResultListProjectVersionBugTracker updateCollectionBugTrackerOfProjectVersion(parentId, data)
updateCollection
// Import classes:
//import com.fortify.ssc.restclient.ApiClient;
//import com.fortify.ssc.restclient.ApiException;
//import com.fortify.ssc.restclient.Configuration;
//import com.fortify.ssc.restclient.auth.*;
//import com.fortify.ssc.restclient.api.BugTrackerOfProjectVersionControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: FortifyToken
ApiKeyAuth FortifyToken = (ApiKeyAuth) defaultClient.getAuthentication("FortifyToken");
FortifyToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//FortifyToken.setApiKeyPrefix("Token");
BugTrackerOfProjectVersionControllerApi apiInstance = new BugTrackerOfProjectVersionControllerApi();
Long parentId = 789L; // Long | parentId
List<ProjectVersionBugTracker> data = Arrays.asList(new ProjectVersionBugTracker()); // List<ProjectVersionBugTracker> | data
try {
ApiResultListProjectVersionBugTracker result = apiInstance.updateCollectionBugTrackerOfProjectVersion(parentId, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BugTrackerOfProjectVersionControllerApi#updateCollectionBugTrackerOfProjectVersion");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
parentId | Long | parentId | |
data | List<ProjectVersionBugTracker> | data |
ApiResultListProjectVersionBugTracker
- Content-Type: application/json
- Accept: application/json