Module: JPSClient::API::AppleBundleId

Included in:
Client
Defined in:
lib/jpsclient/api/apple_bundle_id.rb

Overview

AppleBundleId 相关 API 处理苹果 Bundle ID 相关接口

Instance Method Summary collapse

Instance Method Details

#get_apple_bundle_id_list(apple_dev_account: nil, page_no:, page_size:) ⇒ Hash

Get Apple Bundle ID List 获取苹果 Bundle ID 列表

Parameters:

  • apple_dev_account (String) (defaults to: nil)

    苹果开发者账号(可选)

  • page_no (Integer)

    当前页数(必填)

  • page_size (Integer)

    每页记录数(必填)

Returns:

  • (Hash)

    API响应,包含 appleBundleIds 数组和 total 总数

Raises:



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/jpsclient/api/apple_bundle_id.rb', line 14

def get_apple_bundle_id_list(apple_dev_account: nil, page_no:, page_size:)
  config = @request_config && @request_config["apple_bundle_id_list"]
  raise JPSClient::ExceptionError, "Missing config for apple_bundle_id_list" unless config && config["url"]

  path = config["url"]

  # 构建请求参数
  params = {
    pageNo: page_no,
    pageSize: page_size
  }
  params[:appleDevAccount] =  if 

  return request_with_auth(:get, path, params: params)
end