{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/500","repository_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/500/comments","events_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/500/events","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/500","id":180471924,"number":500,"title":"Upgrade api document on wiki","user":{"login":"aleene","id":1329905,"avatar_url":"https://avatars.githubusercontent.com/u/1329905?v=3","gravatar_id":"","url":"https://api.github.com/users/aleene","html_url":"https://github.com/aleene","followers_url":"https://api.github.com/users/aleene/followers","following_url":"https://api.github.com/users/aleene/following{/other_user}","gists_url":"https://api.github.com/users/aleene/gists{/gist_id}","starred_url":"https://api.github.com/users/aleene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleene/subscriptions","organizations_url":"https://api.github.com/users/aleene/orgs","repos_url":"https://api.github.com/users/aleene/repos","events_url":"https://api.github.com/users/aleene/events{/privacy}","received_events_url":"https://api.github.com/users/aleene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-01T18:29:08Z","updated_at":"2016-10-01T19:32:46Z","closed_at":null,"body":"I am working on updating a product from my app. Reading the api-document leaves me with some questions:\r\n\r\n* status-codes - posting an edit returns with a json-files with the results. Please add an overview of possible statusses. Then I can handle these errors. (Also nice for read errors)\r\n* login required? - the examples do not make it clear whether a login/password is required. There is an example without the credentials in the url. How would this work in an app?\r\n* field codes - the list with field codes is incomplete;\r\n* https - add the info required for secure posting;"},"comment":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/comments/250932374","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/500#issuecomment-250932374","issue_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/500","id":250932374,"user":{"login":"teolemon","id":1689815,"avatar_url":"https://avatars.githubusercontent.com/u/1689815?v=3","gravatar_id":"","url":"https://api.github.com/users/teolemon","html_url":"https://github.com/teolemon","followers_url":"https://api.github.com/users/teolemon/followers","following_url":"https://api.github.com/users/teolemon/following{/other_user}","gists_url":"https://api.github.com/users/teolemon/gists{/gist_id}","starred_url":"https://api.github.com/users/teolemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teolemon/subscriptions","organizations_url":"https://api.github.com/users/teolemon/orgs","repos_url":"https://api.github.com/users/teolemon/repos","events_url":"https://api.github.com/users/teolemon/events{/privacy}","received_events_url":"https://api.github.com/users/teolemon/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T19:32:46Z","updated_at":"2016-10-01T19:32:46Z","body":"- https: added the url. We cannot do lang-specific queries for now. @stephanegigandet is working on adding the most used locales as ssl. We might instead get away by adding a parameter to filter the domain.\r\n- status codes: added the \"product not found\" for read\r\n- field codes : added a prettyfied json dump. also added this: http://en.wiki.openfoodfacts.org/API/Auto . \r\n- We need to move to Swagger for good documentation : https://github.com/openfoodfacts/openfoodfacts-server/issues/187#issuecomment-250930241\r\n- posting photos doesn't require a login. posting a product does it using the openfoodfacts-contributors account. not sure if a password is required."}}
{"actor":{"display_login":"teolemon"}}