From 3606f8d3cc4c6f6919e3b3a57e3148ae84b5dd70 Mon Sep 17 00:00:00 2001 From: Ryan Abela Date: Mon, 13 Jan 2025 14:31:00 +0100 Subject: [PATCH] make pages visible by default (#62) Co-authored-by: ryana-ccbill --- automation/service/apigee_pages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automation/service/apigee_pages.py b/automation/service/apigee_pages.py index 267a4e1..3af7b2f 100755 --- a/automation/service/apigee_pages.py +++ b/automation/service/apigee_pages.py @@ -52,7 +52,8 @@ def add_update_remote_page(session, portal_id: str, org_name: str, page_id: int, 'name': re.sub('([-]+)', r' ', friendly_id).lower().title(), 'friendlyId': friendly_id, 'description': '', - 'orgname': org_name} + 'orgname': org_name, + 'anonAllowed': True} response = session.post(url, json=data) if response.status_code != 200: @@ -86,4 +87,4 @@ def delete_remote_page(session, portal_id: str, page_id: int): if response.status_code != 200: print(utils.print_error(response)) else: - print('Successfully deleted ' + str(page_id) + ' from Apigee portal!') \ No newline at end of file + print('Successfully deleted ' + str(page_id) + ' from Apigee portal!')