{"action":"opened","issue":{"url":"https://api.github.com/repos/wongterrencew/how-to-remove-history-from-a-repo/issues/85","repository_url":"https://api.github.com/repos/wongterrencew/how-to-remove-history-from-a-repo","labels_url":"https://api.github.com/repos/wongterrencew/how-to-remove-history-from-a-repo/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/wongterrencew/how-to-remove-history-from-a-repo/issues/85/comments","events_url":"https://api.github.com/repos/wongterrencew/how-to-remove-history-from-a-repo/issues/85/events","html_url":"https://github.com/wongterrencew/how-to-remove-history-from-a-repo/issues/85","id":225080898,"number":85,"title":"POST /forms issues to resolve","user":{"login":"wongterrencew","id":5312329,"avatar_url":"https://avatars0.githubusercontent.com/u/5312329?v=3","gravatar_id":"","url":"https://api.github.com/users/wongterrencew","html_url":"https://github.com/wongterrencew","followers_url":"https://api.github.com/users/wongterrencew/followers","following_url":"https://api.github.com/users/wongterrencew/following{/other_user}","gists_url":"https://api.github.com/users/wongterrencew/gists{/gist_id}","starred_url":"https://api.github.com/users/wongterrencew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wongterrencew/subscriptions","organizations_url":"https://api.github.com/users/wongterrencew/orgs","repos_url":"https://api.github.com/users/wongterrencew/repos","events_url":"https://api.github.com/users/wongterrencew/events{/privacy}","received_events_url":"https://api.github.com/users/wongterrencew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-28T13:28:51Z","updated_at":"2017-04-28T13:28:51Z","closed_at":null,"body":"Original author: @hillaryfraley\n@aeony questions also in **bold** font in https://github.com/Typeform/dev-portal-content/blob/master/create/create_reference/create_post_forms.md\r\n\r\n1. This issue is outstanding:\r\n\"eric: we tend to document the payloads before we implement the feature so that other teams can mock our API. Thus there's definitely extra stuff in there (like the languages thingie) [4-11-17 If I try to post a new form using the example request in apidocs.typeform.com, I get 400 Bad Request \"the payload is invalid.\" Seems to be related to language and fields 9 and 15 (\"should not have additional properties.\") If I remove the language, fields 9 and 15, replace the image_id with an image in my account, and replace the theme_id with a default theme, the POST works. We should update the example request so that it works -HF]\"\r\n\r\n2. Do we need an example response? Doesn't the response just repeat everything you included in your request? Should we just say something like \"The response repeats your request so you can confirm that each field in the form is set up exactly the way you want.\"\r\n\r\nThere are other questions marked in the file, but I think they are the same as those in this issue: https://github.com/Typeform/dev-portal-content/issues/52\r\nSo no need to repeat the answers here -- I'll just pull them across all the docs"}}
{"actor":{"display_login":"wongterrencew"}}