Skip to content

mydatamyconsent/rust-sdk

Repository files navigation

Rust API client for mydatamyconsent

Unleashing the power of consent by establishing trust. The Platform Core Developer API defines a set of capabilities that can be used to request, issue, manage and update data, documents and credentials by organizations. The API can be used to request, manage and update Decentralised Identifiers, Financial Data, Health Data issue Documents, Credentials directly or using OpenID Connect flows, and verify Messages signed with DIDs and much more.

For more information, please visit https://mydatamyconsent.com/en-us/contact-us

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 0.0.1
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named mydatamyconsent and add the following to Cargo.toml under [dependencies]:

mydatamyconsent = { path = "./mydatamyconsent" }

Documentation for API Endpoints

All URIs are relative to https://api.mydatamyconsent.com

Class Method HTTP request Description
DataProcessingAgreementsApi v1_data_agreements_get GET /v1/data-agreements Get paginated data processing agreements.
DataProcessingAgreementsApi v1_data_agreements_id_delete DELETE /v1/data-agreements/{id} Delete a data processing agreement this will not delete a published or a agreement in use with consents.
DataProcessingAgreementsApi v1_data_agreements_id_get GET /v1/data-agreements/{id} Get data processing agreement by id.
DataProcessingAgreementsApi v1_data_agreements_id_terminate_put PUT /v1/data-agreements/{id}/terminate Terminate a data processing agreement by id.
DataProvidersDiscoveryApi v1_data_providers_get GET /v1/data-providers Discover all data providers in my data my consent by country and filters.
DataProvidersDiscoveryApi v1_data_providers_id_get GET /v1/data-providers/{id} Get a data provider details by provider id.
IndividualsApi issuer_issuedoc1_xml_post POST /issuer/issuedoc/1/xml Digilocker compatible endpoint to issue document.
IndividualsApi v1_individuals_consent_requests_get GET /v1/individuals/consent-requests Get all consent requests sent to Individuals.
IndividualsApi v1_individuals_consent_requests_post POST /v1/individuals/consent-requests Create individual consent request.
IndividualsApi v1_individuals_consent_requests_request_id_cancel_put PUT /v1/individuals/consent-requests/{request_id}/cancel Cancel the Individual data request by id.
IndividualsApi v1_individuals_consent_requests_request_id_get GET /v1/individuals/consent-requests/{request_id} Get Individual data consent request by id.
IndividualsApi v1_individuals_consent_templates_get GET /v1/individuals/consent-templates Get the paginated list of individual consent templates.
IndividualsApi v1_individuals_consent_templates_template_id_get GET /v1/individuals/consent-templates/{template_id} Get Individual consent template details by consent id.
IndividualsApi v1_individuals_consents_consent_id_documents_document_id_download_get GET /v1/individuals/consents/{consent_id}/documents/{document_id}/download Download Individual consented document by document id.
IndividualsApi v1_individuals_consents_consent_id_documents_document_id_get GET /v1/individuals/consents/{consent_id}/documents/{document_id} Get Individual consented document by document id.
IndividualsApi v1_individuals_consents_consent_id_documents_get GET /v1/individuals/consents/{consent_id}/documents Get Individual consented document by consent id.
IndividualsApi v1_individuals_consents_consent_id_financial_accounts_account_id_get GET /v1/individuals/consents/{consent_id}/financial-accounts/{account_id} Get individual consented financial account details.
IndividualsApi v1_individuals_consents_consent_id_financial_accounts_account_id_transactions_get GET /v1/individuals/consents/{consent_id}/financial-accounts/{account_id}/transactions Get individual consented financial account transactions.
IndividualsApi v1_individuals_consents_consent_id_financial_accounts_get GET /v1/individuals/consents/{consent_id}/financial-accounts Get all individual consented financial accounts.
IndividualsApi v1_individuals_consents_consent_id_get GET /v1/individuals/consents/{consent_id} Get Individuals consent details by consent id.
IndividualsApi v1_individuals_consents_consent_id_health_fhir_bundle_get GET /v1/individuals/consents/{consent_id}/health/fhir/bundle Get Individual consented Health Records by consent id.
IndividualsApi v1_individuals_consents_get GET /v1/individuals/consents Get the paginated list of Individual consents.
IndividualsApi v1_individuals_documents_issue_issue_request_id_upload_post POST /v1/individuals/documents/issue/{issue_request_id}/upload Upload a document for issuance request of individual.
IndividualsApi v1_individuals_documents_issue_post POST /v1/individuals/documents/issue Issue a new document to an individual user.
IndividualsApi v1_individuals_documents_issued_document_id_get GET /v1/individuals/documents/issued/{document_id} Get issued document.
IndividualsApi v1_individuals_documents_issued_get GET /v1/individuals/documents/issued Get paginated list of issued documents of given document type.
IndividualsApi v1_individuals_documents_types_get GET /v1/individuals/documents/types Get paginated list of registered document types.
OrganizationsApi v1_organizations_consent_requests_get GET /v1/organizations/consent-requests Get all consent requests sent to Organizations.
OrganizationsApi v1_organizations_consent_requests_post POST /v1/organizations/consent-requests Create consent request for an Organization.
OrganizationsApi v1_organizations_consent_requests_request_id_cancel_put PUT /v1/organizations/consent-requests/{request_id}/cancel Cancel the Organization data request by id.
OrganizationsApi v1_organizations_consent_requests_request_id_get GET /v1/organizations/consent-requests/{request_id} Get Organization data request by id.
OrganizationsApi v1_organizations_consent_templates_get GET /v1/organizations/consent-templates Get the paginated list of organization consent templates.
OrganizationsApi v1_organizations_consent_templates_template_id_get GET /v1/organizations/consent-templates/{template_id} Get Organization consent template details by consent id.
OrganizationsApi v1_organizations_consents_consent_id_documents_document_id_download_get GET /v1/organizations/consents/{consent_id}/documents/{document_id}/download Download Organization consent document by document id.
OrganizationsApi v1_organizations_consents_consent_id_documents_document_id_get GET /v1/organizations/consents/{consent_id}/documents/{document_id} Get Organization consent document based on document id and consent id.
OrganizationsApi v1_organizations_consents_consent_id_documents_get GET /v1/organizations/consents/{consent_id}/documents Get Organization consent document by consent id.
OrganizationsApi v1_organizations_consents_consent_id_financial_accounts_account_id_get GET /v1/organizations/consents/{consent_id}/financial-accounts/{account_id} Get organization consented financial account details.
OrganizationsApi v1_organizations_consents_consent_id_financial_accounts_account_id_transactions_get GET /v1/organizations/consents/{consent_id}/financial-accounts/{account_id}/transactions Get organization consented financial account transactions.
OrganizationsApi v1_organizations_consents_consent_id_financial_accounts_get GET /v1/organizations/consents/{consent_id}/financial-accounts Get all organization consented financial accounts.
OrganizationsApi v1_organizations_consents_consent_id_get GET /v1/organizations/consents/{consent_id} Get Organization consent request details by consent id.
OrganizationsApi v1_organizations_consents_get GET /v1/organizations/consents Get the paginated list of Organization consents.
OrganizationsApi v1_organizations_documents_issue_post POST /v1/organizations/documents/issue Issue a new document to an organization.
OrganizationsApi v1_organizations_documents_issue_upload_issue_request_id_post POST /v1/organizations/documents/issue/upload/{issue_request_id} Upload a document for issuance request of Organization.
OrganizationsApi v1_organizations_documents_issued_document_id_get GET /v1/organizations/documents/issued/{document_id} Get issued document.
OrganizationsApi v1_organizations_documents_issued_get GET /v1/organizations/documents/issued Get paginated list of issued documents of given document type.
OrganizationsApi v1_organizations_documents_types_get GET /v1/organizations/documents/types Get paginated list of registered document types.
SupportedIdentifiersApi v1_supported_identifiers_country_iso2_code_get GET /v1/supported-identifiers/{country_iso2_code} Get all supported identifiers by country.

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages