google-email-migration

Does Google Apps Email Migration API support 2 legged oAuth?

为君一笑 提交于 2020-01-23 17:39:46
问题 I am trying to develop winform application using Google Apps Email migration API. I also want to use 2 legged oAuth. I have successfully used 2 legged oAuth with contacts data API. To do this i have set the API scope "http(s)://www.google.com/m8/feeds/" on "Manage client API access" page. (http://www.google.com/support/a/bin/answer.py?hl=en&answer=162106) For Email Migration Api I set the scope as "https://apps-apis.google.com/a/feeds/migration". But I am getting "401: UnAuthorized access"

Email Migration API v2: Google Apps Script

落爺英雄遲暮 提交于 2020-01-07 07:27:14
问题 I am trying to write a GAS to migrate some emails which are stored in Google Drive but I am really struggling to get the POST correct to do this and was hoping someone could help me out and steer me in the right direction. What I have so far is .. var id = "12345678abcdefgh"; var doc = DocumentApp.openById(id); var emlData = doc.getText(); var api_scope = 'https://www.googleapis.com/auth/email.migration'; var app_name = "migration"; var userKey = "someone@mygappsdomain.com"; var method =

Google.Apis.Email_Migration_v2

耗尽温柔 提交于 2019-12-20 06:32:05
问题 I am attempting to retrieve the HttpStatusCode from every UploadAsync method call. I need the status code as to properly perform an exponential back-off algorithm to retry a failed upload, display an error message to the user when not retrying the upload and to report success of the upload. I do not care how it is received, so long as it is clean and not being parsed from the Exception.Message (string) property like Tor Jonsson suggested in the link provided below. To force the "Bad Request

Discovery Document for Google Email Migration API v2?

扶醉桌前 提交于 2019-12-13 07:08:19
问题 Today Google announced a new version of the Email Migration API. The API appears to follow Google's normal REST format but I've been unable to determine the service name and version information for the API in order to use it with the google-api-python-client. Is there a discovery document for the new API and if so what is the service name and version? 回答1: The discovery document was slightly delayed from the actual release, but it's now available through the discovery service or directly here

Google Groups Migration C# API Not Working

大城市里の小女人 提交于 2019-12-12 00:22:58
问题 I'm trying to use the C# Google Groups Migration API and not having much luck. I have the following code: public static void Main(string[] args) { var body = @"Received: by 10.143.160.15 with HTTP; Mon, 16 Jul 2007 10:12:26 -0700 (PDT) Message-ID: NNNN@mail.samplegroup.com Date: Mon, 16 Jul 2007 10:12:26 -0700 From: ""xxx"" To: ""xxx"" Subject: SUBJECT MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline