1

ドキュメントを読むと、oauth ユーザーのデフォルトのドキュメント フィード URL はhttps://docs.google.com/feeds/default/private/fullのようです

https://developers.google.com/google-apps/documents-list/#getting_a_list_of_documents_and_files

OAuthRequest request = new OAuthRequest(
  Verb.GET, 
  "https://docs.google.com/feeds/default/private/full");
service.signRequest(accessToken, request);
Response response = request.send();
String bodyString = response.getBody();
JSONObject body = new JSONObject(bodyString);

このフィード URL から無効な Invalid Request URI 応答を取得しています。

4

1 に答える 1

4

You have to add the query parameter ?v=3 or send the HTTP header GData-Version: 3.0 to use the Documents List API v3.

It is also recommended to use the newer Drive API instead as it does everything the Documents List API does and is supported by a new set of client libraries. For more details about the Drive SDK, check https://developers.google.com/drive/

于 2012-08-30T22:30:57.370 に答える