{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/11187","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/11187/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/11187/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/11187/events","html_url":"https://github.com/fastlane/fastlane/issues/11187","id":281420939,"number":11187,"title":"Allow posting developer responses","user":{"login":"jayrhynas","id":1088234,"avatar_url":"https://avatars1.githubusercontent.com/u/1088234?v=4","gravatar_id":"","url":"https://api.github.com/users/jayrhynas","html_url":"https://github.com/jayrhynas","followers_url":"https://api.github.com/users/jayrhynas/followers","following_url":"https://api.github.com/users/jayrhynas/following{/other_user}","gists_url":"https://api.github.com/users/jayrhynas/gists{/gist_id}","starred_url":"https://api.github.com/users/jayrhynas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayrhynas/subscriptions","organizations_url":"https://api.github.com/users/jayrhynas/orgs","repos_url":"https://api.github.com/users/jayrhynas/repos","events_url":"https://api.github.com/users/jayrhynas/events{/privacy}","received_events_url":"https://api.github.com/users/jayrhynas/received_events","type":"User","site_admin":false},"labels":[{"id":389827016,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false},{"id":337779840,"url":"https://api.github.com/repos/fastlane/fastlane/labels/tool:%20spaceship","name":"tool: spaceship","color":"ededed","default":false},{"id":179066153,"url":"https://api.github.com/repos/fastlane/fastlane/labels/type:%20feature","name":"type: feature","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-12T15:16:27Z","updated_at":"2018-02-02T19:40:54Z","closed_at":"2018-02-02T19:40:54Z","author_association":"NONE","body":"<!-- Thanks for helping _fastlane_! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], [✔], do: [x]) -->\r\n\r\n### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Issue Description\r\n\r\nI propose adding new methods to Spaceship to allow posting developer responses to app reviews.\r\n\r\nI have tried searching for existing issues regarding this feature, and I haven't found anything, although it is hard to effectively search for the terms \"developer, response, review\" without many false positives. I apologize if this issue has already been discussed.\r\n\r\nI looked into the request when posting responses and they seem to take this format:\r\n\r\n#### Creating a response:\r\nRequest:\r\n\r\n    POST ra/apps/#{app_id}/platforms/#{platform}/reviews/#{review_id}/responses\r\n    {\r\n      \"responseText\": \"#{response_text}\",\r\n      \"reviewId\": \"#{review_id}\"\r\n    }\r\n\r\nResponse (success):\r\n\r\n    201 Created\r\n    {\r\n      \"data\": null,\r\n      \"messages\": {\r\n        \"warn\": null,\r\n        \"info\": [\"Successfully created new response\"],\r\n        \"error\": null\r\n      },\r\n      \"statusCode\": \"SUCCESS\"\r\n    }\r\n\r\n\r\n#### Editing a response:\r\nRequest:\r\n\r\n    PUT ra/apps/#{app_id}/platforms/#{platform}/reviews/#{review_id}/responses/#{response_id}\r\n    {\r\n      \"responseText\": \"#{response_text}\"\r\n    }\r\n\r\nResponse (success):\r\n\r\n    200 OK\r\n    {\r\n      \"data\": {\r\n        \"responseText\": \"<response text>\",\r\n        \"reviewId\": 0\r\n      },\r\n      \"messages\": {\r\n        \"warn\": null,\r\n        \"info\": [\"Successfully updated\"],\r\n        \"error\": null\r\n      },\r\n      \"statusCode\": \"SUCCESS\"\r\n    }\r\n\r\n> *Note: the* ```responseId``` *will change after updating, and therefore should be re-fetched via the review*\r\n\r\nI can try to take a stab at creating a PR for this myself, although I'm not sure exactly where to get started with adding a new method to Spaceship.\r\n\r\n### Environment\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.12.6                                     |\r\n| Ruby                        | 2.4.2                                       |\r\n| Bundler?                    | false                                       |\r\n| Git                         | git version 2.15.1                          |\r\n| Installation Source         | /usr/local/bin/fastlane                     |\r\n| Host                        | Mac OS X 10.12.6 (16G1114)                  |\r\n| Ruby Lib Dir                | /usr/local/Cellar/ruby/2.4.2_1/lib          |\r\n| OpenSSL Version             | OpenSSL 1.0.2l  25 May 2017                 |\r\n| Is contained                | false                                       |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 9.2                                         |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_CA.UTF-8 | ✅ |\r\n| LC_ALL   |             |   |\r\n| LANGUAGE |             |   |\r\n\r\n\r\n### fastlane files:\r\n\r\n**No Fastfile found**\r\n\r\n\r\n**No Appfile found**\r\n\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status |\r\n| -------- | ------- | ------------- |\r\n| fastlane | 2.68.2  | ✅ Up-To-Date  |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| did_you_mean              | 1.1.0        |\r\n| slack-notifier            | 1.5.1        |\r\n| CFPropertyList            | 2.3.5        |\r\n| claide                    | 1.0.2        |\r\n| colored2                  | 3.1.2        |\r\n| nanaimo                   | 0.2.3        |\r\n| xcodeproj                 | 1.5.2        |\r\n| rouge                     | 2.0.7        |\r\n| xcpretty                  | 0.2.8        |\r\n| terminal-notifier         | 1.8.0        |\r\n| unicode-display_width     | 1.3.0        |\r\n| terminal-table            | 1.8.0        |\r\n| plist                     | 3.3.0        |\r\n| public_suffix             | 2.0.5        |\r\n| addressable               | 2.5.1        |\r\n| multipart-post            | 2.0.0        |\r\n| word_wrap                 | 1.0.0        |\r\n| tty-screen                | 0.6.2        |\r\n| babosa                    | 1.0.2        |\r\n| colored                   | 1.2          |\r\n| highline                  | 1.7.8        |\r\n| commander-fastlane        | 4.4.5        |\r\n| excon                     | 0.57.0       |\r\n| faraday                   | 0.12.1       |\r\n| unf_ext                   | 0.0.7.4      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20170404 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| fastimage                 | 2.1.0        |\r\n| gh_inspector              | 1.0.3        |\r\n| json                      | 2.0.4        |\r\n| mini_magick               | 4.5.1        |\r\n| multi_json                | 1.12.1       |\r\n| multi_xml                 | 0.6.0        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| dotenv                    | 2.2.1        |\r\n| bundler                   | 1.15.1       |\r\n| faraday_middleware        | 0.11.0.1     |\r\n| uber                      | 0.1.0        |\r\n| declarative               | 0.0.9        |\r\n| declarative-option        | 0.1.0        |\r\n| representable             | 3.0.4        |\r\n| retriable                 | 3.0.2        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.2.2        |\r\n| jwt                       | 1.5.6        |\r\n| memoist                   | 0.16.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.3        |\r\n| google-api-client         | 0.13.6       |\r\n| io-console                | 0.4.6        |\r\n| openssl                   | 2.0.5        |\r\n</details>\r\n\r\n\r\n*generated on:* **2017-12-12**\r\n</details>"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/362685817","html_url":"https://github.com/fastlane/fastlane/issues/11187#issuecomment-362685817","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/11187","id":362685817,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars2.githubusercontent.com/u/869950?v=4","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T19:40:54Z","updated_at":"2018-02-02T19:40:54Z","author_association":"OWNER","body":"Hey peeps, actually we will not allow this feature as part of _fastlane_, as it will be abused by developers for things Apple didn't want the developer responses to use for.\r\n\r\nWe had an open PR we didn't merge also https://github.com/fastlane/fastlane/pull/9036\r\n\r\nDevelopers would use it to automatically \"spam\" responses with generic responses, and I'm sure Apple wouldn't be happy about it. With _fastlane_ we're trying to help with your app deployment and app management, everything in the best interests of Apple I'd say. \r\n\r\nFor now, I'm gonna close this PR, thanks for the idea, and discussion here 👍 "}}
{"actor":{"display_login":"KrauseFx"}}