workato-platform-cli 1.0.0rc5.dev5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- workato_platform_cli/__init__.py +135 -0
- workato_platform_cli/_version.py +34 -0
- workato_platform_cli/cli/__init__.py +126 -0
- workato_platform_cli/cli/commands/__init__.py +0 -0
- workato_platform_cli/cli/commands/api_clients.py +627 -0
- workato_platform_cli/cli/commands/api_collections.py +497 -0
- workato_platform_cli/cli/commands/assets.py +82 -0
- workato_platform_cli/cli/commands/connections.py +1205 -0
- workato_platform_cli/cli/commands/connectors/__init__.py +0 -0
- workato_platform_cli/cli/commands/connectors/command.py +178 -0
- workato_platform_cli/cli/commands/connectors/connector_manager.py +351 -0
- workato_platform_cli/cli/commands/data_tables.py +345 -0
- workato_platform_cli/cli/commands/guide.py +315 -0
- workato_platform_cli/cli/commands/init.py +229 -0
- workato_platform_cli/cli/commands/profiles.py +364 -0
- workato_platform_cli/cli/commands/projects/__init__.py +0 -0
- workato_platform_cli/cli/commands/projects/command.py +513 -0
- workato_platform_cli/cli/commands/projects/project_manager.py +338 -0
- workato_platform_cli/cli/commands/properties.py +174 -0
- workato_platform_cli/cli/commands/pull.py +327 -0
- workato_platform_cli/cli/commands/push/__init__.py +0 -0
- workato_platform_cli/cli/commands/push/command.py +320 -0
- workato_platform_cli/cli/commands/recipes/__init__.py +0 -0
- workato_platform_cli/cli/commands/recipes/command.py +847 -0
- workato_platform_cli/cli/commands/recipes/validator.py +1740 -0
- workato_platform_cli/cli/commands/workspace.py +73 -0
- workato_platform_cli/cli/containers.py +80 -0
- workato_platform_cli/cli/resources/data/connection-data.json +7364 -0
- workato_platform_cli/cli/resources/data/picklist-data.json +3706 -0
- workato_platform_cli/cli/resources/docs/README.md +178 -0
- workato_platform_cli/cli/resources/docs/actions.md +452 -0
- workato_platform_cli/cli/resources/docs/block-structure.md +424 -0
- workato_platform_cli/cli/resources/docs/connections-parameters.md +11946 -0
- workato_platform_cli/cli/resources/docs/data-mapping.md +779 -0
- workato_platform_cli/cli/resources/docs/formulas/array-list-formulas.md +1276 -0
- workato_platform_cli/cli/resources/docs/formulas/conditions.md +102 -0
- workato_platform_cli/cli/resources/docs/formulas/date-formulas.md +798 -0
- workato_platform_cli/cli/resources/docs/formulas/number-formulas.md +507 -0
- workato_platform_cli/cli/resources/docs/formulas/other-formulas.md +419 -0
- workato_platform_cli/cli/resources/docs/formulas/string-formulas.md +1353 -0
- workato_platform_cli/cli/resources/docs/formulas.md +214 -0
- workato_platform_cli/cli/resources/docs/naming-conventions.md +163 -0
- workato_platform_cli/cli/resources/docs/recipe-deployment-workflow.md +352 -0
- workato_platform_cli/cli/resources/docs/recipe-fundamentals.md +179 -0
- workato_platform_cli/cli/resources/docs/triggers.md +360 -0
- workato_platform_cli/cli/utils/__init__.py +10 -0
- workato_platform_cli/cli/utils/config/__init__.py +33 -0
- workato_platform_cli/cli/utils/config/manager.py +1001 -0
- workato_platform_cli/cli/utils/config/models.py +89 -0
- workato_platform_cli/cli/utils/config/profiles.py +491 -0
- workato_platform_cli/cli/utils/config/workspace.py +113 -0
- workato_platform_cli/cli/utils/exception_handler.py +531 -0
- workato_platform_cli/cli/utils/gitignore.py +32 -0
- workato_platform_cli/cli/utils/ignore_patterns.py +44 -0
- workato_platform_cli/cli/utils/spinner.py +63 -0
- workato_platform_cli/cli/utils/version_checker.py +237 -0
- workato_platform_cli/client/__init__.py +0 -0
- workato_platform_cli/client/workato_api/__init__.py +202 -0
- workato_platform_cli/client/workato_api/api/__init__.py +15 -0
- workato_platform_cli/client/workato_api/api/api_platform_api.py +2875 -0
- workato_platform_cli/client/workato_api/api/connections_api.py +1807 -0
- workato_platform_cli/client/workato_api/api/connectors_api.py +840 -0
- workato_platform_cli/client/workato_api/api/data_tables_api.py +604 -0
- workato_platform_cli/client/workato_api/api/export_api.py +621 -0
- workato_platform_cli/client/workato_api/api/folders_api.py +621 -0
- workato_platform_cli/client/workato_api/api/packages_api.py +1197 -0
- workato_platform_cli/client/workato_api/api/projects_api.py +590 -0
- workato_platform_cli/client/workato_api/api/properties_api.py +620 -0
- workato_platform_cli/client/workato_api/api/recipes_api.py +1379 -0
- workato_platform_cli/client/workato_api/api/users_api.py +285 -0
- workato_platform_cli/client/workato_api/api_client.py +807 -0
- workato_platform_cli/client/workato_api/api_response.py +21 -0
- workato_platform_cli/client/workato_api/configuration.py +601 -0
- workato_platform_cli/client/workato_api/docs/APIPlatformApi.md +844 -0
- workato_platform_cli/client/workato_api/docs/ApiClient.md +46 -0
- workato_platform_cli/client/workato_api/docs/ApiClientApiCollectionsInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/ApiClientApiPoliciesInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/ApiClientCreateRequest.md +46 -0
- workato_platform_cli/client/workato_api/docs/ApiClientListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiClientResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/ApiCollection.md +38 -0
- workato_platform_cli/client/workato_api/docs/ApiCollectionCreateRequest.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiEndpoint.md +41 -0
- workato_platform_cli/client/workato_api/docs/ApiKey.md +36 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyCreateRequest.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/Asset.md +39 -0
- workato_platform_cli/client/workato_api/docs/AssetReference.md +37 -0
- workato_platform_cli/client/workato_api/docs/Connection.md +44 -0
- workato_platform_cli/client/workato_api/docs/ConnectionCreateRequest.md +35 -0
- workato_platform_cli/client/workato_api/docs/ConnectionUpdateRequest.md +34 -0
- workato_platform_cli/client/workato_api/docs/ConnectionsApi.md +526 -0
- workato_platform_cli/client/workato_api/docs/ConnectorAction.md +33 -0
- workato_platform_cli/client/workato_api/docs/ConnectorVersion.md +32 -0
- workato_platform_cli/client/workato_api/docs/ConnectorsApi.md +249 -0
- workato_platform_cli/client/workato_api/docs/CreateExportManifestRequest.md +29 -0
- workato_platform_cli/client/workato_api/docs/CreateFolderRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/CustomConnector.md +35 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorCodeResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorCodeResponseData.md +29 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTable.md +34 -0
- workato_platform_cli/client/workato_api/docs/DataTableColumn.md +37 -0
- workato_platform_cli/client/workato_api/docs/DataTableColumnRequest.md +37 -0
- workato_platform_cli/client/workato_api/docs/DataTableCreateRequest.md +31 -0
- workato_platform_cli/client/workato_api/docs/DataTableCreateResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTableListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTableRelation.md +30 -0
- workato_platform_cli/client/workato_api/docs/DataTablesApi.md +172 -0
- workato_platform_cli/client/workato_api/docs/DeleteProject403Response.md +29 -0
- workato_platform_cli/client/workato_api/docs/Error.md +29 -0
- workato_platform_cli/client/workato_api/docs/ExportApi.md +175 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestRequest.md +35 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestResponseResult.md +36 -0
- workato_platform_cli/client/workato_api/docs/Folder.md +35 -0
- workato_platform_cli/client/workato_api/docs/FolderAssetsResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/FolderAssetsResponseResult.md +29 -0
- workato_platform_cli/client/workato_api/docs/FolderCreationResponse.md +35 -0
- workato_platform_cli/client/workato_api/docs/FoldersApi.md +176 -0
- workato_platform_cli/client/workato_api/docs/ImportResults.md +32 -0
- workato_platform_cli/client/workato_api/docs/OAuthUrlResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/OAuthUrlResponseData.md +29 -0
- workato_platform_cli/client/workato_api/docs/OpenApiSpec.md +30 -0
- workato_platform_cli/client/workato_api/docs/PackageDetailsResponse.md +35 -0
- workato_platform_cli/client/workato_api/docs/PackageDetailsResponseRecipeStatusInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/PackageResponse.md +33 -0
- workato_platform_cli/client/workato_api/docs/PackagesApi.md +364 -0
- workato_platform_cli/client/workato_api/docs/PicklistRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/PicklistResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/PlatformConnector.md +36 -0
- workato_platform_cli/client/workato_api/docs/PlatformConnectorListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/Project.md +32 -0
- workato_platform_cli/client/workato_api/docs/ProjectsApi.md +173 -0
- workato_platform_cli/client/workato_api/docs/PropertiesApi.md +186 -0
- workato_platform_cli/client/workato_api/docs/Recipe.md +58 -0
- workato_platform_cli/client/workato_api/docs/RecipeConfigInner.md +33 -0
- workato_platform_cli/client/workato_api/docs/RecipeConnectionUpdateRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/RecipeListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/RecipeStartResponse.md +31 -0
- workato_platform_cli/client/workato_api/docs/RecipesApi.md +367 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionCreateRequest.md +34 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionResponseData.md +30 -0
- workato_platform_cli/client/workato_api/docs/SuccessResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/UpsertProjectPropertiesRequest.md +29 -0
- workato_platform_cli/client/workato_api/docs/User.md +48 -0
- workato_platform_cli/client/workato_api/docs/UsersApi.md +84 -0
- workato_platform_cli/client/workato_api/docs/ValidationError.md +30 -0
- workato_platform_cli/client/workato_api/docs/ValidationErrorErrorsValue.md +28 -0
- workato_platform_cli/client/workato_api/exceptions.py +216 -0
- workato_platform_cli/client/workato_api/models/__init__.py +83 -0
- workato_platform_cli/client/workato_api/models/api_client.py +185 -0
- workato_platform_cli/client/workato_api/models/api_client_api_collections_inner.py +89 -0
- workato_platform_cli/client/workato_api/models/api_client_api_policies_inner.py +89 -0
- workato_platform_cli/client/workato_api/models/api_client_create_request.py +138 -0
- workato_platform_cli/client/workato_api/models/api_client_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/api_client_response.py +91 -0
- workato_platform_cli/client/workato_api/models/api_collection.py +110 -0
- workato_platform_cli/client/workato_api/models/api_collection_create_request.py +97 -0
- workato_platform_cli/client/workato_api/models/api_endpoint.py +117 -0
- workato_platform_cli/client/workato_api/models/api_key.py +102 -0
- workato_platform_cli/client/workato_api/models/api_key_create_request.py +93 -0
- workato_platform_cli/client/workato_api/models/api_key_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/api_key_response.py +91 -0
- workato_platform_cli/client/workato_api/models/asset.py +124 -0
- workato_platform_cli/client/workato_api/models/asset_reference.py +110 -0
- workato_platform_cli/client/workato_api/models/connection.py +173 -0
- workato_platform_cli/client/workato_api/models/connection_create_request.py +99 -0
- workato_platform_cli/client/workato_api/models/connection_update_request.py +97 -0
- workato_platform_cli/client/workato_api/models/connector_action.py +100 -0
- workato_platform_cli/client/workato_api/models/connector_version.py +99 -0
- workato_platform_cli/client/workato_api/models/create_export_manifest_request.py +91 -0
- workato_platform_cli/client/workato_api/models/create_folder_request.py +89 -0
- workato_platform_cli/client/workato_api/models/custom_connector.py +117 -0
- workato_platform_cli/client/workato_api/models/custom_connector_code_response.py +91 -0
- workato_platform_cli/client/workato_api/models/custom_connector_code_response_data.py +87 -0
- workato_platform_cli/client/workato_api/models/custom_connector_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/data_table.py +107 -0
- workato_platform_cli/client/workato_api/models/data_table_column.py +125 -0
- workato_platform_cli/client/workato_api/models/data_table_column_request.py +130 -0
- workato_platform_cli/client/workato_api/models/data_table_create_request.py +99 -0
- workato_platform_cli/client/workato_api/models/data_table_create_response.py +91 -0
- workato_platform_cli/client/workato_api/models/data_table_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/data_table_relation.py +90 -0
- workato_platform_cli/client/workato_api/models/delete_project403_response.py +87 -0
- workato_platform_cli/client/workato_api/models/error.py +87 -0
- workato_platform_cli/client/workato_api/models/export_manifest_request.py +107 -0
- workato_platform_cli/client/workato_api/models/export_manifest_response.py +91 -0
- workato_platform_cli/client/workato_api/models/export_manifest_response_result.py +112 -0
- workato_platform_cli/client/workato_api/models/folder.py +110 -0
- workato_platform_cli/client/workato_api/models/folder_assets_response.py +91 -0
- workato_platform_cli/client/workato_api/models/folder_assets_response_result.py +95 -0
- workato_platform_cli/client/workato_api/models/folder_creation_response.py +110 -0
- workato_platform_cli/client/workato_api/models/import_results.py +93 -0
- workato_platform_cli/client/workato_api/models/o_auth_url_response.py +91 -0
- workato_platform_cli/client/workato_api/models/o_auth_url_response_data.py +87 -0
- workato_platform_cli/client/workato_api/models/open_api_spec.py +96 -0
- workato_platform_cli/client/workato_api/models/package_details_response.py +126 -0
- workato_platform_cli/client/workato_api/models/package_details_response_recipe_status_inner.py +99 -0
- workato_platform_cli/client/workato_api/models/package_response.py +109 -0
- workato_platform_cli/client/workato_api/models/picklist_request.py +89 -0
- workato_platform_cli/client/workato_api/models/picklist_response.py +88 -0
- workato_platform_cli/client/workato_api/models/platform_connector.py +116 -0
- workato_platform_cli/client/workato_api/models/platform_connector_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/project.py +93 -0
- workato_platform_cli/client/workato_api/models/recipe.py +174 -0
- workato_platform_cli/client/workato_api/models/recipe_config_inner.py +100 -0
- workato_platform_cli/client/workato_api/models/recipe_connection_update_request.py +89 -0
- workato_platform_cli/client/workato_api/models/recipe_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/recipe_start_response.py +91 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_create_request.py +97 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_response.py +91 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_response_data.py +89 -0
- workato_platform_cli/client/workato_api/models/success_response.py +87 -0
- workato_platform_cli/client/workato_api/models/upsert_project_properties_request.py +88 -0
- workato_platform_cli/client/workato_api/models/user.py +151 -0
- workato_platform_cli/client/workato_api/models/validation_error.py +102 -0
- workato_platform_cli/client/workato_api/models/validation_error_errors_value.py +143 -0
- workato_platform_cli/client/workato_api/rest.py +213 -0
- workato_platform_cli/client/workato_api/test/__init__.py +0 -0
- workato_platform_cli/client/workato_api/test/test_api_client.py +94 -0
- workato_platform_cli/client/workato_api/test/test_api_client_api_collections_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_api_client_api_policies_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_api_client_create_request.py +75 -0
- workato_platform_cli/client/workato_api/test/test_api_client_list_response.py +114 -0
- workato_platform_cli/client/workato_api/test/test_api_client_response.py +104 -0
- workato_platform_cli/client/workato_api/test/test_api_collection.py +72 -0
- workato_platform_cli/client/workato_api/test/test_api_collection_create_request.py +57 -0
- workato_platform_cli/client/workato_api/test/test_api_endpoint.py +75 -0
- workato_platform_cli/client/workato_api/test/test_api_key.py +64 -0
- workato_platform_cli/client/workato_api/test/test_api_key_create_request.py +56 -0
- workato_platform_cli/client/workato_api/test/test_api_key_list_response.py +78 -0
- workato_platform_cli/client/workato_api/test/test_api_key_response.py +68 -0
- workato_platform_cli/client/workato_api/test/test_api_platform_api.py +101 -0
- workato_platform_cli/client/workato_api/test/test_asset.py +67 -0
- workato_platform_cli/client/workato_api/test/test_asset_reference.py +62 -0
- workato_platform_cli/client/workato_api/test/test_connection.py +81 -0
- workato_platform_cli/client/workato_api/test/test_connection_create_request.py +59 -0
- workato_platform_cli/client/workato_api/test/test_connection_update_request.py +56 -0
- workato_platform_cli/client/workato_api/test/test_connections_api.py +73 -0
- workato_platform_cli/client/workato_api/test/test_connector_action.py +59 -0
- workato_platform_cli/client/workato_api/test/test_connector_version.py +58 -0
- workato_platform_cli/client/workato_api/test/test_connectors_api.py +52 -0
- workato_platform_cli/client/workato_api/test/test_create_export_manifest_request.py +88 -0
- workato_platform_cli/client/workato_api/test/test_create_folder_request.py +53 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector.py +76 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_code_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_code_response_data.py +52 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_list_response.py +82 -0
- workato_platform_cli/client/workato_api/test/test_data_table.py +88 -0
- workato_platform_cli/client/workato_api/test/test_data_table_column.py +72 -0
- workato_platform_cli/client/workato_api/test/test_data_table_column_request.py +64 -0
- workato_platform_cli/client/workato_api/test/test_data_table_create_request.py +82 -0
- workato_platform_cli/client/workato_api/test/test_data_table_create_response.py +90 -0
- workato_platform_cli/client/workato_api/test/test_data_table_list_response.py +94 -0
- workato_platform_cli/client/workato_api/test/test_data_table_relation.py +54 -0
- workato_platform_cli/client/workato_api/test/test_data_tables_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_delete_project403_response.py +51 -0
- workato_platform_cli/client/workato_api/test/test_error.py +52 -0
- workato_platform_cli/client/workato_api/test/test_export_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_request.py +69 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_response.py +68 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_response_result.py +66 -0
- workato_platform_cli/client/workato_api/test/test_folder.py +64 -0
- workato_platform_cli/client/workato_api/test/test_folder_assets_response.py +80 -0
- workato_platform_cli/client/workato_api/test/test_folder_assets_response_result.py +78 -0
- workato_platform_cli/client/workato_api/test/test_folder_creation_response.py +64 -0
- workato_platform_cli/client/workato_api/test/test_folders_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_import_results.py +58 -0
- workato_platform_cli/client/workato_api/test/test_o_auth_url_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_o_auth_url_response_data.py +52 -0
- workato_platform_cli/client/workato_api/test/test_open_api_spec.py +54 -0
- workato_platform_cli/client/workato_api/test/test_package_details_response.py +64 -0
- workato_platform_cli/client/workato_api/test/test_package_details_response_recipe_status_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_package_response.py +58 -0
- workato_platform_cli/client/workato_api/test/test_packages_api.py +59 -0
- workato_platform_cli/client/workato_api/test/test_picklist_request.py +53 -0
- workato_platform_cli/client/workato_api/test/test_picklist_response.py +52 -0
- workato_platform_cli/client/workato_api/test/test_platform_connector.py +94 -0
- workato_platform_cli/client/workato_api/test/test_platform_connector_list_response.py +106 -0
- workato_platform_cli/client/workato_api/test/test_project.py +57 -0
- workato_platform_cli/client/workato_api/test/test_projects_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_properties_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_recipe.py +124 -0
- workato_platform_cli/client/workato_api/test/test_recipe_config_inner.py +55 -0
- workato_platform_cli/client/workato_api/test/test_recipe_connection_update_request.py +54 -0
- workato_platform_cli/client/workato_api/test/test_recipe_list_response.py +134 -0
- workato_platform_cli/client/workato_api/test/test_recipe_start_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_recipes_api.py +59 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_create_request.py +59 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_response.py +56 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_response_data.py +54 -0
- workato_platform_cli/client/workato_api/test/test_success_response.py +52 -0
- workato_platform_cli/client/workato_api/test/test_upsert_project_properties_request.py +52 -0
- workato_platform_cli/client/workato_api/test/test_user.py +85 -0
- workato_platform_cli/client/workato_api/test/test_users_api.py +38 -0
- workato_platform_cli/client/workato_api/test/test_validation_error.py +52 -0
- workato_platform_cli/client/workato_api/test/test_validation_error_errors_value.py +50 -0
- workato_platform_cli/client/workato_api_README.md +205 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/METADATA +185 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/RECORD +306 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/WHEEL +4 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/entry_points.txt +2 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/licenses/LICENSE +7 -0
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
# workato_platform_cli.client.workato_api.APIPlatformApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://www.workato.com*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create_api_client**](APIPlatformApi.md#create_api_client) | **POST** /api/v2/api_clients | Create API client (v2)
|
|
8
|
+
[**create_api_collection**](APIPlatformApi.md#create_api_collection) | **POST** /api/api_collections | Create API collection
|
|
9
|
+
[**create_api_key**](APIPlatformApi.md#create_api_key) | **POST** /api/v2/api_clients/{api_client_id}/api_keys | Create an API key
|
|
10
|
+
[**disable_api_endpoint**](APIPlatformApi.md#disable_api_endpoint) | **PUT** /api/api_endpoints/{api_endpoint_id}/disable | Disable an API endpoint
|
|
11
|
+
[**enable_api_endpoint**](APIPlatformApi.md#enable_api_endpoint) | **PUT** /api/api_endpoints/{api_endpoint_id}/enable | Enable an API endpoint
|
|
12
|
+
[**list_api_clients**](APIPlatformApi.md#list_api_clients) | **GET** /api/v2/api_clients | List API clients (v2)
|
|
13
|
+
[**list_api_collections**](APIPlatformApi.md#list_api_collections) | **GET** /api/api_collections | List API collections
|
|
14
|
+
[**list_api_endpoints**](APIPlatformApi.md#list_api_endpoints) | **GET** /api/api_endpoints | List API endpoints
|
|
15
|
+
[**list_api_keys**](APIPlatformApi.md#list_api_keys) | **GET** /api/v2/api_clients/{api_client_id}/api_keys | List API keys
|
|
16
|
+
[**refresh_api_key_secret**](APIPlatformApi.md#refresh_api_key_secret) | **PUT** /api/v2/api_clients/{api_client_id}/api_keys/{api_key_id}/refresh_secret | Refresh API key secret
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# **create_api_client**
|
|
20
|
+
> ApiClientResponse create_api_client(api_client_create_request)
|
|
21
|
+
|
|
22
|
+
Create API client (v2)
|
|
23
|
+
|
|
24
|
+
Create a new API client within a project with various authentication methods
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
* Bearer Authentication (BearerAuth):
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
import workato_platform_cli.client.workato_api
|
|
32
|
+
from workato_platform_cli.client.workato_api.models.api_client_create_request import ApiClientCreateRequest
|
|
33
|
+
from workato_platform_cli.client.workato_api.models.api_client_response import ApiClientResponse
|
|
34
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
35
|
+
from pprint import pprint
|
|
36
|
+
|
|
37
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
38
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
39
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
40
|
+
host = "https://www.workato.com"
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
# The client must configure the authentication and authorization parameters
|
|
44
|
+
# in accordance with the API server security policy.
|
|
45
|
+
# Examples for each auth method are provided below, use the example that
|
|
46
|
+
# satisfies your auth use case.
|
|
47
|
+
|
|
48
|
+
# Configure Bearer authorization: BearerAuth
|
|
49
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
50
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
# Enter a context with an instance of the API client
|
|
54
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
55
|
+
# Create an instance of the API class
|
|
56
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
57
|
+
api_client_create_request = workato_platform_cli.client.workato_api.ApiClientCreateRequest() # ApiClientCreateRequest |
|
|
58
|
+
|
|
59
|
+
try:
|
|
60
|
+
# Create API client (v2)
|
|
61
|
+
api_response = await api_instance.create_api_client(api_client_create_request)
|
|
62
|
+
print("The response of APIPlatformApi->create_api_client:\n")
|
|
63
|
+
pprint(api_response)
|
|
64
|
+
except Exception as e:
|
|
65
|
+
print("Exception when calling APIPlatformApi->create_api_client: %s\n" % e)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Parameters
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
Name | Type | Description | Notes
|
|
74
|
+
------------- | ------------- | ------------- | -------------
|
|
75
|
+
**api_client_create_request** | [**ApiClientCreateRequest**](ApiClientCreateRequest.md)| |
|
|
76
|
+
|
|
77
|
+
### Return type
|
|
78
|
+
|
|
79
|
+
[**ApiClientResponse**](ApiClientResponse.md)
|
|
80
|
+
|
|
81
|
+
### Authorization
|
|
82
|
+
|
|
83
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
84
|
+
|
|
85
|
+
### HTTP request headers
|
|
86
|
+
|
|
87
|
+
- **Content-Type**: application/json
|
|
88
|
+
- **Accept**: application/json
|
|
89
|
+
|
|
90
|
+
### HTTP response details
|
|
91
|
+
|
|
92
|
+
| Status code | Description | Response headers |
|
|
93
|
+
|-------------|-------------|------------------|
|
|
94
|
+
**200** | API client created successfully | - |
|
|
95
|
+
**400** | Bad request | - |
|
|
96
|
+
**401** | Authentication required | - |
|
|
97
|
+
|
|
98
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
99
|
+
|
|
100
|
+
# **create_api_collection**
|
|
101
|
+
> ApiCollection create_api_collection(api_collection_create_request)
|
|
102
|
+
|
|
103
|
+
Create API collection
|
|
104
|
+
|
|
105
|
+
Create a new API collection from an OpenAPI specification.
|
|
106
|
+
This generates both recipes and endpoints from the provided spec.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Example
|
|
110
|
+
|
|
111
|
+
* Bearer Authentication (BearerAuth):
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
import workato_platform_cli.client.workato_api
|
|
115
|
+
from workato_platform_cli.client.workato_api.models.api_collection import ApiCollection
|
|
116
|
+
from workato_platform_cli.client.workato_api.models.api_collection_create_request import ApiCollectionCreateRequest
|
|
117
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
118
|
+
from pprint import pprint
|
|
119
|
+
|
|
120
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
121
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
122
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
123
|
+
host = "https://www.workato.com"
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
# The client must configure the authentication and authorization parameters
|
|
127
|
+
# in accordance with the API server security policy.
|
|
128
|
+
# Examples for each auth method are provided below, use the example that
|
|
129
|
+
# satisfies your auth use case.
|
|
130
|
+
|
|
131
|
+
# Configure Bearer authorization: BearerAuth
|
|
132
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
133
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
# Enter a context with an instance of the API client
|
|
137
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
138
|
+
# Create an instance of the API class
|
|
139
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
140
|
+
api_collection_create_request = workato_platform_cli.client.workato_api.ApiCollectionCreateRequest() # ApiCollectionCreateRequest |
|
|
141
|
+
|
|
142
|
+
try:
|
|
143
|
+
# Create API collection
|
|
144
|
+
api_response = await api_instance.create_api_collection(api_collection_create_request)
|
|
145
|
+
print("The response of APIPlatformApi->create_api_collection:\n")
|
|
146
|
+
pprint(api_response)
|
|
147
|
+
except Exception as e:
|
|
148
|
+
print("Exception when calling APIPlatformApi->create_api_collection: %s\n" % e)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Parameters
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
Name | Type | Description | Notes
|
|
157
|
+
------------- | ------------- | ------------- | -------------
|
|
158
|
+
**api_collection_create_request** | [**ApiCollectionCreateRequest**](ApiCollectionCreateRequest.md)| |
|
|
159
|
+
|
|
160
|
+
### Return type
|
|
161
|
+
|
|
162
|
+
[**ApiCollection**](ApiCollection.md)
|
|
163
|
+
|
|
164
|
+
### Authorization
|
|
165
|
+
|
|
166
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
167
|
+
|
|
168
|
+
### HTTP request headers
|
|
169
|
+
|
|
170
|
+
- **Content-Type**: application/json
|
|
171
|
+
- **Accept**: application/json
|
|
172
|
+
|
|
173
|
+
### HTTP response details
|
|
174
|
+
|
|
175
|
+
| Status code | Description | Response headers |
|
|
176
|
+
|-------------|-------------|------------------|
|
|
177
|
+
**200** | API collection created successfully | - |
|
|
178
|
+
**400** | Bad request | - |
|
|
179
|
+
**401** | Authentication required | - |
|
|
180
|
+
|
|
181
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
182
|
+
|
|
183
|
+
# **create_api_key**
|
|
184
|
+
> ApiKeyResponse create_api_key(api_client_id, api_key_create_request)
|
|
185
|
+
|
|
186
|
+
Create an API key
|
|
187
|
+
|
|
188
|
+
Create a new API key for an API client
|
|
189
|
+
|
|
190
|
+
### Example
|
|
191
|
+
|
|
192
|
+
* Bearer Authentication (BearerAuth):
|
|
193
|
+
|
|
194
|
+
```python
|
|
195
|
+
import workato_platform_cli.client.workato_api
|
|
196
|
+
from workato_platform_cli.client.workato_api.models.api_key_create_request import ApiKeyCreateRequest
|
|
197
|
+
from workato_platform_cli.client.workato_api.models.api_key_response import ApiKeyResponse
|
|
198
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
199
|
+
from pprint import pprint
|
|
200
|
+
|
|
201
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
202
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
203
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
204
|
+
host = "https://www.workato.com"
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# The client must configure the authentication and authorization parameters
|
|
208
|
+
# in accordance with the API server security policy.
|
|
209
|
+
# Examples for each auth method are provided below, use the example that
|
|
210
|
+
# satisfies your auth use case.
|
|
211
|
+
|
|
212
|
+
# Configure Bearer authorization: BearerAuth
|
|
213
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
214
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
# Enter a context with an instance of the API client
|
|
218
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
219
|
+
# Create an instance of the API class
|
|
220
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
221
|
+
api_client_id = 56 # int | Specify the ID of the API client to create the API key for
|
|
222
|
+
api_key_create_request = workato_platform_cli.client.workato_api.ApiKeyCreateRequest() # ApiKeyCreateRequest |
|
|
223
|
+
|
|
224
|
+
try:
|
|
225
|
+
# Create an API key
|
|
226
|
+
api_response = await api_instance.create_api_key(api_client_id, api_key_create_request)
|
|
227
|
+
print("The response of APIPlatformApi->create_api_key:\n")
|
|
228
|
+
pprint(api_response)
|
|
229
|
+
except Exception as e:
|
|
230
|
+
print("Exception when calling APIPlatformApi->create_api_key: %s\n" % e)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
### Parameters
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
Name | Type | Description | Notes
|
|
239
|
+
------------- | ------------- | ------------- | -------------
|
|
240
|
+
**api_client_id** | **int**| Specify the ID of the API client to create the API key for |
|
|
241
|
+
**api_key_create_request** | [**ApiKeyCreateRequest**](ApiKeyCreateRequest.md)| |
|
|
242
|
+
|
|
243
|
+
### Return type
|
|
244
|
+
|
|
245
|
+
[**ApiKeyResponse**](ApiKeyResponse.md)
|
|
246
|
+
|
|
247
|
+
### Authorization
|
|
248
|
+
|
|
249
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
250
|
+
|
|
251
|
+
### HTTP request headers
|
|
252
|
+
|
|
253
|
+
- **Content-Type**: application/json
|
|
254
|
+
- **Accept**: application/json
|
|
255
|
+
|
|
256
|
+
### HTTP response details
|
|
257
|
+
|
|
258
|
+
| Status code | Description | Response headers |
|
|
259
|
+
|-------------|-------------|------------------|
|
|
260
|
+
**200** | API key created successfully | - |
|
|
261
|
+
**400** | Bad request | - |
|
|
262
|
+
**401** | Authentication required | - |
|
|
263
|
+
|
|
264
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
265
|
+
|
|
266
|
+
# **disable_api_endpoint**
|
|
267
|
+
> SuccessResponse disable_api_endpoint(api_endpoint_id)
|
|
268
|
+
|
|
269
|
+
Disable an API endpoint
|
|
270
|
+
|
|
271
|
+
Disables an active API endpoint. The endpoint can no longer be called by a client.
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
### Example
|
|
275
|
+
|
|
276
|
+
* Bearer Authentication (BearerAuth):
|
|
277
|
+
|
|
278
|
+
```python
|
|
279
|
+
import workato_platform_cli.client.workato_api
|
|
280
|
+
from workato_platform_cli.client.workato_api.models.success_response import SuccessResponse
|
|
281
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
282
|
+
from pprint import pprint
|
|
283
|
+
|
|
284
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
285
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
286
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
287
|
+
host = "https://www.workato.com"
|
|
288
|
+
)
|
|
289
|
+
|
|
290
|
+
# The client must configure the authentication and authorization parameters
|
|
291
|
+
# in accordance with the API server security policy.
|
|
292
|
+
# Examples for each auth method are provided below, use the example that
|
|
293
|
+
# satisfies your auth use case.
|
|
294
|
+
|
|
295
|
+
# Configure Bearer authorization: BearerAuth
|
|
296
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
297
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
# Enter a context with an instance of the API client
|
|
301
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
302
|
+
# Create an instance of the API class
|
|
303
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
304
|
+
api_endpoint_id = 56 # int | ID of the API endpoint
|
|
305
|
+
|
|
306
|
+
try:
|
|
307
|
+
# Disable an API endpoint
|
|
308
|
+
api_response = await api_instance.disable_api_endpoint(api_endpoint_id)
|
|
309
|
+
print("The response of APIPlatformApi->disable_api_endpoint:\n")
|
|
310
|
+
pprint(api_response)
|
|
311
|
+
except Exception as e:
|
|
312
|
+
print("Exception when calling APIPlatformApi->disable_api_endpoint: %s\n" % e)
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### Parameters
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
Name | Type | Description | Notes
|
|
321
|
+
------------- | ------------- | ------------- | -------------
|
|
322
|
+
**api_endpoint_id** | **int**| ID of the API endpoint |
|
|
323
|
+
|
|
324
|
+
### Return type
|
|
325
|
+
|
|
326
|
+
[**SuccessResponse**](SuccessResponse.md)
|
|
327
|
+
|
|
328
|
+
### Authorization
|
|
329
|
+
|
|
330
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
331
|
+
|
|
332
|
+
### HTTP request headers
|
|
333
|
+
|
|
334
|
+
- **Content-Type**: Not defined
|
|
335
|
+
- **Accept**: application/json
|
|
336
|
+
|
|
337
|
+
### HTTP response details
|
|
338
|
+
|
|
339
|
+
| Status code | Description | Response headers |
|
|
340
|
+
|-------------|-------------|------------------|
|
|
341
|
+
**200** | API endpoint disabled successfully | - |
|
|
342
|
+
**401** | Authentication required | - |
|
|
343
|
+
|
|
344
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
345
|
+
|
|
346
|
+
# **enable_api_endpoint**
|
|
347
|
+
> SuccessResponse enable_api_endpoint(api_endpoint_id)
|
|
348
|
+
|
|
349
|
+
Enable an API endpoint
|
|
350
|
+
|
|
351
|
+
Enables an API endpoint. You must start the associated recipe to enable
|
|
352
|
+
the API endpoint successfully.
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
### Example
|
|
356
|
+
|
|
357
|
+
* Bearer Authentication (BearerAuth):
|
|
358
|
+
|
|
359
|
+
```python
|
|
360
|
+
import workato_platform_cli.client.workato_api
|
|
361
|
+
from workato_platform_cli.client.workato_api.models.success_response import SuccessResponse
|
|
362
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
363
|
+
from pprint import pprint
|
|
364
|
+
|
|
365
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
366
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
367
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
368
|
+
host = "https://www.workato.com"
|
|
369
|
+
)
|
|
370
|
+
|
|
371
|
+
# The client must configure the authentication and authorization parameters
|
|
372
|
+
# in accordance with the API server security policy.
|
|
373
|
+
# Examples for each auth method are provided below, use the example that
|
|
374
|
+
# satisfies your auth use case.
|
|
375
|
+
|
|
376
|
+
# Configure Bearer authorization: BearerAuth
|
|
377
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
378
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
379
|
+
)
|
|
380
|
+
|
|
381
|
+
# Enter a context with an instance of the API client
|
|
382
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
383
|
+
# Create an instance of the API class
|
|
384
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
385
|
+
api_endpoint_id = 56 # int | ID of the API endpoint
|
|
386
|
+
|
|
387
|
+
try:
|
|
388
|
+
# Enable an API endpoint
|
|
389
|
+
api_response = await api_instance.enable_api_endpoint(api_endpoint_id)
|
|
390
|
+
print("The response of APIPlatformApi->enable_api_endpoint:\n")
|
|
391
|
+
pprint(api_response)
|
|
392
|
+
except Exception as e:
|
|
393
|
+
print("Exception when calling APIPlatformApi->enable_api_endpoint: %s\n" % e)
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
### Parameters
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
Name | Type | Description | Notes
|
|
402
|
+
------------- | ------------- | ------------- | -------------
|
|
403
|
+
**api_endpoint_id** | **int**| ID of the API endpoint |
|
|
404
|
+
|
|
405
|
+
### Return type
|
|
406
|
+
|
|
407
|
+
[**SuccessResponse**](SuccessResponse.md)
|
|
408
|
+
|
|
409
|
+
### Authorization
|
|
410
|
+
|
|
411
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
412
|
+
|
|
413
|
+
### HTTP request headers
|
|
414
|
+
|
|
415
|
+
- **Content-Type**: Not defined
|
|
416
|
+
- **Accept**: application/json
|
|
417
|
+
|
|
418
|
+
### HTTP response details
|
|
419
|
+
|
|
420
|
+
| Status code | Description | Response headers |
|
|
421
|
+
|-------------|-------------|------------------|
|
|
422
|
+
**200** | API endpoint enabled successfully | - |
|
|
423
|
+
**401** | Authentication required | - |
|
|
424
|
+
|
|
425
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
426
|
+
|
|
427
|
+
# **list_api_clients**
|
|
428
|
+
> ApiClientListResponse list_api_clients(project_id=project_id, page=page, per_page=per_page, cert_bundle_ids=cert_bundle_ids)
|
|
429
|
+
|
|
430
|
+
List API clients (v2)
|
|
431
|
+
|
|
432
|
+
List all API clients. This endpoint includes the project_id of the API client
|
|
433
|
+
in the response.
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
### Example
|
|
437
|
+
|
|
438
|
+
* Bearer Authentication (BearerAuth):
|
|
439
|
+
|
|
440
|
+
```python
|
|
441
|
+
import workato_platform_cli.client.workato_api
|
|
442
|
+
from workato_platform_cli.client.workato_api.models.api_client_list_response import ApiClientListResponse
|
|
443
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
444
|
+
from pprint import pprint
|
|
445
|
+
|
|
446
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
447
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
448
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
449
|
+
host = "https://www.workato.com"
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
# The client must configure the authentication and authorization parameters
|
|
453
|
+
# in accordance with the API server security policy.
|
|
454
|
+
# Examples for each auth method are provided below, use the example that
|
|
455
|
+
# satisfies your auth use case.
|
|
456
|
+
|
|
457
|
+
# Configure Bearer authorization: BearerAuth
|
|
458
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
459
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
460
|
+
)
|
|
461
|
+
|
|
462
|
+
# Enter a context with an instance of the API client
|
|
463
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
464
|
+
# Create an instance of the API class
|
|
465
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
466
|
+
project_id = 56 # int | The ID of a specific project. Retrieve a list of project IDs with the list projects endpoint (optional)
|
|
467
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
468
|
+
per_page = 100 # int | Page size. The maximum page size is 100 (optional) (default to 100)
|
|
469
|
+
cert_bundle_ids = [56] # List[int] | Filter clients by certificate bundle IDs. Returns only clients associated with the specified certificate bundles (optional)
|
|
470
|
+
|
|
471
|
+
try:
|
|
472
|
+
# List API clients (v2)
|
|
473
|
+
api_response = await api_instance.list_api_clients(project_id=project_id, page=page, per_page=per_page, cert_bundle_ids=cert_bundle_ids)
|
|
474
|
+
print("The response of APIPlatformApi->list_api_clients:\n")
|
|
475
|
+
pprint(api_response)
|
|
476
|
+
except Exception as e:
|
|
477
|
+
print("Exception when calling APIPlatformApi->list_api_clients: %s\n" % e)
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
### Parameters
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
Name | Type | Description | Notes
|
|
486
|
+
------------- | ------------- | ------------- | -------------
|
|
487
|
+
**project_id** | **int**| The ID of a specific project. Retrieve a list of project IDs with the list projects endpoint | [optional]
|
|
488
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
489
|
+
**per_page** | **int**| Page size. The maximum page size is 100 | [optional] [default to 100]
|
|
490
|
+
**cert_bundle_ids** | [**List[int]**](int.md)| Filter clients by certificate bundle IDs. Returns only clients associated with the specified certificate bundles | [optional]
|
|
491
|
+
|
|
492
|
+
### Return type
|
|
493
|
+
|
|
494
|
+
[**ApiClientListResponse**](ApiClientListResponse.md)
|
|
495
|
+
|
|
496
|
+
### Authorization
|
|
497
|
+
|
|
498
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
499
|
+
|
|
500
|
+
### HTTP request headers
|
|
501
|
+
|
|
502
|
+
- **Content-Type**: Not defined
|
|
503
|
+
- **Accept**: application/json
|
|
504
|
+
|
|
505
|
+
### HTTP response details
|
|
506
|
+
|
|
507
|
+
| Status code | Description | Response headers |
|
|
508
|
+
|-------------|-------------|------------------|
|
|
509
|
+
**200** | List of API clients retrieved successfully | - |
|
|
510
|
+
**401** | Authentication required | - |
|
|
511
|
+
|
|
512
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
513
|
+
|
|
514
|
+
# **list_api_collections**
|
|
515
|
+
> List[ApiCollection] list_api_collections(per_page=per_page, page=page)
|
|
516
|
+
|
|
517
|
+
List API collections
|
|
518
|
+
|
|
519
|
+
List all API collections. The endpoint returns the project_id of the project
|
|
520
|
+
to which the collections belong in the response.
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
### Example
|
|
524
|
+
|
|
525
|
+
* Bearer Authentication (BearerAuth):
|
|
526
|
+
|
|
527
|
+
```python
|
|
528
|
+
import workato_platform_cli.client.workato_api
|
|
529
|
+
from workato_platform_cli.client.workato_api.models.api_collection import ApiCollection
|
|
530
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
531
|
+
from pprint import pprint
|
|
532
|
+
|
|
533
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
534
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
535
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
536
|
+
host = "https://www.workato.com"
|
|
537
|
+
)
|
|
538
|
+
|
|
539
|
+
# The client must configure the authentication and authorization parameters
|
|
540
|
+
# in accordance with the API server security policy.
|
|
541
|
+
# Examples for each auth method are provided below, use the example that
|
|
542
|
+
# satisfies your auth use case.
|
|
543
|
+
|
|
544
|
+
# Configure Bearer authorization: BearerAuth
|
|
545
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
546
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
547
|
+
)
|
|
548
|
+
|
|
549
|
+
# Enter a context with an instance of the API client
|
|
550
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
551
|
+
# Create an instance of the API class
|
|
552
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
553
|
+
per_page = 100 # int | Number of API collections to return in a single page (optional) (default to 100)
|
|
554
|
+
page = 1 # int | Page number of the API collections to fetch (optional) (default to 1)
|
|
555
|
+
|
|
556
|
+
try:
|
|
557
|
+
# List API collections
|
|
558
|
+
api_response = await api_instance.list_api_collections(per_page=per_page, page=page)
|
|
559
|
+
print("The response of APIPlatformApi->list_api_collections:\n")
|
|
560
|
+
pprint(api_response)
|
|
561
|
+
except Exception as e:
|
|
562
|
+
print("Exception when calling APIPlatformApi->list_api_collections: %s\n" % e)
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
### Parameters
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
Name | Type | Description | Notes
|
|
571
|
+
------------- | ------------- | ------------- | -------------
|
|
572
|
+
**per_page** | **int**| Number of API collections to return in a single page | [optional] [default to 100]
|
|
573
|
+
**page** | **int**| Page number of the API collections to fetch | [optional] [default to 1]
|
|
574
|
+
|
|
575
|
+
### Return type
|
|
576
|
+
|
|
577
|
+
[**List[ApiCollection]**](ApiCollection.md)
|
|
578
|
+
|
|
579
|
+
### Authorization
|
|
580
|
+
|
|
581
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
582
|
+
|
|
583
|
+
### HTTP request headers
|
|
584
|
+
|
|
585
|
+
- **Content-Type**: Not defined
|
|
586
|
+
- **Accept**: application/json
|
|
587
|
+
|
|
588
|
+
### HTTP response details
|
|
589
|
+
|
|
590
|
+
| Status code | Description | Response headers |
|
|
591
|
+
|-------------|-------------|------------------|
|
|
592
|
+
**200** | List of API collections retrieved successfully | - |
|
|
593
|
+
**401** | Authentication required | - |
|
|
594
|
+
|
|
595
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
596
|
+
|
|
597
|
+
# **list_api_endpoints**
|
|
598
|
+
> List[ApiEndpoint] list_api_endpoints(api_collection_id=api_collection_id, per_page=per_page, page=page)
|
|
599
|
+
|
|
600
|
+
List API endpoints
|
|
601
|
+
|
|
602
|
+
Lists all API endpoints. Specify the api_collection_id to obtain the list
|
|
603
|
+
of endpoints in a specific collection.
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
### Example
|
|
607
|
+
|
|
608
|
+
* Bearer Authentication (BearerAuth):
|
|
609
|
+
|
|
610
|
+
```python
|
|
611
|
+
import workato_platform_cli.client.workato_api
|
|
612
|
+
from workato_platform_cli.client.workato_api.models.api_endpoint import ApiEndpoint
|
|
613
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
614
|
+
from pprint import pprint
|
|
615
|
+
|
|
616
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
617
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
618
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
619
|
+
host = "https://www.workato.com"
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
# The client must configure the authentication and authorization parameters
|
|
623
|
+
# in accordance with the API server security policy.
|
|
624
|
+
# Examples for each auth method are provided below, use the example that
|
|
625
|
+
# satisfies your auth use case.
|
|
626
|
+
|
|
627
|
+
# Configure Bearer authorization: BearerAuth
|
|
628
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
629
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
630
|
+
)
|
|
631
|
+
|
|
632
|
+
# Enter a context with an instance of the API client
|
|
633
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
634
|
+
# Create an instance of the API class
|
|
635
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
636
|
+
api_collection_id = 56 # int | ID of the API collection. If not provided, all API endpoints are returned (optional)
|
|
637
|
+
per_page = 100 # int | Number of API endpoints to return in a single page (optional) (default to 100)
|
|
638
|
+
page = 1 # int | Page number of the API endpoints to fetch (optional) (default to 1)
|
|
639
|
+
|
|
640
|
+
try:
|
|
641
|
+
# List API endpoints
|
|
642
|
+
api_response = await api_instance.list_api_endpoints(api_collection_id=api_collection_id, per_page=per_page, page=page)
|
|
643
|
+
print("The response of APIPlatformApi->list_api_endpoints:\n")
|
|
644
|
+
pprint(api_response)
|
|
645
|
+
except Exception as e:
|
|
646
|
+
print("Exception when calling APIPlatformApi->list_api_endpoints: %s\n" % e)
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
### Parameters
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
Name | Type | Description | Notes
|
|
655
|
+
------------- | ------------- | ------------- | -------------
|
|
656
|
+
**api_collection_id** | **int**| ID of the API collection. If not provided, all API endpoints are returned | [optional]
|
|
657
|
+
**per_page** | **int**| Number of API endpoints to return in a single page | [optional] [default to 100]
|
|
658
|
+
**page** | **int**| Page number of the API endpoints to fetch | [optional] [default to 1]
|
|
659
|
+
|
|
660
|
+
### Return type
|
|
661
|
+
|
|
662
|
+
[**List[ApiEndpoint]**](ApiEndpoint.md)
|
|
663
|
+
|
|
664
|
+
### Authorization
|
|
665
|
+
|
|
666
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
667
|
+
|
|
668
|
+
### HTTP request headers
|
|
669
|
+
|
|
670
|
+
- **Content-Type**: Not defined
|
|
671
|
+
- **Accept**: application/json
|
|
672
|
+
|
|
673
|
+
### HTTP response details
|
|
674
|
+
|
|
675
|
+
| Status code | Description | Response headers |
|
|
676
|
+
|-------------|-------------|------------------|
|
|
677
|
+
**200** | List of API endpoints retrieved successfully | - |
|
|
678
|
+
**401** | Authentication required | - |
|
|
679
|
+
|
|
680
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
681
|
+
|
|
682
|
+
# **list_api_keys**
|
|
683
|
+
> ApiKeyListResponse list_api_keys(api_client_id)
|
|
684
|
+
|
|
685
|
+
List API keys
|
|
686
|
+
|
|
687
|
+
Retrieve all API keys for an API client. Provide the api_client_id parameter
|
|
688
|
+
to filter keys for a specific client.
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
### Example
|
|
692
|
+
|
|
693
|
+
* Bearer Authentication (BearerAuth):
|
|
694
|
+
|
|
695
|
+
```python
|
|
696
|
+
import workato_platform_cli.client.workato_api
|
|
697
|
+
from workato_platform_cli.client.workato_api.models.api_key_list_response import ApiKeyListResponse
|
|
698
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
699
|
+
from pprint import pprint
|
|
700
|
+
|
|
701
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
702
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
703
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
704
|
+
host = "https://www.workato.com"
|
|
705
|
+
)
|
|
706
|
+
|
|
707
|
+
# The client must configure the authentication and authorization parameters
|
|
708
|
+
# in accordance with the API server security policy.
|
|
709
|
+
# Examples for each auth method are provided below, use the example that
|
|
710
|
+
# satisfies your auth use case.
|
|
711
|
+
|
|
712
|
+
# Configure Bearer authorization: BearerAuth
|
|
713
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
714
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
715
|
+
)
|
|
716
|
+
|
|
717
|
+
# Enter a context with an instance of the API client
|
|
718
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
719
|
+
# Create an instance of the API class
|
|
720
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
721
|
+
api_client_id = 56 # int | Filter API keys for a specific API client
|
|
722
|
+
|
|
723
|
+
try:
|
|
724
|
+
# List API keys
|
|
725
|
+
api_response = await api_instance.list_api_keys(api_client_id)
|
|
726
|
+
print("The response of APIPlatformApi->list_api_keys:\n")
|
|
727
|
+
pprint(api_response)
|
|
728
|
+
except Exception as e:
|
|
729
|
+
print("Exception when calling APIPlatformApi->list_api_keys: %s\n" % e)
|
|
730
|
+
```
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
### Parameters
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
Name | Type | Description | Notes
|
|
738
|
+
------------- | ------------- | ------------- | -------------
|
|
739
|
+
**api_client_id** | **int**| Filter API keys for a specific API client |
|
|
740
|
+
|
|
741
|
+
### Return type
|
|
742
|
+
|
|
743
|
+
[**ApiKeyListResponse**](ApiKeyListResponse.md)
|
|
744
|
+
|
|
745
|
+
### Authorization
|
|
746
|
+
|
|
747
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
748
|
+
|
|
749
|
+
### HTTP request headers
|
|
750
|
+
|
|
751
|
+
- **Content-Type**: Not defined
|
|
752
|
+
- **Accept**: application/json
|
|
753
|
+
|
|
754
|
+
### HTTP response details
|
|
755
|
+
|
|
756
|
+
| Status code | Description | Response headers |
|
|
757
|
+
|-------------|-------------|------------------|
|
|
758
|
+
**200** | List of API keys retrieved successfully | - |
|
|
759
|
+
**401** | Authentication required | - |
|
|
760
|
+
|
|
761
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
762
|
+
|
|
763
|
+
# **refresh_api_key_secret**
|
|
764
|
+
> ApiKeyResponse refresh_api_key_secret(api_client_id, api_key_id)
|
|
765
|
+
|
|
766
|
+
Refresh API key secret
|
|
767
|
+
|
|
768
|
+
Refresh the authentication token or OAuth 2.0 client secret for an API key.
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
### Example
|
|
772
|
+
|
|
773
|
+
* Bearer Authentication (BearerAuth):
|
|
774
|
+
|
|
775
|
+
```python
|
|
776
|
+
import workato_platform_cli.client.workato_api
|
|
777
|
+
from workato_platform_cli.client.workato_api.models.api_key_response import ApiKeyResponse
|
|
778
|
+
from workato_platform_cli.client.workato_api.rest import ApiException
|
|
779
|
+
from pprint import pprint
|
|
780
|
+
|
|
781
|
+
# Defining the host is optional and defaults to https://www.workato.com
|
|
782
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
783
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
784
|
+
host = "https://www.workato.com"
|
|
785
|
+
)
|
|
786
|
+
|
|
787
|
+
# The client must configure the authentication and authorization parameters
|
|
788
|
+
# in accordance with the API server security policy.
|
|
789
|
+
# Examples for each auth method are provided below, use the example that
|
|
790
|
+
# satisfies your auth use case.
|
|
791
|
+
|
|
792
|
+
# Configure Bearer authorization: BearerAuth
|
|
793
|
+
configuration = workato_platform_cli.client.workato_api.Configuration(
|
|
794
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
795
|
+
)
|
|
796
|
+
|
|
797
|
+
# Enter a context with an instance of the API client
|
|
798
|
+
async with workato_platform_cli.client.workato_api.ApiClient(configuration) as api_client:
|
|
799
|
+
# Create an instance of the API class
|
|
800
|
+
api_instance = workato_platform_cli.client.workato_api.APIPlatformApi(api_client)
|
|
801
|
+
api_client_id = 56 # int | ID of the API client that owns the API key
|
|
802
|
+
api_key_id = 56 # int | ID of the API key to refresh
|
|
803
|
+
|
|
804
|
+
try:
|
|
805
|
+
# Refresh API key secret
|
|
806
|
+
api_response = await api_instance.refresh_api_key_secret(api_client_id, api_key_id)
|
|
807
|
+
print("The response of APIPlatformApi->refresh_api_key_secret:\n")
|
|
808
|
+
pprint(api_response)
|
|
809
|
+
except Exception as e:
|
|
810
|
+
print("Exception when calling APIPlatformApi->refresh_api_key_secret: %s\n" % e)
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
### Parameters
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
Name | Type | Description | Notes
|
|
819
|
+
------------- | ------------- | ------------- | -------------
|
|
820
|
+
**api_client_id** | **int**| ID of the API client that owns the API key |
|
|
821
|
+
**api_key_id** | **int**| ID of the API key to refresh |
|
|
822
|
+
|
|
823
|
+
### Return type
|
|
824
|
+
|
|
825
|
+
[**ApiKeyResponse**](ApiKeyResponse.md)
|
|
826
|
+
|
|
827
|
+
### Authorization
|
|
828
|
+
|
|
829
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
830
|
+
|
|
831
|
+
### HTTP request headers
|
|
832
|
+
|
|
833
|
+
- **Content-Type**: Not defined
|
|
834
|
+
- **Accept**: application/json
|
|
835
|
+
|
|
836
|
+
### HTTP response details
|
|
837
|
+
|
|
838
|
+
| Status code | Description | Response headers |
|
|
839
|
+
|-------------|-------------|------------------|
|
|
840
|
+
**200** | API key secret refreshed successfully | - |
|
|
841
|
+
**401** | Authentication required | - |
|
|
842
|
+
|
|
843
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
844
|
+
|