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",