Skip to content

Latest commit

 

History

History
421 lines (401 loc) · 42.6 KB

File metadata and controls

421 lines (401 loc) · 42.6 KB

Rust API client for cloudtruth-restapi

CloudTruth centralizes your configuration parameters and secrets making them easier to manage and use as a team.

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.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

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

cloudtruth-restapi = { path = "./cloudtruth-restapi" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ApiApi api_schema_retrieve GET /api/schema/
AuditApi audit_list GET /api/v1/audit/
AuditApi audit_retrieve GET /api/v1/audit/{id}/
AuditApi audit_summary_retrieve GET /api/v1/audit/summary/
BackupApi backup_snapshot_create POST /api/v1/backup/snapshot/ Get a snapshot of all Projects with parameters
EnvironmentsApi environments_copy_create POST /api/v1/environments/{id}/copy/
EnvironmentsApi environments_create POST /api/v1/environments/
EnvironmentsApi environments_destroy DELETE /api/v1/environments/{id}/
EnvironmentsApi environments_list GET /api/v1/environments/
EnvironmentsApi environments_partial_update PATCH /api/v1/environments/{id}/
EnvironmentsApi environments_pushes_list GET /api/v1/environments/{environment_pk}/pushes/ List push operations.
EnvironmentsApi environments_retrieve GET /api/v1/environments/{id}/
EnvironmentsApi environments_tags_create POST /api/v1/environments/{environment_pk}/tags/
EnvironmentsApi environments_tags_destroy DELETE /api/v1/environments/{environment_pk}/tags/{id}/
EnvironmentsApi environments_tags_list GET /api/v1/environments/{environment_pk}/tags/
EnvironmentsApi environments_tags_partial_update PATCH /api/v1/environments/{environment_pk}/tags/{id}/
EnvironmentsApi environments_tags_retrieve GET /api/v1/environments/{environment_pk}/tags/{id}/
EnvironmentsApi environments_tags_update PUT /api/v1/environments/{environment_pk}/tags/{id}/
EnvironmentsApi environments_update PUT /api/v1/environments/{id}/
FeaturesApi features_aichat_retrieve GET /api/v1/features/aichat/
FeaturesApi features_retrieve GET /api/v1/features/
GrantsApi grants_create POST /api/v1/grants/
GrantsApi grants_destroy DELETE /api/v1/grants/{id}/
GrantsApi grants_list GET /api/v1/grants/
GrantsApi grants_multi_destroy DELETE /api/v1/grants/multi/
GrantsApi grants_partial_update PATCH /api/v1/grants/{id}/
GrantsApi grants_retrieve GET /api/v1/grants/{id}/
GrantsApi grants_update PUT /api/v1/grants/{id}/
GroupsApi groups_add_create POST /api/v1/groups/{id}/add/
GroupsApi groups_create POST /api/v1/groups/
GroupsApi groups_destroy DELETE /api/v1/groups/{id}/
GroupsApi groups_list GET /api/v1/groups/
GroupsApi groups_partial_update PATCH /api/v1/groups/{id}/
GroupsApi groups_remove_create POST /api/v1/groups/{id}/remove/
GroupsApi groups_retrieve GET /api/v1/groups/{id}/
GroupsApi groups_update PUT /api/v1/groups/{id}/
ImportApi import_create POST /api/v1/import/
IntegrationsApi integrations_aws_create POST /api/v1/integrations/aws/ Establishes an AWS Integration.
IntegrationsApi integrations_aws_destroy DELETE /api/v1/integrations/aws/{id}/ Delete an AWS integration.
IntegrationsApi integrations_aws_list GET /api/v1/integrations/aws/
IntegrationsApi integrations_aws_partial_update PATCH /api/v1/integrations/aws/{id}/
IntegrationsApi integrations_aws_pulls_create POST /api/v1/integrations/aws/{awsintegration_pk}/pulls/
IntegrationsApi integrations_aws_pulls_destroy DELETE /api/v1/integrations/aws/{awsintegration_pk}/pulls/{id}/
IntegrationsApi integrations_aws_pulls_list GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/
IntegrationsApi integrations_aws_pulls_partial_update PATCH /api/v1/integrations/aws/{awsintegration_pk}/pulls/{id}/
IntegrationsApi integrations_aws_pulls_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/{id}/
IntegrationsApi integrations_aws_pulls_sync_create POST /api/v1/integrations/aws/{awsintegration_pk}/pulls/{id}/sync/
IntegrationsApi integrations_aws_pulls_tasks_list GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/{awspull_pk}/tasks/
IntegrationsApi integrations_aws_pulls_tasks_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/{awspull_pk}/tasks/{id}/
IntegrationsApi integrations_aws_pulls_tasks_steps_list GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/{awspull_pk}/tasks/{awspulltask_pk}/steps/
IntegrationsApi integrations_aws_pulls_tasks_steps_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pulls/{awspull_pk}/tasks/{awspulltask_pk}/steps/{id}/
IntegrationsApi integrations_aws_pulls_update PUT /api/v1/integrations/aws/{awsintegration_pk}/pulls/{id}/
IntegrationsApi integrations_aws_pushes_create POST /api/v1/integrations/aws/{awsintegration_pk}/pushes/
IntegrationsApi integrations_aws_pushes_destroy DELETE /api/v1/integrations/aws/{awsintegration_pk}/pushes/{id}/
IntegrationsApi integrations_aws_pushes_list GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/
IntegrationsApi integrations_aws_pushes_partial_update PATCH /api/v1/integrations/aws/{awsintegration_pk}/pushes/{id}/
IntegrationsApi integrations_aws_pushes_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/{id}/
IntegrationsApi integrations_aws_pushes_sync_create POST /api/v1/integrations/aws/{awsintegration_pk}/pushes/{id}/sync/
IntegrationsApi integrations_aws_pushes_tasks_list GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/{awspush_pk}/tasks/
IntegrationsApi integrations_aws_pushes_tasks_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/{awspush_pk}/tasks/{id}/
IntegrationsApi integrations_aws_pushes_tasks_steps_list GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/{awspush_pk}/tasks/{awspushtask_pk}/steps/
IntegrationsApi integrations_aws_pushes_tasks_steps_retrieve GET /api/v1/integrations/aws/{awsintegration_pk}/pushes/{awspush_pk}/tasks/{awspushtask_pk}/steps/{id}/
IntegrationsApi integrations_aws_pushes_update PUT /api/v1/integrations/aws/{awsintegration_pk}/pushes/{id}/
IntegrationsApi integrations_aws_retrieve GET /api/v1/integrations/aws/{id}/ Get details of an AWS Integration.
IntegrationsApi integrations_aws_scan_create POST /api/v1/integrations/aws/{id}/scan/ Evaluate a potential pull pattern and understand what it will match.
IntegrationsApi integrations_aws_update PUT /api/v1/integrations/aws/{id}/
IntegrationsApi integrations_azure_key_vault_create POST /api/v1/integrations/azure/key_vault/ Establishes an Azure Key Vault Integration.
IntegrationsApi integrations_azure_key_vault_destroy DELETE /api/v1/integrations/azure/key_vault/{id}/ Delete an Azure Key Vault integration.
IntegrationsApi integrations_azure_key_vault_list GET /api/v1/integrations/azure/key_vault/
IntegrationsApi integrations_azure_key_vault_partial_update PATCH /api/v1/integrations/azure/key_vault/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_create POST /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/
IntegrationsApi integrations_azure_key_vault_pulls_destroy DELETE /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/
IntegrationsApi integrations_azure_key_vault_pulls_partial_update PATCH /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_sync_create POST /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{id}/sync/
IntegrationsApi integrations_azure_key_vault_pulls_tasks_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{akvpull_pk}/tasks/
IntegrationsApi integrations_azure_key_vault_pulls_tasks_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{akvpull_pk}/tasks/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_tasks_steps_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{akvpull_pk}/tasks/{akvpulltask_pk}/steps/
IntegrationsApi integrations_azure_key_vault_pulls_tasks_steps_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{akvpull_pk}/tasks/{akvpulltask_pk}/steps/{id}/
IntegrationsApi integrations_azure_key_vault_pulls_update PUT /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pulls/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_create POST /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/
IntegrationsApi integrations_azure_key_vault_pushes_destroy DELETE /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/
IntegrationsApi integrations_azure_key_vault_pushes_partial_update PATCH /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_sync_create POST /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{id}/sync/
IntegrationsApi integrations_azure_key_vault_pushes_tasks_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{akvpush_pk}/tasks/
IntegrationsApi integrations_azure_key_vault_pushes_tasks_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{akvpush_pk}/tasks/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_tasks_steps_list GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{akvpush_pk}/tasks/{akvpushtask_pk}/steps/
IntegrationsApi integrations_azure_key_vault_pushes_tasks_steps_retrieve GET /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{akvpush_pk}/tasks/{akvpushtask_pk}/steps/{id}/
IntegrationsApi integrations_azure_key_vault_pushes_update PUT /api/v1/integrations/azure/key_vault/{akvintegration_pk}/pushes/{id}/
IntegrationsApi integrations_azure_key_vault_retrieve GET /api/v1/integrations/azure/key_vault/{id}/ Get details of an Azure Key Vault Integration.
IntegrationsApi integrations_azure_key_vault_scan_create POST /api/v1/integrations/azure/key_vault/{id}/scan/ Evaluate a potential pull pattern and understand what it will match.
IntegrationsApi integrations_azure_key_vault_update PUT /api/v1/integrations/azure/key_vault/{id}/
IntegrationsApi integrations_explore_list GET /api/v1/integrations/explore/ Retrieve third-party integration data for the specified FQN.
IntegrationsApi integrations_github_create POST /api/v1/integrations/github/ Establishes a GitHub Integration.
IntegrationsApi integrations_github_destroy DELETE /api/v1/integrations/github/{id}/ Delete a GitHub integration.
IntegrationsApi integrations_github_list GET /api/v1/integrations/github/
IntegrationsApi integrations_github_pulls_list GET /api/v1/integrations/github/{githubintegration_pk}/pulls/
IntegrationsApi integrations_github_pulls_partial_update PATCH /api/v1/integrations/github/{githubintegration_pk}/pulls/{id}/
IntegrationsApi integrations_github_pulls_retrieve GET /api/v1/integrations/github/{githubintegration_pk}/pulls/{id}/
IntegrationsApi integrations_github_pulls_sync_create POST /api/v1/integrations/github/{githubintegration_pk}/pulls/{id}/sync/
IntegrationsApi integrations_github_pulls_tasks_list GET /api/v1/integrations/github/{githubintegration_pk}/pulls/{githubpull_pk}/tasks/
IntegrationsApi integrations_github_pulls_tasks_retrieve GET /api/v1/integrations/github/{githubintegration_pk}/pulls/{githubpull_pk}/tasks/{id}/
IntegrationsApi integrations_github_pulls_tasks_steps_list GET /api/v1/integrations/github/{githubintegration_pk}/pulls/{githubpull_pk}/tasks/{githubpulltask_pk}/steps/
IntegrationsApi integrations_github_pulls_tasks_steps_retrieve GET /api/v1/integrations/github/{githubintegration_pk}/pulls/{githubpull_pk}/tasks/{githubpulltask_pk}/steps/{id}/
IntegrationsApi integrations_github_pulls_update PUT /api/v1/integrations/github/{githubintegration_pk}/pulls/{id}/
IntegrationsApi integrations_github_retrieve GET /api/v1/integrations/github/{id}/ Get details of a GitHub Integration.
InvitationsApi invitations_accept_create POST /api/v1/invitations/{id}/accept/ Accept an invitation.
InvitationsApi invitations_create POST /api/v1/invitations/ Create an invitation.
InvitationsApi invitations_destroy DELETE /api/v1/invitations/{id}/
InvitationsApi invitations_list GET /api/v1/invitations/
InvitationsApi invitations_partial_update PATCH /api/v1/invitations/{id}/
InvitationsApi invitations_resend_create POST /api/v1/invitations/{id}/resend/ Resend an invitation.
InvitationsApi invitations_retrieve GET /api/v1/invitations/{id}/
InvitationsApi invitations_update PUT /api/v1/invitations/{id}/
MembershipsApi memberships_create POST /api/v1/memberships/
MembershipsApi memberships_destroy DELETE /api/v1/memberships/{id}/
MembershipsApi memberships_list GET /api/v1/memberships/
MembershipsApi memberships_partial_update PATCH /api/v1/memberships/{id}/
MembershipsApi memberships_retrieve GET /api/v1/memberships/{id}/
MembershipsApi memberships_update PUT /api/v1/memberships/{id}/
OrganizationsApi organizations_create POST /api/v1/organizations/
OrganizationsApi organizations_destroy DELETE /api/v1/organizations/{id}/
OrganizationsApi organizations_list GET /api/v1/organizations/
OrganizationsApi organizations_partial_update PATCH /api/v1/organizations/{id}/
OrganizationsApi organizations_retrieve GET /api/v1/organizations/{id}/
OrganizationsApi organizations_update PUT /api/v1/organizations/{id}/
ProjectsApi projects_copy_create POST /api/v1/projects/{id}/copy/
ProjectsApi projects_create POST /api/v1/projects/
ProjectsApi projects_destroy DELETE /api/v1/projects/{id}/
ProjectsApi projects_list GET /api/v1/projects/
ProjectsApi projects_parameter_export_list GET /api/v1/projects/{project_pk}/parameter-export/
ProjectsApi projects_parameters_copy_create POST /api/v1/projects/{project_pk}/parameters/{id}/copy/
ProjectsApi projects_parameters_create POST /api/v1/projects/{project_pk}/parameters/
ProjectsApi projects_parameters_destroy DELETE /api/v1/projects/{project_pk}/parameters/{id}/
ProjectsApi projects_parameters_duality_list GET /api/v1/projects/{project_pk}/parameters/duality/
ProjectsApi projects_parameters_list GET /api/v1/projects/{project_pk}/parameters/
ProjectsApi projects_parameters_partial_update PATCH /api/v1/projects/{project_pk}/parameters/{id}/
ProjectsApi projects_parameters_pushes_list GET /api/v1/projects/{project_pk}/parameters/{parameter_pk}/pushes/ List push operations.
ProjectsApi projects_parameters_retrieve GET /api/v1/projects/{project_pk}/parameters/{id}/
ProjectsApi projects_parameters_rules_create POST /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/
ProjectsApi projects_parameters_rules_destroy DELETE /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/{id}/
ProjectsApi projects_parameters_rules_list GET /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/
ProjectsApi projects_parameters_rules_partial_update PATCH /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/{id}/
ProjectsApi projects_parameters_rules_retrieve GET /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/{id}/
ProjectsApi projects_parameters_rules_update PUT /api/v1/projects/{project_pk}/parameters/{parameter_pk}/rules/{id}/
ProjectsApi projects_parameters_timeline_retrieve GET /api/v1/projects/{project_pk}/parameters/{id}/timeline/
ProjectsApi projects_parameters_timelines_retrieve GET /api/v1/projects/{project_pk}/parameters/timelines/
ProjectsApi projects_parameters_update PUT /api/v1/projects/{project_pk}/parameters/{id}/
ProjectsApi projects_parameters_values_create POST /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/ Set a value.
ProjectsApi projects_parameters_values_destroy DELETE /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/{id}/ Destroy a value.
ProjectsApi projects_parameters_values_list GET /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/ Retrieve values.
ProjectsApi projects_parameters_values_partial_update PATCH /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/{id}/ Update a value.
ProjectsApi projects_parameters_values_retrieve GET /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/{id}/ Retrieve a value.
ProjectsApi projects_parameters_values_update PUT /api/v1/projects/{project_pk}/parameters/{parameter_pk}/values/{id}/ Update a value.
ProjectsApi projects_partial_update PATCH /api/v1/projects/{id}/
ProjectsApi projects_retrieve GET /api/v1/projects/{id}/
ProjectsApi projects_template_preview_create POST /api/v1/projects/{project_pk}/template-preview/
ProjectsApi projects_templates_create POST /api/v1/projects/{project_pk}/templates/
ProjectsApi projects_templates_destroy DELETE /api/v1/projects/{project_pk}/templates/{id}/
ProjectsApi projects_templates_list GET /api/v1/projects/{project_pk}/templates/
ProjectsApi projects_templates_partial_update PATCH /api/v1/projects/{project_pk}/templates/{id}/
ProjectsApi projects_templates_retrieve GET /api/v1/projects/{project_pk}/templates/{id}/
ProjectsApi projects_templates_timeline_retrieve GET /api/v1/projects/{project_pk}/templates/{id}/timeline/
ProjectsApi projects_templates_timelines_retrieve GET /api/v1/projects/{project_pk}/templates/timelines/
ProjectsApi projects_templates_update PUT /api/v1/projects/{project_pk}/templates/{id}/
ProjectsApi projects_update PUT /api/v1/projects/{id}/
ServiceaccountsApi serviceaccounts_create POST /api/v1/serviceaccounts/ Create a ServiceAccount user.
ServiceaccountsApi serviceaccounts_destroy DELETE /api/v1/serviceaccounts/{id}/
ServiceaccountsApi serviceaccounts_list GET /api/v1/serviceaccounts/
ServiceaccountsApi serviceaccounts_partial_update PATCH /api/v1/serviceaccounts/{id}/
ServiceaccountsApi serviceaccounts_rekey_create POST /api/v1/serviceaccounts/{id}/rekey/
ServiceaccountsApi serviceaccounts_retrieve GET /api/v1/serviceaccounts/{id}/
ServiceaccountsApi serviceaccounts_update PUT /api/v1/serviceaccounts/{id}/ Update a ServiceAccount user.
TypesApi types_create POST /api/v1/types/
TypesApi types_destroy DELETE /api/v1/types/{id}/
TypesApi types_list GET /api/v1/types/
TypesApi types_partial_update PATCH /api/v1/types/{id}/
TypesApi types_retrieve GET /api/v1/types/{id}/
TypesApi types_rules_create POST /api/v1/types/{parametertype_pk}/rules/
TypesApi types_rules_destroy DELETE /api/v1/types/{parametertype_pk}/rules/{id}/
TypesApi types_rules_list GET /api/v1/types/{parametertype_pk}/rules/
TypesApi types_rules_partial_update PATCH /api/v1/types/{parametertype_pk}/rules/{id}/
TypesApi types_rules_retrieve GET /api/v1/types/{parametertype_pk}/rules/{id}/
TypesApi types_rules_update PUT /api/v1/types/{parametertype_pk}/rules/{id}/
TypesApi types_update PUT /api/v1/types/{id}/
UsersApi users_current_retrieve GET /api/v1/users/current/ Current user information
UsersApi users_destroy DELETE /api/v1/users/{id}/ Delete the specified user.
UsersApi users_list GET /api/v1/users/
UsersApi users_partial_update PATCH /api/v1/users/{id}/
UsersApi users_retrieve GET /api/v1/users/{id}/
UsersApi users_update PUT /api/v1/users/{id}/
UtilsApi utils_generate_password_create POST /api/v1/utils/generate_password/ Get a randomly generated password using AWS Secrets Manager, with fallback to /dev/urandom.

Documentation For Models

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

cargo doc --open

Author

support@cloudtruth.com