Skip to content

Commit

Permalink
Commit In-App Purchase Review Screenshot (#149)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomislav Markanovic <tomislav@platogo.com>
  • Loading branch information
gregg-platogo and tmarkanov authored Feb 27, 2023
1 parent f2996b5 commit fafd506
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# frozen_string_literal: true

module AppStoreConnect
module Requests
module V1
module InAppPurchaseReviewScreenshot
class Update < Request::Body
data do
id
type 'inAppPurchaseAppStoreReviewScreenshots'

attributes do
property :uploaded
property :source_file_checksum
end
end
end
end
end
end
end
6 changes: 6 additions & 0 deletions lib/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@
"http_method": "post",
"url": "https://api.appstoreconnect.apple.com/v1/inAppPurchaseAppStoreReviewScreenshots"
},
{
"alias": "update_in_app_purchase_app_store_review_screenshot",
"http_body_type": "Requests::V1::InAppPurchaseReviewScreenshot::Update",
"http_method": "patch",
"url": "https://api.appstoreconnect.apple.com/v1/inAppPurchaseAppStoreReviewScreenshots/{id}"
},
{
"http_method": "get",
"url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/inAppPurchasesV2",
Expand Down

0 comments on commit fafd506

Please sign in to comment.