Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add orgs to path #48

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def self.create_release_upload(api_token, owner_name, app_name)
connection = self.connection

response = connection.post do |req|
req.url("/v0.1/apps/#{owner_name}/#{app_name}/release_uploads")
req.url("/v0.1/apps/orgs/#{owner_name}/#{app_name}/release_uploads")
req.headers['X-API-Token'] = api_token
req.headers['internal-request-source'] = "fastlane"
req.body = {}
Expand Down Expand Up @@ -72,7 +72,7 @@ def self.create_dsym_upload(api_token, owner_name, app_name)
connection = self.connection

response = connection.post do |req|
req.url("/v0.1/apps/#{owner_name}/#{app_name}/symbol_uploads")
req.url("/v0.1/apps/orgs/#{owner_name}/#{app_name}/symbol_uploads")
req.headers['X-API-Token'] = api_token
req.headers['internal-request-source'] = "fastlane"
req.body = {
Expand Down Expand Up @@ -101,7 +101,7 @@ def self.update_dsym_upload(api_token, owner_name, app_name, symbol_upload_id, s
connection = self.connection

response = connection.patch do |req|
req.url("/v0.1/apps/#{owner_name}/#{app_name}/symbol_uploads/#{symbol_upload_id}")
req.url("/v0.1/apps/orgs/#{owner_name}/#{app_name}/symbol_uploads/#{symbol_upload_id}")
req.headers['X-API-Token'] = api_token
req.headers['internal-request-source'] = "fastlane"
req.body = {
Expand Down Expand Up @@ -177,7 +177,7 @@ def self.update_release_upload(api_token, owner_name, app_name, upload_id, statu
connection = self.connection

response = connection.patch do |req|
req.url("/v0.1/apps/#{owner_name}/#{app_name}/release_uploads/#{upload_id}")
req.url("/v0.1/apps/orgs/#{owner_name}/#{app_name}/release_uploads/#{upload_id}")
req.headers['X-API-Token'] = api_token
req.headers['internal-request-source'] = "fastlane"
req.body = {
Expand Down Expand Up @@ -401,7 +401,7 @@ def self.get_app(api_token, owner_name, app_name)
connection = self.connection

response = connection.get do |req|
req.url("/v0.1/apps/#{owner_name}/#{app_name}")
req.url("/v0.1/apps/orgs/#{owner_name}/#{app_name}")
req.headers['X-API-Token'] = api_token
req.headers['internal-request-source'] = "fastlane"
end
Expand Down