lib/deploygate/client/apps.rb
# Add teams to the app,
# @see https://docs.deploygate.com/reference#apps-teams-create
#
# @param org_name [String] Organization name
# @param platform [String] Application platform(ios/android)
# @param app_id [String] Application package name
# @param team [String] Team name
# @return [Deploygate::Client::Response]
Add teams to the app.
Add teams to the app .
def add_app_team(org_name:, platform:, app_id:, team_name:)
        endpoint = "/api/organizations/#{org_name}/platforms/#{platform}"\
          "/apps/#{app_id}/teams"
        res = api.post endpoint do |request|
          request.headers['Content-Type'] = 'application/x-www-form-urlencoded'
          request.body = URI.encode_www_form(
            team: team_name
          )
        end
        Response.new(res)
      end
def add_app_team ( org_name : , platform : , app_id : , team_name : ) endpoint = "/api/organizations/#{org_name}/platforms/#{platform}" "/apps/#{app_id}/teams" res = api . post endpoint do | request | request . headers [ 'Content-Type' ] = 'application/x-www-form-urlencoded' request . body = URI . encode_www_form ( team : team_name ) end Response . new ( res ) end
Add teams to the app,
Add teams to the app
None
Deploygate::Client::Response
org_name
None
platform
None
app_id
Application package name
Application package name
team_name
team
None
see
None