All URIs are relative to https://localhost:8080/api/v2
Method | HTTP request | Description |
---|---|---|
TechnologiesCreate | POST /technologies/ | |
TechnologiesDelete | DELETE /technologies/{id}/ | |
TechnologiesList | GET /technologies/ | |
TechnologiesPartialUpdate | PATCH /technologies/{id}/ | |
TechnologiesRead | GET /technologies/{id}/ | |
TechnologiesUpdate | PUT /technologies/{id}/ |
AppAnalysis TechnologiesCreate (AppAnalysis data)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesCreateExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var data = new AppAnalysis(); // AppAnalysis |
try
{
AppAnalysis result = apiInstance.TechnologiesCreate(data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesCreate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
data | AppAnalysis |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void TechnologiesDelete (int? id)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesDeleteExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var id = 56; // int? | A unique integer value identifying this app_ analysis.
try
{
apiInstance.TechnologiesDelete(id);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesDelete: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int? | A unique integer value identifying this app_ analysis. |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20023 TechnologiesList (string product = null, string name = null, string user = null, string version = null, string tags = null, int? limit = null, int? offset = null)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesListExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var product = product_example; // string | (optional)
var name = name_example; // string | (optional)
var user = user_example; // string | (optional)
var version = version_example; // string | (optional)
var tags = tags_example; // string | (optional)
var limit = 56; // int? | Number of results to return per page. (optional)
var offset = 56; // int? | The initial index from which to return the results. (optional)
try
{
InlineResponse20023 result = apiInstance.TechnologiesList(product, name, user, version, tags, limit, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesList: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
product | string | [optional] | |
name | string | [optional] | |
user | string | [optional] | |
version | string | [optional] | |
tags | string | [optional] | |
limit | int? | Number of results to return per page. | [optional] |
offset | int? | The initial index from which to return the results. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppAnalysis TechnologiesPartialUpdate (int? id, AppAnalysis data)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesPartialUpdateExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var id = 56; // int? | A unique integer value identifying this app_ analysis.
var data = new AppAnalysis(); // AppAnalysis |
try
{
AppAnalysis result = apiInstance.TechnologiesPartialUpdate(id, data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesPartialUpdate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int? | A unique integer value identifying this app_ analysis. | |
data | AppAnalysis |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppAnalysis TechnologiesRead (int? id)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesReadExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var id = 56; // int? | A unique integer value identifying this app_ analysis.
try
{
AppAnalysis result = apiInstance.TechnologiesRead(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesRead: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int? | A unique integer value identifying this app_ analysis. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppAnalysis TechnologiesUpdate (int? id, AppAnalysis data)
using System;
using System.Diagnostics;
using DefectDojo.Api;
using DefectDojo.Client;
using DefectDojo.Model;
namespace Example
{
public class TechnologiesUpdateExample
{
public void main()
{
// Configure API key authorization: api_key
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TechnologiesApi();
var id = 56; // int? | A unique integer value identifying this app_ analysis.
var data = new AppAnalysis(); // AppAnalysis |
try
{
AppAnalysis result = apiInstance.TechnologiesUpdate(id, data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TechnologiesApi.TechnologiesUpdate: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int? | A unique integer value identifying this app_ analysis. | |
data | AppAnalysis |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]