Module: AppStoreConnectApi::Domain::Apps
- Included in:
- AppStoreConnectApi::Domain
- Defined in:
- lib/app_store_connect_api/domain/apps.rb
Instance Method Summary collapse
- #app(app_id, options = {}) ⇒ Object
- #app_app_availability(app_id, options = {}) ⇒ Object
- #app_app_clips(app_id, options = {}) ⇒ Object
- #app_app_custom_product_pages(app_id, options = {}) ⇒ Object
- #app_app_infos(app_id, options = {}) ⇒ Object
- #app_app_price_points(app_id, options = {}) ⇒ Object
- #app_app_price_schedule(app_id, options = {}) ⇒ Object
- #app_app_store_versions(app_id, options = {}) ⇒ Object
- #app_beta_app_localizations(app_id, options = {}) ⇒ Object
- #app_beta_app_review_detail(app_id, options = {}) ⇒ Object
- #app_beta_groups(app_id, options = {}) ⇒ Object
- #app_beta_license_agreement(app_id, options = {}) ⇒ Object
- #app_builds(app_id, options = {}) ⇒ Object
- #app_customer_reviews(app_id, options = {}) ⇒ Object
- #app_end_user_license_agreement(app_id, options = {}) ⇒ Object
- #app_in_app_purchases(app_id, options = {}) ⇒ Object
- #app_pre_order(app_id, options = {}) ⇒ Object
- #app_prerelease_versions(app_id, options = {}) ⇒ Object
- #app_promoted_purchases(app_id, options = {}) ⇒ Object
- #app_review_submissions(app_id, options = {}) ⇒ Object
- #apps(options = {}) ⇒ Object
- #remove_app_beta_testers(app_id, beta_tester_ids) ⇒ Object
- #update_app(app_id, attributes = {}, app_price_ids = []) ⇒ Object
Instance Method Details
#app(app_id, options = {}) ⇒ Object
12 13 14 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 12 def app(app_id, = {}) get "/v1/apps/#{app_id}", end |
#app_app_availability(app_id, options = {}) ⇒ Object
120 121 122 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 120 def app_app_availability(app_id, = {}) get "/v1/apps/#{app_id}/appAvailability", end |
#app_app_clips(app_id, options = {}) ⇒ Object
60 61 62 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 60 def app_app_clips(app_id, = {}) get "/v1/apps/#{app_id}/appClips", end |
#app_app_custom_product_pages(app_id, options = {}) ⇒ Object
90 91 92 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 90 def app_app_custom_product_pages(app_id, = {}) get "/v1/apps/#{app_id}/appCustomProductPages", end |
#app_app_infos(app_id, options = {}) ⇒ Object
75 76 77 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 75 def app_app_infos(app_id, = {}) get "/v1/apps/#{app_id}/appInfos", end |
#app_app_price_points(app_id, options = {}) ⇒ Object
65 66 67 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 65 def app_app_price_points(app_id, = {}) get "/v1/apps/#{app_id}/appPricePoints", end |
#app_app_price_schedule(app_id, options = {}) ⇒ Object
115 116 117 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 115 def app_app_price_schedule(app_id, = {}) get "/v1/apps/#{app_id}/appPriceSchedule", end |
#app_app_store_versions(app_id, options = {}) ⇒ Object
70 71 72 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 70 def app_app_store_versions(app_id, = {}) get "/v1/apps/#{app_id}/appStoreVersions", end |
#app_beta_app_localizations(app_id, options = {}) ⇒ Object
45 46 47 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 45 def app_beta_app_localizations(app_id, = {}) get "/v1/apps/#{app_id}/betaAppLocalizations", end |
#app_beta_app_review_detail(app_id, options = {}) ⇒ Object
35 36 37 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 35 def app_beta_app_review_detail(app_id, = {}) get "/v1/apps/#{app_id}/betaAppReviewDetail", end |
#app_beta_groups(app_id, options = {}) ⇒ Object
25 26 27 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 25 def app_beta_groups(app_id, = {}) get "/v1/apps/#{app_id}/betaGroups", end |
#app_beta_license_agreement(app_id, options = {}) ⇒ Object
40 41 42 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 40 def app_beta_license_agreement(app_id, = {}) get "/v1/apps/#{app_id}/betaLicenseAgreement", end |
#app_builds(app_id, options = {}) ⇒ Object
50 51 52 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 50 def app_builds(app_id, = {}) get "/v1/apps/#{app_id}/builds", end |
#app_customer_reviews(app_id, options = {}) ⇒ Object
110 111 112 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 110 def app_customer_reviews(app_id, = {}) get "/v1/apps/#{app_id}/customerReviews", end |
#app_end_user_license_agreement(app_id, options = {}) ⇒ Object
85 86 87 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 85 def app_end_user_license_agreement(app_id, = {}) get "/v1/apps/#{app_id}/endUserLicenseAgreement", end |
#app_in_app_purchases(app_id, options = {}) ⇒ Object
95 96 97 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 95 def app_in_app_purchases(app_id, = {}) get "/v1/apps/#{app_id}/inAppPurchasesV2", end |
#app_pre_order(app_id, options = {}) ⇒ Object
80 81 82 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 80 def app_pre_order(app_id, = {}) get "/v1/apps/#{app_id}/preOrder", end |
#app_prerelease_versions(app_id, options = {}) ⇒ Object
55 56 57 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 55 def app_prerelease_versions(app_id, = {}) get "/v1/apps/#{app_id}/preReleaseVersions", end |
#app_promoted_purchases(app_id, options = {}) ⇒ Object
100 101 102 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 100 def app_promoted_purchases(app_id, = {}) get "/v1/apps/#{app_id}/promotedPurchases", end |
#app_review_submissions(app_id, options = {}) ⇒ Object
105 106 107 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 105 def app_review_submissions(app_id, = {}) get "/v1/apps/#{app_id}/reviewSubmissions", end |
#apps(options = {}) ⇒ Object
7 8 9 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 7 def apps( = {}) get '/v1/apps', end |
#remove_app_beta_testers(app_id, beta_tester_ids) ⇒ Object
30 31 32 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 30 def remove_app_beta_testers(app_id, beta_tester_ids) delete "/v1/apps/#{app_id}/relationships/betaTesters", data: Utils::RelationshipMapper.resource_keys(beta_tester_ids, 'betaTesters') end |
#update_app(app_id, attributes = {}, app_price_ids = []) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/app_store_connect_api/domain/apps.rb', line 17 def update_app(app_id, attributes = {}, app_price_ids = []) patch "/v1/apps/#{app_id}", data: { attributes: attributes, id: app_id, type: 'apps' }, included: Utils::RelationshipMapper.resource_keys(app_price_ids, 'appPrices') end |