{"action":"opened","issue":{"url":"https://api.github.com/repos/google/google-api-java-client/issues/1013","repository_url":"https://api.github.com/repos/google/google-api-java-client","labels_url":"https://api.github.com/repos/google/google-api-java-client/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-java-client/issues/1013/comments","events_url":"https://api.github.com/repos/google/google-api-java-client/issues/1013/events","html_url":"https://github.com/google/google-api-java-client/issues/1013","id":158552639,"number":1013,"title":"Batch request Content-id","user":{"login":"ashwinpatiljumia","id":17311835,"avatar_url":"https://avatars.githubusercontent.com/u/17311835?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwinpatiljumia","html_url":"https://github.com/ashwinpatiljumia","followers_url":"https://api.github.com/users/ashwinpatiljumia/followers","following_url":"https://api.github.com/users/ashwinpatiljumia/following{/other_user}","gists_url":"https://api.github.com/users/ashwinpatiljumia/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwinpatiljumia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwinpatiljumia/subscriptions","organizations_url":"https://api.github.com/users/ashwinpatiljumia/orgs","repos_url":"https://api.github.com/users/ashwinpatiljumia/repos","events_url":"https://api.github.com/users/ashwinpatiljumia/events{/privacy}","received_events_url":"https://api.github.com/users/ashwinpatiljumia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-05T12:43:27Z","updated_at":"2016-06-05T12:43:27Z","closed_at":null,"body":"Hello,\r\nCan't we assign our own content-id in case of batch request to google api ?\r\nI can see code snippet in BatchRequest.java as - \r\n`int contentId = 1;\r\n      for (RequestInfo<?, ?> requestInfo : requestInfos) {\r\n        batchContent.addPart(new MultipartContent.Part(\r\n            new HttpHeaders().setAcceptEncoding(null).set(\"Content-ID\", contentId++),\r\n            new HttpRequestContent(requestInfo.request)));\r\n      }\r\n      batchRequest.setContent(batchContent);`\r\n\r\nIn this case, content ids of nested http-requests will always be integer. What if we want our own content ids?"}}
{"actor":{"display_login":"ashwinpatiljumia"}}