affinidi_tdk_vault_data_manager_client 1.17.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Affinidi TDK dart client for Affinidi VAULT DATA MANAGER

affinidi_tdk_vault_data_manager_client (EXPERIMENTAL)

Affinidi TDK dart client for Affinidi VAULT DATA MANAGER

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_vault_data_manager_client: ^1.0.0

Github

This Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_vault_data_manager_client:
    git:
      url: https://github.com/affinidi/affinidi-tdk.git
      ref: main
      path: clients/dart/vault_data_manager_client

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  affinidi_tdk_vault_data_manager_client:
    path: /path/to/affinidi_tdk_vault_data_manager_client

Install dependencies

dart pub get

Getting Started

Please follow the installation procedure and then run the following:

import 'package:affinidi_tdk_vault_data_manager_client/affinidi_tdk_vault_data_manager_client.dart';


final api = AffinidiTdkVaultDataManagerClient().getAccountsApi();
final CreateAccountInput createAccountInput = ; // CreateAccountInput | CreateAccount

try {
    final response = await api.createAccount(createAccountInput);
    print(response);
} catch on DioException (e) {
    print("Exception when calling AccountsApi->createAccount: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://api.vault.affinidi.com/vfs

ClassMethodHTTP requestDescription
AccountsApicreateAccountPOST /v1/accounts
AccountsApideleteAccountDELETE /v1/accounts/{accountIndex}
AccountsApilistAccountsGET /v1/accounts
AccountsApiupdateAccountPUT /v1/accounts/{accountIndex}
ConfigurationApigetConfigurationGET /v1/config
FilesApigetScannedFileInfoGET /v1/scanned-files/{scannedFileJobId}
FilesApilistScannedFilesGET /v1/scanned-files/
FilesApistartFileScanPOST /v1/nodes/{nodeId}/file/scan
NodesApicreateChildNodePOST /v1/nodes/{nodeId}
NodesApicreateNodePOST /v1/nodes
NodesApideleteNodeDELETE /v1/nodes/{nodeId}
NodesApigetDetailedNodeInfoGET /v1/nodes/{nodeId}
NodesApiinitNodesPOST /v1/nodes/init
NodesApilistNodeChildrenGET /v1/nodes/{nodeId}/children
NodesApilistRootNodeChildrenGET /v1/nodes
NodesApimoveNodePOST /v1/nodes/{nodeId}/move
NodesApipermanentlyDeleteNodeDELETE /v1/nodes/{nodeId}/remove/{nodeIdToRemove}
NodesApirestoreNodeFromTrashbinPOST /v1/nodes/{nodeId}/restore/{nodeIdToRestore}
NodesApiupdateNodePATCH /v1/nodes/{nodeId}
ProfileDataApiqueryProfileDataGET /v1/nodes/{nodeId}/profile-data
ProfileDataApiupdateProfileDataPATCH /v1/nodes/{nodeId}/profile-data
WellKnownApigetWellKnownJwksGET /.well-known/jwks.json

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

AwsSigV4

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

ApiKey

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

bearerAuth

  • Type: HTTP Bearer Token authentication (JWT)

ConsumerTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

UserTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

ProjectTokenAuth

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

Author

info@affinidi.com