From b311f7385990f493947dfe0dfd8168d543b4582f Mon Sep 17 00:00:00 2001 From: = Date: Wed, 15 Feb 2023 22:10:22 +0800 Subject: [PATCH] Remove debug endpoint --- lib/app_store_connect.rb | 1 - .../bundle_id_update_request.rb | 17 ----------------- lib/config/schema.json | 7 +------ 3 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 lib/app_store_connect/bundle_id_update_request.rb diff --git a/lib/app_store_connect.rb b/lib/app_store_connect.rb index 6c93a3d..1d2b89e 100644 --- a/lib/app_store_connect.rb +++ b/lib/app_store_connect.rb @@ -15,7 +15,6 @@ require 'app_store_connect/app_store_version_phased_release_update_request' require 'app_store_connect/app_store_version_release_request_create_request' require 'app_store_connect/app_store_version_update_request' -require 'app_store_connect/bundle_id_update_request' require 'app_store_connect/build_update_request' require 'app_store_connect/bundle_id_capability_create_request' require 'app_store_connect/bundle_id_create_request' diff --git a/lib/app_store_connect/bundle_id_update_request.rb b/lib/app_store_connect/bundle_id_update_request.rb deleted file mode 100644 index 11b75a1..0000000 --- a/lib/app_store_connect/bundle_id_update_request.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -require 'app_store_connect/modify_request' - -module AppStoreConnect - class BundleIdUpdateRequest < ModifyRequest - data do - id - - type 'bundleIds' - - attributes do - property :name - end - end - end -end diff --git a/lib/config/schema.json b/lib/config/schema.json index 14cb811..927045f 100644 --- a/lib/config/schema.json +++ b/lib/config/schema.json @@ -793,12 +793,7 @@ "http_body_type": "BuildUpdateRequest", "alias": "update_build" }, - { - "http_method": "patch", - "url": "https://api.appstoreconnect.apple.com/v1/bundleIds/{id}", - "http_body_type": "BundleIdUpdateRequest", - "alias": "update_bundle_id" - }, + { "url": "https://api.appstoreconnect.apple.com/v1/appStoreVersions", "http_body_type": "AppStoreVersionCreateRequest",