Package: pollination-sdk
pollination-sdkPollination Server OpenAPI DefinitionThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 0.43.0Package version: 1.0.0Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visithttps://pollination.cloudRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importpollination_sdkSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importpollination_sdkGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportpollination_sdkfrompollination_sdk.restimportApiExceptionfrompprintimportpprint# Defining host is optional and default to http://localhostconfiguration.host="http://localhost"# Create an instance of the API classapi_instance=pollination_sdk.UsersApi(pollination_sdk.ApiClient(configuration))search='search_example'# str | Search string to find users (optional)page=1# int | Page number starting from 1 (optional) (default to 1)per_page=25# int | Number of items per page (optional) (default to 25)try:# List Usersapi_response=api_instance.list_users(search=search,page=page,per_page=per_page)pprint(api_response)exceptApiExceptionase:print("Exception when calling UsersApi->list_users:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhostClassMethodHTTP requestDescriptionAPITokensApicreate_tokenPOST/tokensCreate a new API tokenAPITokensApidelete_tokenDELETE/tokens/{token_id}Delete an API TokenAPITokensApilist_tokensGET/tokensList user API tokensAPITokensApiregenerate_tokenPUT/tokens/{token_id}Regenerate an API tokenAccountsApicheck_account_nameGET/accounts/check/{name}Check if an account with this name existsAccountsApiget_accountGET/accounts/{name}Get an account by nameAccountsApilist_accountsGET/accountsList Accounts on the Pollination platformAccountsApilist_quotasGET/accounts/{name}/quotasList QuotasApplicationsApicreate_applicationPOST/applications/{owner}Create an ApplicationApplicationsApidelete_applicationDELETE/applications/{owner}/{slug}Delete a ApplicationApplicationsApidelete_application_org_permissionDELETE/applications/{owner}/{slug}/permissionsRemove a Application permissionsApplicationsApidelete_application_versionDELETE/applications/{owner}/{slug}/versions/{tag}Remove a Application versionApplicationsApiget_applicationGET/applications/{owner}/{slug}Get an applicationApplicationsApiget_application_access_permissionsGET/applications/{owner}/{slug}/permissionsGet application access permissionsApplicationsApiget_application_deploymentGET/applications/{owner}/{slug}/deploymentGet application deploymentApplicationsApiget_application_versionsGET/applications/{owner}/{slug}/versionsGet application versionsApplicationsApilist_applicationsGET/applicationsList ApplicationsApplicationsApiupdate_applicationPUT/applications/{owner}/{slug}Update a ApplicationApplicationsApiupsert_application_permissionPATCH/applications/{owner}/{slug}/permissionsUpsert a new permission to a applicationApplicationsApiupsert_application_versionPATCH/applications/{owner}/{slug}/versionsUpsert a new version to a applicationArtifactsApicreate_artifactPOST/projects/{owner}/{name}/artifactsGet an Artifact upload link.ArtifactsApidelete_artifactDELETE/projects/{owner}/{name}/artifactsDelete one or many artifacts by key/prefixArtifactsApidownload_artifactGET/projects/{owner}/{name}/artifacts/downloadDownload an artifact from the project folderArtifactsApilist_artifactsGET/projects/{owner}/{name}/artifactsList artifacts in a project folderJobsApicancel_jobPUT/projects/{owner}/{name}/jobs/{job_id}/cancelCancel a JobJobsApicreate_jobPOST/projects/{owner}/{name}/jobsSchedule a jobJobsApidelete_jobDELETE/projects/{owner}/{name}/jobs/{job_id}Delete a JobJobsApidownload_job_artifactGET/projects/{owner}/{name}/jobs/{job_id}/artifacts/downloadDownload an artifact from the job folderJobsApiget_jobGET/projects/{owner}/{name}/jobs/{job_id}Get a JobJobsApilist_jobsGET/projects/{owner}/{name}/jobsList JobsJobsApiretry_jobPUT/projects/{owner}/{name}/jobs/{job_id}/retryRetry failed runs for a JobJobsApisearch_job_folderGET/projects/{owner}/{name}/jobs/{job_id}/artifactsList files/folders in a job folderLicensesApidelete_activationDELETE/licenses/pools/{pool_id}/activations/{activation_id}Delete the activationLicensesApiget_available_poolsGET/licenses/poolsGet license pools available to authenticated userLicensesApiget_license_activationsGET/licenses/pools/{pool_id}/activationsGet the activations for the licenseLicensesApiget_pool_licenseGET/licenses/pools/{pool_id}/licenseGet the license associated with a poolLicensesApigrant_access_to_poolPATCH/licenses/pools/{pool_id}/permissionsGrant access to the license poolLicensesApiregenerate_license_poolPOST/licenses/pools/{pool_id}/regenerateRegenerate the license associated with the poolLicensesApirevoke_access_to_poolDELETE/licenses/pools/{pool_id}/permissionsRevoke access to the license poolLicensesApiupdate_license_poolPUT/licenses/pools/{pool_id}Update the license poolOrgsApicreate_orgPOST/orgsCreate an OrgOrgsApidelete_orgDELETE/orgs/{name}Delete an OrgOrgsApidelete_org_memberDELETE/orgs/{name}/members/{username}Remove an Org memberOrgsApiget_orgGET/orgs/{name}Get an OrgOrgsApiget_org_membersGET/orgs/{name}/membersList organization membersOrgsApilist_orgsGET/orgsList OrgsOrgsApiupdate_orgPUT/orgs/{name}Update an OrgOrgsApiupsert_org_memberPATCH/orgs/{name}/members/{username}/{role}Add or update the role of an Org MemberPluginsApicreate_pluginPOST/plugins/{owner}Create a PluginPluginsApicreate_plugin_packagePOST/plugins/{owner}/{name}/tagsCreate a new Plugin packagePluginsApidelete_pluginDELETE/plugins/{owner}/{name}Delete a PluginPluginsApidelete_plugin_org_permissionDELETE/plugins/{owner}/{name}/permissionsRemove a Repository permissionsPluginsApiget_pluginGET/plugins/{owner}/{name}Get a pluginPluginsApiget_plugin_access_permissionsGET/plugins/{owner}/{name}/permissionsGet plugin access permissionsPluginsApiget_plugin_by_tagGET/plugins/{owner}/{name}/tags/{tag}Get a plugin tagPluginsApilist_plugin_tagsGET/plugins/{owner}/{name}/tagsGet a plugin tagsPluginsApilist_pluginsGET/pluginsList pluginsPluginsApiupdate_pluginPUT/plugins/{owner}/{name}Update a PluginPluginsApiupsert_plugin_permissionPATCH/plugins/{owner}/{name}/permissionsUpsert a new permission to a pluginProjectsApicreate_projectPOST/projects/{owner}Create a ProjectProjectsApicreate_project_recipe_filterPOST/projects/{owner}/{name}/recipes/filtersUpsert a recipe filter to a projectProjectsApidelete_projectDELETE/projects/{owner}/{name}Delete a ProjectProjectsApidelete_project_org_permissionDELETE/projects/{owner}/{name}/permissionsRemove a Project permissionsProjectsApidelete_project_recipe_filterDELETE/projects/{owner}/{name}/recipes/filtersRemove a Project recipe filterProjectsApiget_projectGET/projects/{owner}/{name}Get a projectProjectsApiget_project_access_permissionsGET/projects/{owner}/{name}/permissionsGet project access permissionsProjectsApiget_project_recipe_filtersGET/projects/{owner}/{name}/recipes/filtersGet project recipe filtersProjectsApiget_project_recipesGET/projects/{owner}/{name}/recipesGet project recipesProjectsApilist_projectsGET/projectsList ProjectsProjectsApiupdatePUT/projects/{owner}/{name}Update a ProjectProjectsApiupsert_project_permissionPATCH/projects/{owner}/{name}/permissionsUpsert a new permission to a projectRecipesApicreate_recipePOST/recipes/{owner}Create a RecipeRecipesApicreate_recipe_packagePOST/recipes/{owner}/{name}/tagsCreate a new Recipe packageRecipesApidelete_recipeDELETE/recipes/{owner}/{name}Delete a RecipeRecipesApidelete_recipe_org_permissionDELETE/recipes/{owner}/{name}/permissionsRemove a Repository permissionsRecipesApiget_recipeGET/recipes/{owner}/{name}Get a recipeRecipesApiget_recipe_access_permissionsGET/recipes/{owner}/{name}/permissionsGet recipe access permissionsRecipesApiget_recipe_by_tagGET/recipes/{owner}/{name}/tags/{tag}Get a recipe tagRecipesApilist_recipe_tagsGET/recipes/{owner}/{name}/tagsGet a recipe tagsRecipesApilist_recipesGET/recipesList recipesRecipesApiupdate_recipePUT/recipes/{owner}/{name}Update a RecipeRecipesApiupsert_recipe_permissionPATCH/recipes/{owner}/{name}/permissionsUpsert a new permission to a recipeRegistriesApiget_packageGET/registries/{owner}/{type}/{name}/{digest}Get PackageRegistriesApiget_package_jsonGET/registries/{owner}/{type}/{name}/{digest}/jsonGet Package in JSON formatRegistriesApiget_registry_indexGET/registries/{owner}/index.jsonGet Registry IndexRegistriesApipost_pluginPOST/registries/{owner}/pluginsPush a plugin to the registryRegistriesApipost_recipePOST/registries/{owner}/recipesPush an Recipe to the registryRunsApicancel_runPUT/projects/{owner}/{name}/runs/{run_id}/cancelCancel a runRunsApidownload_run_artifactGET/projects/{owner}/{name}/runs/{run_id}/artifacts/downloadDownload an artifact from the run folderRunsApiget_all_run_stepsGET/projects/{owner}/{name}/runs/{run_id}/all-stepsQuery the steps of a runRunsApiget_runGET/projects/{owner}/{name}/runs/{run_id}Get a RunRunsApiget_run_outputGET/projects/{owner}/{name}/runs/{run_id}/outputs/{output_name}Get run output by nameRunsApiget_run_step_logsGET/projects/{owner}/{name}/runs/{run_id}/steps/{step_id}/logsGet the logs of a specific step of the runRunsApiget_run_stepsGET/projects/{owner}/{name}/runs/{run_id}/stepsQuery the steps of a runRunsApilist_run_artifactsGET/projects/{owner}/{name}/runs/{run_id}/artifactsList artifacts in a run folderRunsApilist_runsGET/projects/{owner}/{name}/runsList runsRunsApiquery_resultsGET/projects/{owner}/{name}/resultsQuery run resultsRunsApiretry_runPUT/projects/{owner}/{name}/runs/{run_id}/retryRetry a runSubscriptionPlansApilist_subscription_plansGET/subscription-plans/List Subscription PlansSubscriptionsApicancel_subscriptionDELETE/subscriptions/{subscription_id}Cancel a subscriptionSubscriptionsApicreate_subscriptionPOST/subscriptions/Subscribe account to subscritpion planSubscriptionsApiget_subscriptionGET/subscriptions/{subscription_id}Retrieve a subscription by IDSubscriptionsApilist_pollination_subscriptionsGET/subscriptions/List SubscriptionsSubscriptionsApilist_subscription_paymentsGET/subscriptions/{subscription_id}/paymentsList Payment for a SubscriptionSubscriptionsApilist_subscription_quotasGET/subscriptions/{subscription_id}/quotasList the quotas for a given subscriptionSubscriptionsApiupdate_subscriptionPUT/subscriptions/{subscription_id}Update a subscriptionSubscriptionsApiupdate_subscription_preivewPUT/subscriptions/{subscription_id}/previewPreview the effect of a subscription updateTeamsApicreate_teamPOST/orgs/{org_name}/teamsCreate a TeamTeamsApidelete_org_team_memberDELETE/orgs/{org_name}/teams/{team_slug}/members/{username}Remove a team memberTeamsApidelete_teamDELETE/orgs/{org_name}/teams/{team_slug}Delete a TeamTeamsApiget_org_team_membersGET/orgs/{org_name}/teams/{team_slug}/membersList team membersTeamsApiget_teamGET/orgs/{org_name}/teams/{team_slug}Get a TeamTeamsApilist_org_teamsGET/orgs/{org_name}/teamsList TeamsTeamsApiupdate_teamPUT/orgs/{org_name}/teams/{team_slug}Update a TeamTeamsApiupsert_org_team_memberPATCH/orgs/{org_name}/teams/{team_slug}/members/{username}/{role}Add or update the role of an Team MemberUserApicreate_userPOST/userRegister a new userUserApiget_meGET/userGet authenticated user profile.UserApiget_rolesGET/user/rolesGet the authenticated user rolesUserApiupdate_user_profilePUT/userUpdate the authenticated userUsersApicheck_usernameGET/users/check_username/{username}Check if a username is already takenUsersApiget_one_userGET/users/{name}Get a specific user profileUsersApilist_usersGET/usersList UsersDocumentation For ModelsAPITokenAPITokenCreateAPITokenListAPITokenPrivateAccessorAccountPublicAccountTypeActivationActivationListApplicationApplicationAccessPolicyApplicationAccessPolicyListApplicationCreateApplicationDeploymentApplicationListApplicationPolicySubjectApplicationSortKeyApplicationUpdateApplicationVersionApplicationVersionListBakedRecipeBillingInfoBillingOptionBodyCythonFunctionOrMethodOwnerPluginsPostBodyPostRecipeOwnerRecipesPostBuildStatusBuildStatusEnumCardTypeCloudJobCloudJobListCreatedContentDAGDAGArrayInputDAGArrayInputAliasDAGArrayOutputDAGArrayOutputAliasDAGBooleanInputDAGBooleanInputAliasDAGBooleanOutputDAGBooleanOutputAliasDAGFileInputDAGFileInputAliasDAGFileOutputDAGFileOutputAliasDAGFolderInputDAGFolderInputAliasDAGFolderOutputDAGFolderOutputAliasDAGGenericInputDAGGenericInputAliasDAGGenericOutputDAGGenericOutputAliasDAGIntegerInputDAGIntegerInputAliasDAGIntegerOutputDAGIntegerOutputAliasDAGJSONObjectInputDAGJSONObjectInputAliasDAGJSONObjectOutputDAGJSONObjectOutputAliasDAGLinkedInputAliasDAGLinkedOutputAliasDAGNumberInputDAGNumberInputAliasDAGNumberOutputDAGNumberOutputAliasDAGPathInputDAGPathInputAliasDAGPathOutputDAGPathOutputAliasDAGStringInputDAGStringInputAliasDAGStringOutputDAGStringOutputAliasDAGTaskDAGTaskLoopDailyUsageDependencyDependencyKindDeploymentConfigDockerConfigFileMetaFileReferenceFolderReferenceFunctionFunctionArrayInputFunctionArrayOutputFunctionBooleanInputFunctionBooleanOutputFunctionFileInputFunctionFileOutputFunctionFolderInputFunctionFolderOutputFunctionIntegerInputFunctionIntegerOutputFunctionJSONObjectInputFunctionJSONObjectOutputFunctionNumberInputFunctionNumberOutputFunctionPathInputFunctionPathOutputFunctionStringInputFunctionStringOutputHTTPHTTPValidationErrorIOAliasHandlerInputFileReferenceInputFolderReferenceInputPathReferenceInputReferenceItemReferenceItemTypeJobJobArgumentJobPathArgumentJobStatusJobStatusEnumKeyRequestLicenseLicensePoolAccessPolicyLicensePoolAccessPolicyListLicensePoolListLicensePoolPolicySubjectLicensePoolPolicySubjectListLicensePoolPublicLicensePoolUpdateLicensePublicLicenseTypeLocalConfigLocationMaintainerMetaDataMetadataNewApplicationVersionNewPluginPackageNewRecipePackageOrganizationOrganizationCreateOrganizationListOrganizationMemberOrganizationMemberListOrganizationRoleEnumOrganizationUpdatePackageSortKeyPackageVersionPausedReasonPayLinkPaymentPaymentMethodPaymentMethodEnumPermissionPlanTypePluginPluginConfigPluginPackagePluginPackageListPolicySubjectProjectProjectAccessPolicyProjectAccessPolicyListProjectCreateProjectFolderProjectListProjectPolicySubjectProjectRecipeFilterProjectRecipeFilterListProjectSortKeyProjectUpdatePublicAccountListQuotaQuotaListQuotaPlanQuotaTypeRecipeRecipeInterfaceRecipeInterfaceListRecipePackageRecipePackageListRepositoryRepositoryAccessPolicyRepositoryAccessPolicyListRepositoryCreateRepositoryIndexRepositoryListRepositoryMetadataRepositoryPolicySubjectRepositorySortKeyRepositoryUpdateRepositoryUserPermissionsResourcesDurationRetryConfigRoleEnumRunRunListRunMetaRunProgressRunResultListRunStatusRunStatusEnumS3S3UploadRequestSDKEnumScriptingLanguagesSortEnumStatusTypeStepArrayInputStepArrayOutputStepBooleanInputStepBooleanOutputStepFileInputStepFileOutputStepFolderInputStepFolderOutputStepIntegerInputStepIntegerOutputStepJSONObjectInputStepJSONObjectOutputStepListStepNumberInputStepNumberOutputStepPathInputStepPathOutputStepStatusStepStatusEnumStepStringInputStepStringOutputSubjectTypeSubscriptionSubscriptionCreateSubscriptionPaymentSubscriptionPlanSubscriptionUpdateSubscriptionUpdateDryRunTaskArgumentTaskFileReferenceTaskFolderReferenceTaskPathArgumentTaskPathReferenceTaskPathReturnTaskReferenceTaskReturnTeamTeamCreateTeamListTeamMemberTeamMemberListTeamRoleEnumTeamUpdateTemplateFunctionUpdateAcceptedUsageUserCreateUserPermissionUserPrivateUserPublicUserPublicListUserUpdateValidationErrorValueFileReferenceValueFolderReferenceValueListReferenceValueReferenceDocumentation For AuthorizationAPIKeyAuthType: API keyAPI key parameter name: x-pollination-tokenLocation: HTTP headerJWTAuthType: Bearer authentication (JWT)Authorinfo@pollination.cloud