Skip to main content

Sensitives API

All URIs are relative to http://localhost:1000

MethodHTTP requestDescription
sensitivesCreateNewSensitivePOST /sensitives/create/sensitives/create [POST]
sensitivesDeleteSensitivePOST /sensitives/{sensitive}/delete/sensitives/{sensitive}/delete [POST]
sensitivesSnapshotGET /sensitives/sensitives [GET]

sensitivesCreateNewSensitive

Sensitive sensitivesCreateNewSensitive(seededSensitive)

/sensitives/create [POST]

This will create a new sensitive model.

Example

import 'package:core_openapi/api.dart';

final api_instance = SensitivesApi();
final seededSensitive = SeededSensitive(); // SeededSensitive |

try {
final result = api_instance.sensitivesCreateNewSensitive(seededSensitive);
print(result);
} catch (e) {
print('Exception when calling SensitivesApi->sensitivesCreateNewSensitive: $e\n');
}

Parameters

NameTypeDescriptionNotes
seededSensitiveSeededSensitive[optional]

Return type

Sensitive

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

sensitivesDeleteSensitive

sensitivesDeleteSensitive(sensitive)

/sensitives/{sensitive}/delete [POST]

This will delete a sensitive based on the sensitive uuid.

Example

import 'package:core_openapi/api.dart';

final api_instance = SensitivesApi();
final sensitive = sensitive_example; // String | This is a uuid that represents a sensitive.

try {
api_instance.sensitivesDeleteSensitive(sensitive);
} catch (e) {
print('Exception when calling SensitivesApi->sensitivesDeleteSensitive: $e\n');
}

Parameters

NameTypeDescriptionNotes
sensitiveStringThis is a uuid that represents a sensitive.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain

sensitivesSnapshot

Sensitives sensitivesSnapshot()

/sensitives [GET]

This will get a snapshot of all of the sensitives.

Example

import 'package:core_openapi/api.dart';

final api_instance = SensitivesApi();

try {
final result = api_instance.sensitivesSnapshot();
print(result);
} catch (e) {
print('Exception when calling SensitivesApi->sensitivesSnapshot: $e\n');
}

Parameters

This endpoint does not need any parameter.

Return type

Sensitives

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain