From eba3109b78a51f0892cb3dfccd30b8392fd094e4 Mon Sep 17 00:00:00 2001 From: John Vu Date: Tue, 10 Oct 2023 15:38:49 -0700 Subject: [PATCH] Change sample code script to add python beta sample code --- add_code_samples_to_oas.py | 82 +- bin/build_spec.sh | 12 +- defs/asana_oas.yaml | 4709 +++++++++++++++++++----------------- 3 files changed, 2524 insertions(+), 2279 deletions(-) diff --git a/add_code_samples_to_oas.py b/add_code_samples_to_oas.py index 4ca1913..0bb5e16 100644 --- a/add_code_samples_to_oas.py +++ b/add_code_samples_to_oas.py @@ -14,16 +14,16 @@ 'install': ruamel.yaml.scalarstring.FoldedScalarString('com.asanaasana1.0.0'), }, 'node': { - 'install': 'npm install asana@2.0.6', - }, - 'node-old': { 'install': 'npm install asana', }, + 'node-beta': { + 'install': 'npm install asana@2.0.6', + }, 'python': { - 'install': 'pip install asana', + 'install': 'pip install asana==3.2.2', }, - 'python-old': { - 'install': 'pip install asana==3.2.1', + 'python-beta': { + 'install': 'pip install asana==4.0.11', }, 'php': { 'install': 'composer require asana/asana', @@ -53,45 +53,14 @@ def camel_case(s): code_samples = {} for language in LANGUAGES: if language in {"node", "python"}: - if language == "python": - # Add sample code for new client libraries - for dirpath,_,filenames in os.walk(f'./build/{language}/docs'): - for filename in filenames: - if re.search("^.*Api.yaml$", filename): - with open(f'{dirpath}/{filename}') as fp: - data = yaml.load(fp) - for resource, operations in data.items(): - # OpenAPI Generator adds "Api" suffix to end of resource names we need - # to remove it so we can find a matching resource in our OpenAPI Spec - resource_name = resource.replace("Api", '').lower() - # Set resource key in code_samples dict - code_samples.setdefault(resource_name, {}) - # Loop through each operation - for operation, code_sample in operations.items(): - # Convert operation name from snake case to camel case - # NOTE: the python generator snake cases all opertionIDs we need to - # change this to camel case so we can find a matching resource in our OpenAPI Spec - operation_name_camel_case = camel_case(operation) - # Set operation name - code_samples[resource_name].setdefault(operation_name_camel_case, []) - # Add sample code - code_samples[resource_name][operation_name_camel_case].append( - { - "language": language, - "install": readme_code_config[language]['install'], - "code": code_sample, - } - ) - # Add sample code for old client libraries - for dirpath,_,filenames in os.walk(f'./build/{language}-old/samples'): + # Add sample code for client libraries + for dirpath,_,filenames in os.walk(f'./build/{language}/samples'): for filename in filenames: with open(f'{dirpath}/{filename}') as fp: data = yaml.load(fp) for resource, operations in data.items(): # Set resource key in code_samples dict - # NOTE: java resource name has a "base" suffix. We'll need to remove this so we - # can group the sample code together with the other languages - resource_name = resource.replace("base", '') if language == 'java' else resource + resource_name = resource code_samples.setdefault(resource_name, {}) # Loop through each operation for operation, code_sample in operations.items(): @@ -100,32 +69,21 @@ def camel_case(s): # Set operation name code_samples[resource_name].setdefault(operation_name_camel_case, []) # Add sample code - if language == "python": - code_samples[resource_name][operation_name_camel_case].append( - { - "language": language, - "install": readme_code_config[f'{language}-old']['install'], - "code": code_sample, - "name": f'{language}-old' - } - ) - elif language == "node": - code_samples[resource_name][operation_name_camel_case].append( - { - "language": language, - "install": readme_code_config[f'{language}-old']['install'], - "code": code_sample, - } - ) - if language == "node": - # Add sample code for new client libraries - for dirpath,_,filenames in os.walk(f'./build/{language}/docs'): + code_samples[resource_name][operation_name_camel_case].append( + { + "language": language, + "install": readme_code_config[f'{language}']['install'], + "code": code_sample, + } + ) + # Add sample code for beta client libraries + for dirpath,_,filenames in os.walk(f'./build/{language}-beta/docs'): for filename in filenames: if re.search("^.*Api.yaml$", filename): with open(f'{dirpath}/{filename}') as fp: data = yaml.load(fp) for resource, operations in data.items(): - # OpenAPI Generator adds "Api" suffix to end of resource names we need + # Swagger Codegen Generator adds "Api" suffix to end of resource names we need # to remove it so we can find a matching resource in our OpenAPI Spec resource_name = resource.replace("Api", '').lower() # Set resource key in code_samples dict @@ -142,7 +100,7 @@ def camel_case(s): code_samples[resource_name][operation_name_camel_case].append( { "language": language, - "install": readme_code_config[language]['install'], + "install": readme_code_config[f'{language}-beta']['install'], "code": code_sample, "name": f'{language}-beta' } diff --git a/bin/build_spec.sh b/bin/build_spec.sh index ce586d7..65611cc 100755 --- a/bin/build_spec.sh +++ b/bin/build_spec.sh @@ -20,7 +20,7 @@ checkout_client_lib() ( git clone "$url" "$dest" ) -checkout_old_client_lib() ( +checkout_version_client_lib() ( url="$1" dest="$2" tag="$3" @@ -38,14 +38,14 @@ checkout_old_client_lib() ( ) checkout_client_lib "https://github.com/Asana/java-asana.git" build/java -checkout_client_lib "https://github.com/Asana/node-asana.git" build/node -checkout_client_lib "https://github.com/Asana/python-asana.git" build/python +checkout_version_client_lib "https://github.com/Asana/node-asana.git" build/node v1.0.2 +checkout_version_client_lib "https://github.com/Asana/python-asana.git" build/python v3.2.2 checkout_client_lib "https://github.com/Asana/php-asana.git" build/php checkout_client_lib "https://github.com/Asana/ruby-asana.git" build/ruby -# Old Client Libraries -checkout_old_client_lib "https://github.com/Asana/node-asana.git" build/node-old v1.0.2 -checkout_old_client_lib "https://github.com/Asana/python-asana.git" build/python-old v3.2.1 +# Beta Client Libraries +checkout_client_lib "https://github.com/Asana/node-asana.git" build/node-beta +checkout_version_client_lib "https://github.com/Asana/python-asana.git" build/python-beta v4.0.11 # Run script to add client library sample code to OpenAPI Spec file python add_code_samples_to_oas.py diff --git a/defs/asana_oas.yaml b/defs/asana_oas.yaml index 7fef6b1..5eda91a 100644 --- a/defs/asana_oas.yaml +++ b/defs/asana_oas.yaml @@ -6976,6 +6976,13 @@ components: *Deprecated:* A *workspace* is the highest-level organizational unit in Asana. All projects and tasks have an associated workspace. + MembershipUpdateRequest: + type: object + properties: + role: + description: The role given to the member. Can be `editor` or `commenter`. + type: string + example: editor MembershipRequest: type: object properties: @@ -6997,6 +7004,11 @@ components: description: The gid of the `goal` type: string example: '987654' + role: + description: The role given to the member. Optional argument, will default + to commenter. Can be `editor` or `commenter`. + type: string + example: editor MembershipResponse: anyOf: - $ref: '#/components/schemas/GoalMembershipResponse' @@ -7233,7 +7245,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.attachments.get_attachment(attachment_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -7255,18 +7278,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling AttachmentsApi->get_attachment: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.attachments.get_attachment(attachment_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -7372,7 +7384,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.attachments.delete_attachment(attachment_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -7393,17 +7415,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling AttachmentsApi->delete_attachment: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.attachments.delete_attachment(attachment_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -7596,7 +7608,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.attachments.get_attachments_for_object({'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -7620,18 +7643,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling AttachmentsApi->get_attachments_for_object: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.attachments.get_attachments_for_object({'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -7806,7 +7818,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.attachments.create_attachment_for_object({'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -7833,18 +7856,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling AttachmentsApi->create_attachment_for_object: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.attachments.create_attachment_for_object({'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -8032,7 +8044,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.audit_log_api.get_audit_log_events(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -8061,18 +8084,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling AuditLogAPIApi->get_audit_log_events: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.audit_log_api.get_audit_log_events(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -8219,7 +8231,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.batch_api.create_batch_request({'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -8241,18 +8264,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling BatchAPIApi->create_batch_request: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.batch_api.create_batch_request({'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -8330,6 +8342,7 @@ paths: - custom_field.enum_value.name - custom_field.format - custom_field.has_notifications_enabled + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.is_global_to_workspace - custom_field.is_value_read_only @@ -8342,6 +8355,7 @@ paths: - custom_field.people_value - custom_field.people_value.name - custom_field.precision + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -8381,6 +8395,7 @@ paths: - custom_field.enum_value.name - custom_field.format - custom_field.has_notifications_enabled + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.is_global_to_workspace - custom_field.is_value_read_only @@ -8393,6 +8408,7 @@ paths: - custom_field.people_value - custom_field.people_value.name - custom_field.precision + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -8486,7 +8502,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_field_settings.get_custom_field_settings_for_project(project_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -8510,18 +8537,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldSettingsApi->get_custom_field_settings_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_field_settings.get_custom_field_settings_for_project(project_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -8595,6 +8611,7 @@ paths: - custom_field.enum_value.name - custom_field.format - custom_field.has_notifications_enabled + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.is_global_to_workspace - custom_field.is_value_read_only @@ -8607,6 +8624,7 @@ paths: - custom_field.people_value - custom_field.people_value.name - custom_field.precision + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -8646,6 +8664,7 @@ paths: - custom_field.enum_value.name - custom_field.format - custom_field.has_notifications_enabled + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.is_global_to_workspace - custom_field.is_value_read_only @@ -8658,6 +8677,7 @@ paths: - custom_field.people_value - custom_field.people_value.name - custom_field.precision + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -8751,7 +8771,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_field_settings.get_custom_field_settings_for_portfolio(portfolio_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -8775,18 +8806,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldSettingsApi->get_custom_field_settings_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_field_settings.get_custom_field_settings_for_portfolio(portfolio_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -8864,6 +8884,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -8876,6 +8897,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -8906,6 +8928,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -8918,6 +8941,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9008,7 +9032,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.create_custom_field({'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -9030,18 +9065,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->create_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.create_custom_field({'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -9117,6 +9141,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9129,6 +9154,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9159,6 +9185,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9171,6 +9198,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9251,7 +9279,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.get_custom_field(custom_field_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -9273,18 +9312,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->get_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.get_custom_field(custom_field_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -9366,6 +9394,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9378,6 +9407,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9408,6 +9438,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9420,6 +9451,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9510,7 +9542,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.update_custom_field(custom_field_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -9533,18 +9576,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->update_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.update_custom_field(custom_field_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -9655,7 +9687,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.delete_custom_field(custom_field_gid, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -9676,18 +9719,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->delete_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.delete_custom_field(custom_field_gid, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -9759,6 +9791,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9773,6 +9806,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9804,6 +9838,7 @@ paths: - enum_value.name - format - has_notifications_enabled + - id_prefix - is_formula_field - is_global_to_workspace - is_value_read_only @@ -9818,6 +9853,7 @@ paths: - people_value - people_value.name - precision + - representation_type - resource_subtype - text_value - type @@ -9904,7 +9940,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.get_custom_fields_for_workspace(workspace_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -9928,18 +9975,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->get_custom_fields_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.get_custom_fields_for_workspace(workspace_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -10093,7 +10129,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.create_enum_option_for_custom_field(custom_field_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -10116,18 +10163,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->create_enum_option_for_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.create_enum_option_for_custom_field(custom_field_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -10277,7 +10313,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.insert_enum_option_for_custom_field(custom_field_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -10300,18 +10347,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->insert_enum_option_for_custom_field: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.insert_enum_option_for_custom_field(custom_field_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -10470,7 +10506,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.custom_fields.update_enum_option(enum_option_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -10493,18 +10540,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling CustomFieldsApi->update_enum_option: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.custom_fields.update_enum_option(enum_option_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -10743,7 +10779,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.events.get_events({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -10766,18 +10813,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling EventsApi->get_events: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.events.get_events({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -10906,7 +10942,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goal_relationships.get_goal_relationship(goal_relationship_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -10928,18 +10975,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalRelationshipsApi->get_goal_relationship: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goal_relationships.get_goal_relationship(goal_relationship_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -11083,7 +11119,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goal_relationships.update_goal_relationship(goal_relationship_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -11106,18 +11153,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalRelationshipsApi->update_goal_relationship: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goal_relationships.update_goal_relationship(goal_relationship_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -11276,7 +11312,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goal_relationships.get_goal_relationships({'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -11301,18 +11348,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalRelationshipsApi->get_goal_relationships: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goal_relationships.get_goal_relationships({'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -11457,7 +11493,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goal_relationships.add_supporting_relationship(goal_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -11480,18 +11527,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalRelationshipsApi->add_supporting_relationship: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goal_relationships.add_supporting_relationship(goal_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -11600,7 +11636,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goal_relationships.remove_supporting_relationship(goal_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -11622,18 +11669,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalRelationshipsApi->remove_supporting_relationship: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goal_relationships.remove_supporting_relationship(goal_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -11840,7 +11876,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.get_goal(goal_gid, {'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -11862,18 +11909,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->get_goal: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.get_goal(goal_gid, {'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -12091,7 +12127,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.update_goal(goal_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -12114,18 +12161,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->update_goal: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.update_goal(goal_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -12233,7 +12269,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.delete_goal(goal_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -12254,17 +12300,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->delete_goal: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.delete_goal(goal_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -12529,7 +12565,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.get_goals({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -12558,18 +12605,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->get_goals: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.get_goals({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -12785,7 +12821,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.create_goal({'field': 'value', 'field': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -12807,18 +12854,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->create_goal: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.create_goal({'field': 'value', 'field': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -13039,7 +13075,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.create_goal_metric(goal_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -13062,18 +13109,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->create_goal_metric: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.create_goal_metric(goal_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -13296,7 +13332,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.update_goal_metric(goal_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -13319,18 +13366,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->update_goal_metric: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.update_goal_metric(goal_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -13555,7 +13591,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.add_followers(goal_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -13578,18 +13625,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->add_followers: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.add_followers(goal_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -13811,7 +13847,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.remove_followers(goal_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -13834,18 +13881,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->remove_followers: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.remove_followers(goal_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14054,7 +14090,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.goals.get_parent_goals_for_goal(goal_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14076,18 +14123,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling GoalsApi->get_parent_goals_for_goal: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.goals.get_parent_goals_for_goal(goal_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14238,7 +14274,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.jobs.get_job(job_gid, {'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14260,18 +14307,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling JobsApi->get_job: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.jobs.get_job(job_gid, {'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14403,7 +14439,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.memberships.get_memberships({'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14428,18 +14475,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling MembershipsApi->get_memberships: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.memberships.get_memberships({'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14487,7 +14523,7 @@ paths: data: $ref: '#/components/schemas/CreateMembershipRequest' responses: - 200: + 201: description: >- Successfully created the requested membership. content: @@ -14532,7 +14568,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.memberships.create_membership({'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14553,18 +14600,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling MembershipsApi->create_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.memberships.create_membership({'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14678,7 +14714,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14700,6 +14736,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling MembershipsApi->get_membership: %s\n" % e) + name: python-beta delete: summary: Delete a membership description: |- @@ -14755,7 +14792,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.memberships.delete_membership(membership_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14776,17 +14823,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling MembershipsApi->delete_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.memberships.delete_membership(membership_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -14935,7 +14972,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.organization_exports.create_organization_export({'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -14957,18 +15005,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling OrganizationExportsApi->create_organization_export: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.organization_exports.create_organization_export({'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -15105,7 +15142,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.organization_exports.get_organization_export(organization_export_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -15127,18 +15175,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling OrganizationExportsApi->get_organization_export: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.organization_exports.get_organization_export(organization_export_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -15295,7 +15332,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolio_memberships.get_portfolio_memberships({'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -15321,18 +15369,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfolioMembershipsApi->get_portfolio_memberships: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolio_memberships.get_portfolio_memberships({'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -15468,7 +15505,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolio_memberships.get_portfolio_membership(portfolio_membership_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -15490,18 +15538,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfolioMembershipsApi->get_portfolio_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolio_memberships.get_portfolio_membership(portfolio_membership_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -15656,7 +15693,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolio_memberships.get_portfolio_memberships_for_portfolio(portfolio_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -15681,18 +15729,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfolioMembershipsApi->get_portfolio_memberships_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolio_memberships.get_portfolio_memberships_for_portfolio(portfolio_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -15794,6 +15831,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -15806,6 +15844,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -15828,6 +15867,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -15835,6 +15875,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -15890,6 +15931,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -15902,6 +15944,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -15924,6 +15967,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -15931,6 +15975,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16032,7 +16077,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.get_portfolios({'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -16057,18 +16113,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->get_portfolios: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.get_portfolios({'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -16149,6 +16194,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16161,6 +16207,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16183,6 +16230,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16190,6 +16238,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16242,6 +16291,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16254,6 +16304,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16276,6 +16327,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16283,6 +16335,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16386,7 +16439,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.create_portfolio({'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -16408,18 +16472,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->create_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.create_portfolio({'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -16496,6 +16549,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16508,6 +16562,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16530,6 +16585,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16537,6 +16593,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16589,6 +16646,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16601,6 +16659,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16623,6 +16682,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16630,6 +16690,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16721,7 +16782,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.get_portfolio(portfolio_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -16743,18 +16815,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->get_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.get_portfolio(portfolio_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -16832,6 +16893,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16844,6 +16906,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16866,6 +16929,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16873,6 +16937,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -16925,6 +16990,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -16937,6 +17003,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -16959,6 +17026,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -16966,6 +17034,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -17070,7 +17139,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.update_portfolio(portfolio_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -17093,18 +17173,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->update_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.update_portfolio(portfolio_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -17211,7 +17280,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.delete_portfolio(portfolio_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -17232,17 +17311,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->delete_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.delete_portfolio(portfolio_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -17338,6 +17407,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -17350,6 +17420,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -17372,6 +17443,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -17379,6 +17451,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -17462,6 +17535,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -17474,6 +17548,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -17496,6 +17571,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -17503,6 +17579,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -17615,7 +17692,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.get_items_for_portfolio(portfolio_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -17639,18 +17727,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->get_items_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.get_items_for_portfolio(portfolio_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -17775,7 +17852,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.add_item_for_portfolio(portfolio_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -17797,18 +17885,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->add_item_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.add_item_for_portfolio(portfolio_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -17932,7 +18009,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.remove_item_for_portfolio(portfolio_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -17954,18 +18042,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->remove_item_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.remove_item_for_portfolio(portfolio_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -18089,7 +18166,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.add_custom_field_setting_for_portfolio(portfolio_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -18111,18 +18199,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->add_custom_field_setting_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.add_custom_field_setting_for_portfolio(portfolio_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -18245,7 +18322,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.remove_custom_field_setting_for_portfolio(portfolio_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -18267,18 +18355,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->remove_custom_field_setting_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.remove_custom_field_setting_for_portfolio(portfolio_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -18359,6 +18436,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -18371,6 +18449,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -18393,6 +18472,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -18400,6 +18480,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -18452,6 +18533,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -18464,6 +18546,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -18486,6 +18569,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -18493,6 +18577,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -18597,7 +18682,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.add_members_for_portfolio(portfolio_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -18620,18 +18716,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->add_members_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.add_members_for_portfolio(portfolio_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -18712,6 +18797,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -18724,6 +18810,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -18746,6 +18833,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -18753,6 +18841,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -18805,6 +18894,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -18817,6 +18907,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -18839,6 +18930,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -18846,6 +18938,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -18950,7 +19043,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.portfolios.remove_members_for_portfolio(portfolio_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -18973,18 +19077,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling PortfoliosApi->remove_members_for_portfolio: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.portfolios.remove_members_for_portfolio(portfolio_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -19133,7 +19226,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_briefs.get_project_brief(project_brief_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -19155,18 +19259,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectBriefsApi->get_project_brief: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_briefs.get_project_brief(project_brief_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -19320,7 +19413,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_briefs.update_project_brief(project_brief_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -19343,18 +19447,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectBriefsApi->update_project_brief: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_briefs.update_project_brief(project_brief_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -19462,7 +19555,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_briefs.delete_project_brief(project_brief_gid, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -19483,18 +19587,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectBriefsApi->delete_project_brief: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_briefs.delete_project_brief(project_brief_gid, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -19650,7 +19743,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_briefs.create_project_brief(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -19673,18 +19777,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectBriefsApi->create_project_brief: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_briefs.create_project_brief(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -19832,7 +19925,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_memberships.get_project_membership(project_membership_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -19854,18 +19958,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectMembershipsApi->get_project_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_memberships.get_project_membership(project_membership_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20022,7 +20115,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_memberships.get_project_memberships_for_project(project_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20047,18 +20151,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectMembershipsApi->get_project_memberships_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_memberships.get_project_memberships_for_project(project_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20208,7 +20301,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_statuses.get_project_status(project_status_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20230,18 +20334,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectStatusesApi->get_project_status: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_statuses.get_project_status(project_status_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20351,7 +20444,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_statuses.delete_project_status(project_status_gid, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20372,18 +20476,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectStatusesApi->delete_project_status: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_statuses.delete_project_status(project_status_gid, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20548,7 +20641,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_statuses.get_project_statuses_for_project(project_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20572,18 +20676,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectStatusesApi->get_project_statuses_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_statuses.get_project_statuses_for_project(project_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20744,7 +20837,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_statuses.create_project_status_for_project(project_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20767,18 +20871,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectStatusesApi->create_project_status_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_statuses.create_project_status_for_project(project_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -20932,7 +21025,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_templates.get_project_template(project_template_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -20954,18 +21058,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectTemplatesApi->get_project_template: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_templates.get_project_template(project_template_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -21049,7 +21142,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -21070,6 +21163,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectTemplatesApi->delete_project_template: %s\n" % e) + name: python-beta /project_templates: parameters: - $ref: '#/components/parameters/pretty' @@ -21215,7 +21309,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_templates.get_project_templates({'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -21240,18 +21345,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectTemplatesApi->get_project_templates: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_templates.get_project_templates({'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -21419,7 +21513,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_templates.get_project_templates_for_team(team_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -21443,18 +21548,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectTemplatesApi->get_project_templates_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_templates.get_project_templates_for_team(team_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -21634,7 +21728,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.project_templates.instantiate_project(project_template_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -21657,18 +21762,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectTemplatesApi->instantiate_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.project_templates.instantiate_project(project_template_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -21783,6 +21877,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -21795,6 +21890,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -21817,6 +21913,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -21824,6 +21921,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -21907,6 +22005,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -21919,6 +22018,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -21941,6 +22041,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -21948,6 +22049,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -22062,7 +22164,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_projects({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -22088,18 +22201,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_projects: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_projects({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -22199,6 +22301,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -22211,6 +22314,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -22233,6 +22337,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -22240,6 +22345,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -22320,6 +22426,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -22332,6 +22439,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -22354,6 +22462,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -22361,6 +22470,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -22476,7 +22586,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.create_project({'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -22498,18 +22619,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->create_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.create_project({'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -22602,6 +22712,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -22614,6 +22725,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -22636,6 +22748,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -22643,6 +22756,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -22723,6 +22837,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -22735,6 +22850,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -22757,6 +22873,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -22764,6 +22881,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -22867,7 +22985,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_project(project_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -22889,18 +23018,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_project(project_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -22998,6 +23116,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -23010,6 +23129,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -23032,6 +23152,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -23039,6 +23160,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -23119,6 +23241,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -23131,6 +23254,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -23153,6 +23277,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -23160,6 +23285,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -23276,7 +23402,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.update_project(project_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -23299,18 +23436,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->update_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.update_project(project_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -23417,7 +23543,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.delete_project(project_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -23438,17 +23574,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->delete_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.delete_project(project_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -23612,7 +23738,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.duplicate_project(project_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -23635,18 +23772,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->duplicate_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.duplicate_project(project_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -23742,6 +23868,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -23754,6 +23881,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -23776,6 +23904,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -23783,6 +23912,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -23866,6 +23996,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -23878,6 +24009,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -23900,6 +24032,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -23907,6 +24040,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -24020,7 +24154,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_projects_for_task(task_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -24044,18 +24189,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_projects_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_projects_for_task(task_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -24152,6 +24286,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -24164,6 +24299,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -24186,6 +24322,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -24193,6 +24330,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -24276,6 +24414,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -24288,6 +24427,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -24310,6 +24450,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -24317,6 +24458,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -24430,7 +24572,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_projects_for_team(team_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -24455,18 +24608,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_projects_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_projects_for_team(team_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -24558,6 +24700,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -24570,6 +24713,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -24592,6 +24736,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -24599,6 +24744,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -24679,6 +24825,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -24691,6 +24838,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -24713,6 +24861,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -24720,6 +24869,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -24836,7 +24986,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.create_project_for_team(team_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -24859,18 +25020,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->create_project_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.create_project_for_team(team_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -24970,6 +25120,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -24982,6 +25133,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -25004,6 +25156,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -25011,6 +25164,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -25094,6 +25248,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -25106,6 +25261,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -25128,6 +25284,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -25135,6 +25292,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -25249,7 +25407,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_projects_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -25274,18 +25443,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_projects_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_projects_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -25381,6 +25539,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -25393,6 +25552,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -25415,6 +25575,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -25422,6 +25583,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -25502,6 +25664,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -25514,6 +25677,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -25536,6 +25700,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -25543,6 +25708,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -25660,7 +25826,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.create_project_for_workspace(workspace_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -25683,18 +25860,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->create_project_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.create_project_for_workspace(workspace_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -25818,7 +25984,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.add_custom_field_setting_for_project(project_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -25840,18 +26017,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->add_custom_field_setting_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.add_custom_field_setting_for_project(project_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -25974,7 +26140,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.remove_custom_field_setting_for_project(project_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -25996,18 +26173,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->remove_custom_field_setting_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.remove_custom_field_setting_for_project(project_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -26160,7 +26326,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.get_task_counts_for_project(project_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -26182,18 +26359,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->get_task_counts_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.get_task_counts_for_project(project_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -26294,6 +26460,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -26306,6 +26473,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -26328,6 +26496,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -26335,6 +26504,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -26415,6 +26585,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -26427,6 +26598,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -26449,6 +26621,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -26456,6 +26629,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -26572,7 +26746,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.add_members_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -26595,18 +26780,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->add_members_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.add_members_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -26702,6 +26876,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -26714,6 +26889,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -26736,6 +26912,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -26743,6 +26920,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -26823,6 +27001,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -26835,6 +27014,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -26857,6 +27037,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -26864,6 +27045,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -26980,7 +27162,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.remove_members_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -27003,18 +27196,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->remove_members_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.remove_members_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -27114,6 +27296,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -27126,6 +27309,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -27148,6 +27332,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -27155,6 +27340,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -27235,6 +27421,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -27247,6 +27434,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -27269,6 +27457,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -27276,6 +27465,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -27392,7 +27582,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.add_followers_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -27415,18 +27616,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->add_followers_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.add_followers_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -27523,6 +27713,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -27535,6 +27726,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -27557,6 +27749,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -27564,6 +27757,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -27644,6 +27838,7 @@ paths: - custom_field_settings.custom_field.enum_value.name - custom_field_settings.custom_field.format - custom_field_settings.custom_field.has_notifications_enabled + - custom_field_settings.custom_field.id_prefix - custom_field_settings.custom_field.is_formula_field - custom_field_settings.custom_field.is_global_to_workspace - custom_field_settings.custom_field.is_value_read_only @@ -27656,6 +27851,7 @@ paths: - custom_field_settings.custom_field.people_value - custom_field_settings.custom_field.people_value.name - custom_field_settings.custom_field.precision + - custom_field_settings.custom_field.representation_type - custom_field_settings.custom_field.resource_subtype - custom_field_settings.custom_field.text_value - custom_field_settings.custom_field.type @@ -27678,6 +27874,7 @@ paths: - custom_fields.enum_value.color - custom_fields.enum_value.enabled - custom_fields.enum_value.name + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.multi_enum_values - custom_fields.multi_enum_values.color @@ -27685,6 +27882,7 @@ paths: - custom_fields.multi_enum_values.name - custom_fields.name - custom_fields.number_value + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -27801,7 +27999,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.remove_followers_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -27824,18 +28033,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->remove_followers_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.remove_followers_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28005,7 +28203,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.projects.project_save_as_template(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28028,18 +28237,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling ProjectsApi->project_save_as_template: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.projects.project_save_as_template(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28133,7 +28331,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28155,6 +28353,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling RulesApi->trigger_rule: %s\n" % e) + name: python-beta /sections/{section_gid}: parameters: - $ref: '#/components/parameters/section_path_gid' @@ -28267,7 +28466,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.get_section(section_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28289,18 +28499,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->get_section: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.get_section(section_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28456,7 +28655,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.update_section(section_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28479,18 +28689,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->update_section: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.update_section(section_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28601,7 +28800,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.delete_section(section_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28622,17 +28831,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->delete_section: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.delete_section(section_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28785,7 +28984,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.get_sections_for_project(project_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28809,18 +29019,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->get_sections_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.get_sections_for_project(project_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -28969,7 +29168,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.create_section_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -28992,18 +29202,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->create_section_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.create_section_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -29129,7 +29328,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.add_task_for_section(section_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -29151,18 +29361,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->add_task_for_section: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.add_task_for_section(section_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -29289,7 +29488,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.sections.insert_section_for_project(project_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -29311,18 +29521,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling SectionsApi->insert_section_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.sections.insert_section_for_project(project_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -29495,7 +29694,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.status_updates.get_status(status_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -29517,18 +29727,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StatusUpdatesApi->get_status: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.status_updates.get_status(status_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -29634,7 +29833,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.status_updates.delete_status(status_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -29655,17 +29864,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StatusUpdatesApi->delete_status: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.status_updates.delete_status(status_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -29871,7 +30070,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.status_updates.get_statuses_for_object({'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -29896,18 +30106,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StatusUpdatesApi->get_statuses_for_object: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.status_updates.get_statuses_for_object({'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -30092,7 +30291,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.status_updates.create_status_for_object({'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -30116,18 +30326,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StatusUpdatesApi->create_status_for_object: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.status_updates.create_status_for_object({'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -30192,6 +30391,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -30199,6 +30399,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -30330,6 +30531,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -30337,6 +30539,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -30519,7 +30722,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.stories.get_story(story_gid, {'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -30541,18 +30755,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StoriesApi->get_story: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.stories.get_story(story_gid, {'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -30617,6 +30820,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -30624,6 +30828,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -30755,6 +30960,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -30762,6 +30968,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -30957,7 +31164,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.stories.update_story(story_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -30980,18 +31198,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StoriesApi->update_story: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.stories.update_story(story_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -31097,7 +31304,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.stories.delete_story(story_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -31118,17 +31335,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StoriesApi->delete_story: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.stories.delete_story(story_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -31196,6 +31403,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -31203,6 +31411,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -31337,6 +31546,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -31344,6 +31554,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -31535,7 +31746,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.stories.get_stories_for_task(task_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -31559,18 +31781,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StoriesApi->get_stories_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.stories.get_stories_for_task(task_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -31636,6 +31847,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -31643,6 +31855,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -31774,6 +31987,7 @@ paths: - custom_field.enum_value.color - custom_field.enum_value.enabled - custom_field.enum_value.name + - custom_field.id_prefix - custom_field.is_formula_field - custom_field.multi_enum_values - custom_field.multi_enum_values.color @@ -31781,6 +31995,7 @@ paths: - custom_field.multi_enum_values.name - custom_field.name - custom_field.number_value + - custom_field.representation_type - custom_field.resource_subtype - custom_field.text_value - custom_field.type @@ -31976,7 +32191,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.stories.create_story_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -31999,18 +32225,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling StoriesApi->create_story_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.stories.create_story_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -32175,7 +32390,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.get_tags({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -32199,18 +32425,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->get_tags: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.get_tags({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -32369,7 +32584,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.create_tag({'field': 'value', 'field': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -32391,18 +32617,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->create_tag: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.create_tag({'field': 'value', 'field': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -32546,7 +32761,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.get_tag(tag_gid, {'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -32568,18 +32794,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->get_tag: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.get_tag(tag_gid, {'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -32729,7 +32944,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.update_tag(tag_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -32751,18 +32977,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->update_tag: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.update_tag(tag_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -32869,7 +33084,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.delete_tag(tag_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -32890,17 +33115,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->delete_tag: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.delete_tag(tag_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -33059,7 +33274,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.get_tags_for_task(task_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33083,18 +33309,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->get_tags_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.get_tags_for_task(task_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -33254,7 +33469,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.get_tags_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33278,18 +33504,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->get_tags_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.get_tags_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -33450,7 +33665,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tags.create_tag_for_workspace(workspace_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33473,18 +33699,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TagsApi->create_tag_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tags.create_tag_for_workspace(workspace_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -33583,7 +33798,7 @@ paths: x-readme: code-samples: - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33607,6 +33822,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TaskTemplatesApi->get_task_templates: %s\n" % e) + name: python-beta /task_templates/{task_template_gid}: parameters: - $ref: '#/components/parameters/task_template_path_gid' @@ -33667,7 +33883,7 @@ paths: x-readme: code-samples: - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33689,6 +33905,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TaskTemplatesApi->get_task_template: %s\n" % e) + name: python-beta /task_templates/{task_template_gid}/instantiateTask: parameters: - $ref: '#/components/parameters/task_template_path_gid' @@ -33774,7 +33991,7 @@ paths: x-readme: code-samples: - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -33797,6 +34014,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TaskTemplatesApi->instantiate_task: %s\n" % e) + name: python-beta /tasks: parameters: - $ref: '#/components/parameters/pretty' @@ -33924,6 +34142,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -33936,6 +34155,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34026,6 +34246,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -34038,6 +34259,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34173,7 +34395,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_tasks({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -34202,18 +34435,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_tasks: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_tasks({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -34298,6 +34520,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -34310,6 +34533,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34397,6 +34621,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -34409,6 +34634,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34541,7 +34767,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.create_task({'field': 'value', 'field': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -34563,18 +34800,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->create_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.create_task({'field': 'value', 'field': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -34656,6 +34882,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -34668,6 +34895,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34755,6 +34983,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -34767,6 +34996,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -34888,7 +35118,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_task(task_gid, {'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -34910,18 +35151,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_task(task_gid, {'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -35008,6 +35238,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -35020,6 +35251,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -35107,6 +35339,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -35119,6 +35352,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -35253,7 +35487,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.update_task(task_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -35276,18 +35521,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->update_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.update_task(task_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -35396,7 +35630,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.delete_task(task_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -35417,17 +35661,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->delete_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.delete_task(task_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -35592,7 +35826,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.duplicate_task(task_gid, {'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -35615,18 +35860,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->duplicate_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.duplicate_task(task_gid, {'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -35714,6 +35948,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -35726,6 +35961,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -35816,6 +36052,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -35828,6 +36065,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -35959,7 +36197,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_tasks_for_project(project_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -35984,18 +36233,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_tasks_for_project: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_tasks_for_project(project_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -36082,6 +36320,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36094,6 +36333,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -36184,6 +36424,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36196,6 +36437,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -36328,7 +36570,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_tasks_for_section(section_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -36353,18 +36606,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_tasks_for_section: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_tasks_for_section(section_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -36450,6 +36692,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36462,6 +36705,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -36552,6 +36796,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36564,6 +36809,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -36695,7 +36941,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_tasks_for_tag(tag_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -36719,18 +36976,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_tasks_for_tag: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_tasks_for_tag(tag_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -36826,6 +37072,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36838,6 +37085,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -36928,6 +37176,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -36940,6 +37189,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -37073,7 +37323,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_tasks_for_user_task_list(user_task_list_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -37098,18 +37359,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_tasks_for_user_task_list: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_tasks_for_user_task_list(user_task_list_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -37196,6 +37446,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -37208,6 +37459,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -37298,6 +37550,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -37310,6 +37563,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -37440,7 +37694,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_subtasks_for_task(task_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -37464,18 +37729,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_subtasks_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_subtasks_for_task(task_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -37555,6 +37809,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -37567,6 +37822,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -37654,6 +37910,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -37666,6 +37923,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -37800,7 +38058,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.create_subtask_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -37823,18 +38092,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->create_subtask_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.create_subtask_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -37919,6 +38177,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -37931,6 +38190,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -38018,6 +38278,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -38030,6 +38291,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -38164,7 +38426,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.set_parent_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -38187,18 +38460,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->set_parent_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.set_parent_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -38283,6 +38545,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -38295,6 +38558,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -38385,6 +38649,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -38397,6 +38662,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -38529,7 +38795,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_dependencies_for_task(task_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -38553,18 +38830,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_dependencies_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_dependencies_for_task(task_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -38690,7 +38956,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.add_dependencies_for_task(task_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -38712,18 +38989,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->add_dependencies_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.add_dependencies_for_task(task_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -38847,7 +39113,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.remove_dependencies_for_task(task_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -38869,18 +39146,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->remove_dependencies_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.remove_dependencies_for_task(task_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -38965,6 +39231,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -38977,6 +39244,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -39067,6 +39335,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -39079,6 +39348,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -39212,7 +39482,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.get_dependents_for_task(task_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -39236,18 +39517,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->get_dependents_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.get_dependents_for_task(task_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -39373,7 +39643,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.add_dependents_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -39395,18 +39676,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->add_dependents_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.add_dependents_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -39531,7 +39801,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.remove_dependents_for_task(task_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -39553,18 +39834,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->remove_dependents_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.remove_dependents_for_task(task_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -39700,7 +39970,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.add_project_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -39722,18 +40003,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->add_project_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.add_project_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -39859,7 +40129,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.remove_project_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -39881,18 +40162,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->remove_project_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.remove_project_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -40015,7 +40285,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.add_tag_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -40037,18 +40318,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->add_tag_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.add_tag_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -40171,7 +40441,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.remove_tag_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -40193,18 +40474,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->remove_tag_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.remove_tag_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -40292,6 +40562,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -40304,6 +40575,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -40391,6 +40663,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -40403,6 +40676,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -40538,7 +40812,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.add_followers_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -40561,18 +40846,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->add_followers_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.add_followers_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -40656,6 +40930,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -40668,6 +40943,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -40755,6 +41031,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -40767,6 +41044,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -40902,7 +41180,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.remove_follower_for_task(task_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -40925,18 +41214,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->remove_follower_for_task: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.remove_follower_for_task(task_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -41511,6 +41789,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -41523,6 +41802,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -41610,6 +41890,7 @@ paths: - custom_fields.enum_value.name - custom_fields.format - custom_fields.has_notifications_enabled + - custom_fields.id_prefix - custom_fields.is_formula_field - custom_fields.is_global_to_workspace - custom_fields.is_value_read_only @@ -41622,6 +41903,7 @@ paths: - custom_fields.people_value - custom_fields.people_value.name - custom_fields.precision + - custom_fields.representation_type - custom_fields.resource_subtype - custom_fields.text_value - custom_fields.type @@ -41816,7 +42098,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.tasks.search_tasks_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -41897,18 +42190,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TasksApi->search_tasks_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.tasks.search_tasks_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -42050,7 +42332,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.team_memberships.get_team_membership(team_membership_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -42072,18 +42365,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamMembershipsApi->get_team_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.team_memberships.get_team_membership(team_membership_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -42266,7 +42548,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.team_memberships.get_team_memberships({'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -42292,18 +42585,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamMembershipsApi->get_team_memberships: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.team_memberships.get_team_memberships({'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -42459,7 +42741,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.team_memberships.get_team_memberships_for_team(team_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -42483,18 +42776,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamMembershipsApi->get_team_memberships_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.team_memberships.get_team_memberships_for_team(team_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -42661,7 +42943,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.team_memberships.get_team_memberships_for_user(user_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -42686,18 +42979,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamMembershipsApi->get_team_memberships_for_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.team_memberships.get_team_memberships_for_user(user_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -42862,7 +43144,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.create_team({'field': 'value', 'field': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -42884,18 +43177,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->create_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.create_team({'field': 'value', 'field': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43047,7 +43329,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.get_team(team_gid, {'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -43069,18 +43362,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->get_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.get_team(team_gid, {'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43228,7 +43510,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.update_team({'field': 'value', 'field': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -43251,18 +43544,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->update_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.update_team({'field': 'value', 'field': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43432,7 +43714,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.get_teams_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -43456,18 +43749,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->get_teams_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.get_teams_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43644,7 +43926,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.get_teams_for_user(user_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -43669,18 +43962,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->get_teams_for_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.get_teams_for_user(user_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43841,7 +44123,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.add_user_for_team(team_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -43864,18 +44157,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->add_user_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.add_user_for_team(team_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -43999,7 +44281,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.teams.remove_user_for_team(team_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44021,18 +44314,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TeamsApi->remove_user_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.teams.remove_user_for_team(team_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -44176,7 +44458,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.time_periods.get_time_period(time_period_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44198,18 +44491,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimePeriodsApi->get_time_period: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.time_periods.get_time_period(time_period_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -44394,7 +44676,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.time_periods.get_time_periods({'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44420,18 +44713,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimePeriodsApi->get_time_periods: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.time_periods.get_time_periods({'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -44552,7 +44834,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44576,6 +44858,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimeTrackingEntriesApi->get_time_tracking_entries_for_task: %s\n" % e) + name: python-beta post: summary: Create a time tracking entry description: |- @@ -44676,7 +44959,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44699,6 +44982,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimeTrackingEntriesApi->create_time_tracking_entry: %s\n" % e) + name: python-beta /time_tracking_entries/{time_tracking_entry_gid}: parameters: - $ref: '#/components/parameters/time_tracking_entry_path_gid' @@ -44790,7 +45074,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44812,6 +45096,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimeTrackingEntriesApi->get_time_tracking_entry: %s\n" % e) + name: python-beta put: summary: Update a time tracking entry description: |- @@ -44918,7 +45203,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -44941,6 +45226,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimeTrackingEntriesApi->update_time_tracking_entry: %s\n" % e) + name: python-beta delete: summary: Delete a time tracking entry description: |- @@ -44995,7 +45281,7 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45016,6 +45302,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TimeTrackingEntriesApi->delete_time_tracking_entry: %s\n" % e) + name: python-beta /workspaces/{workspace_gid}/typeahead: parameters: - $ref: '#/components/parameters/workspace_path_gid' @@ -45217,7 +45504,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.typeahead.typeahead_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45243,18 +45541,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling TypeaheadApi->typeahead_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.typeahead.typeahead_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -45390,7 +45677,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.user_task_lists.get_user_task_list(user_task_list_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45412,18 +45710,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UserTaskListsApi->get_user_task_list: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.user_task_lists.get_user_task_list(user_task_list_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -45569,7 +45856,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.user_task_lists.get_user_task_list_for_user(user_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45592,18 +45890,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UserTaskListsApi->get_user_task_list_for_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.user_task_lists.get_user_task_list_for_user(user_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -45785,7 +46072,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.users.get_users({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45810,18 +46108,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->get_users: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.users.get_users({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -45970,7 +46257,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.users.get_user(user_gid, {'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -45992,18 +46290,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->get_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.users.get_user(user_gid, {'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -46174,7 +46461,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.users.get_favorites_for_user(user_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -46200,18 +46498,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->get_favorites_for_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.users.get_favorites_for_user(user_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -46370,7 +46657,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.users.get_users_for_team(team_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -46393,18 +46691,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->get_users_for_team: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.users.get_users_for_team(team_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -46562,7 +46849,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.users.get_users_for_workspace(workspace_gid, {'param': + 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -46585,18 +46883,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling UsersApi->get_users_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.users.get_users_for_workspace(workspace_gid, {'param': - 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -46777,7 +47064,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.webhooks.get_webhooks({'param': 'value', 'param': 'value'}, + opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -46802,18 +47100,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WebhooksApi->get_webhooks: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.webhooks.get_webhooks({'param': 'value', 'param': 'value'}, - opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47029,7 +47316,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.webhooks.create_webhook({'field': 'value', 'field': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47051,18 +47349,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WebhooksApi->create_webhook: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.webhooks.create_webhook({'field': 'value', 'field': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47214,7 +47501,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.webhooks.get_webhook(webhook_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47236,18 +47534,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WebhooksApi->get_webhook: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.webhooks.get_webhook(webhook_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47410,7 +47697,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.webhooks.update_webhook(webhook_gid, {'field': 'value', + 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47433,18 +47731,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WebhooksApi->update_webhook: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.webhooks.update_webhook(webhook_gid, {'field': 'value', - 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47550,7 +47837,17 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.webhooks.delete_webhook(webhook_gid, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47571,17 +47868,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WebhooksApi->delete_webhook: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.webhooks.delete_webhook(webhook_gid, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47739,7 +48026,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspace_memberships.get_workspace_membership(workspace_membership_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47761,18 +48059,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspaceMembershipsApi->get_workspace_membership: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspace_memberships.get_workspace_membership(workspace_membership_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -47946,7 +48233,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspace_memberships.get_workspace_memberships_for_user(user_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -47970,18 +48268,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspaceMembershipsApi->get_workspace_memberships_for_user: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspace_memberships.get_workspace_memberships_for_user(user_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -48147,7 +48434,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspace_memberships.get_workspace_memberships_for_workspace(workspace_gid, + {'param': 'value', 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -48172,18 +48470,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspaceMembershipsApi->get_workspace_memberships_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspace_memberships.get_workspace_memberships_for_workspace(workspace_gid, - {'param': 'value', 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -48330,7 +48617,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspaces.get_workspaces({'param': 'value', 'param': + 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -48353,18 +48651,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspacesApi->get_workspaces: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspaces.get_workspaces({'param': 'value', 'param': - 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -48497,7 +48784,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspaces.get_workspace(workspace_gid, {'param': 'value', + 'param': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -48519,18 +48817,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspacesApi->get_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspaces.get_workspace(workspace_gid, {'param': 'value', - 'param': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -48679,7 +48966,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspaces.update_workspace(workspace_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -48702,18 +49000,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspacesApi->update_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspaces.update_workspace(workspace_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -48875,7 +49162,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspaces.add_user_for_workspace(workspace_gid, {'field': + 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -48898,18 +49196,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspacesApi->add_user_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspaces.add_user_for_workspace(workspace_gid, {'field': - 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >- @@ -49037,7 +49324,18 @@ paths: }); name: node-beta - language: python - install: pip install asana + install: pip install asana==3.2.2 + code: >- + import asana + + + client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') + + + result = client.workspaces.remove_user_for_workspace(workspace_gid, + {'field': 'value', 'field': 'value'}, opt_pretty=True) + - language: python + install: pip install asana==4.0.11 code: |- import asana from asana.rest import ApiException @@ -49059,18 +49357,7 @@ paths: pprint(api_response) except ApiException as e: print("Exception when calling WorkspacesApi->remove_user_for_workspace: %s\n" % e) - - language: python - install: pip install asana==3.2.1 - code: >- - import asana - - - client = asana.Client.access_token('PERSONAL_ACCESS_TOKEN') - - - result = client.workspaces.remove_user_for_workspace(workspace_gid, - {'field': 'value', 'field': 'value'}, opt_pretty=True) - name: python-old + name: python-beta - language: php install: composer require asana/asana code: >-