From 4129b0ab5fb36fdbe34b3f11c3aaa1555c038573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Orm=C3=A1ndi?= Date: Thu, 17 Nov 2022 12:07:23 +0100 Subject: [PATCH] Add endpoint for manual release [RA-441] (#125) --- ...pp_store_version_release_request_create_request.rb | 11 +++++++++++ lib/config/schema.json | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 lib/app_store_connect/app_store_version_release_request_create_request.rb diff --git a/lib/app_store_connect/app_store_version_release_request_create_request.rb b/lib/app_store_connect/app_store_version_release_request_create_request.rb new file mode 100644 index 0000000..7a8c59d --- /dev/null +++ b/lib/app_store_connect/app_store_version_release_request_create_request.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require 'app_store_connect/create_request' + +module AppStoreConnect + class AppStoreVersionReleaseRequestCreateRequest < CreateRequest + data do + type 'appStoreVersionReleaseRequests' + end + end +end diff --git a/lib/config/schema.json b/lib/config/schema.json index 3666e87..e49d586 100644 --- a/lib/config/schema.json +++ b/lib/config/schema.json @@ -714,6 +714,13 @@ "alias": "app_store_version" }, + { + "url": "https://api.appstoreconnect.apple.com/v1/appStoreVersionReleaseRequests", + "http_body_type": "AppStoreVersionReleaseRequestCreateRequest", + "http_method": "post", + "alias": "create_app_store_version_release_request" + }, + { "url": "https://api.appstoreconnect.apple.com/v1/appStoreVersionPhasedReleases", "http_body_type": "AppStoreVersionPhasedReleaseCreateRequest",