{"action":"created","issue":{"url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/7","repository_url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer","labels_url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/7/comments","events_url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/7/events","html_url":"https://github.com/plantbreeding/brapi-Java-TestServer/issues/7","id":395662928,"node_id":"MDU6SXNzdWUzOTU2NjI5Mjg=","number":7,"title":"Tester Server Locations get_locations__locationDbId_ metadata Incorrect","user":{"login":"peterrosario","id":26546705,"node_id":"MDQ6VXNlcjI2NTQ2NzA1","avatar_url":"https://avatars1.githubusercontent.com/u/26546705?v=4","gravatar_id":"","url":"https://api.github.com/users/peterrosario","html_url":"https://github.com/peterrosario","followers_url":"https://api.github.com/users/peterrosario/followers","following_url":"https://api.github.com/users/peterrosario/following{/other_user}","gists_url":"https://api.github.com/users/peterrosario/gists{/gist_id}","starred_url":"https://api.github.com/users/peterrosario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterrosario/subscriptions","organizations_url":"https://api.github.com/users/peterrosario/orgs","repos_url":"https://api.github.com/users/peterrosario/repos","events_url":"https://api.github.com/users/peterrosario/events{/privacy}","received_events_url":"https://api.github.com/users/peterrosario/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-27T20:42:11Z","updated_at":"2019-01-04T16:09:50Z","closed_at":"2019-01-04T16:09:50Z","author_association":"NONE","body":"To reproduce:\r\n\r\n1. Visit https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI/1.3\r\n\r\n2. Click second GET under Locations.\r\n\r\n3. Click \"Try it out.\"\r\n\r\n4. For locationDbId fill in 1.\r\n\r\n5. Click Execute.\r\n\r\nThe result is correct but the metadata pageSize, totalCount and totalPages are all 0.  I don't know what pageSize is used by default but totalCount and totalPages should probably be 1."},"comment":{"url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/comments/451487888","html_url":"https://github.com/plantbreeding/brapi-Java-TestServer/issues/7#issuecomment-451487888","issue_url":"https://api.github.com/repos/plantbreeding/brapi-Java-TestServer/issues/7","id":451487888,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQ4Nzg4OA==","user":{"login":"BrapiCoordinatorSelby","id":32845555,"node_id":"MDQ6VXNlcjMyODQ1NTU1","avatar_url":"https://avatars1.githubusercontent.com/u/32845555?v=4","gravatar_id":"","url":"https://api.github.com/users/BrapiCoordinatorSelby","html_url":"https://github.com/BrapiCoordinatorSelby","followers_url":"https://api.github.com/users/BrapiCoordinatorSelby/followers","following_url":"https://api.github.com/users/BrapiCoordinatorSelby/following{/other_user}","gists_url":"https://api.github.com/users/BrapiCoordinatorSelby/gists{/gist_id}","starred_url":"https://api.github.com/users/BrapiCoordinatorSelby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrapiCoordinatorSelby/subscriptions","organizations_url":"https://api.github.com/users/BrapiCoordinatorSelby/orgs","repos_url":"https://api.github.com/users/BrapiCoordinatorSelby/repos","events_url":"https://api.github.com/users/BrapiCoordinatorSelby/events{/privacy}","received_events_url":"https://api.github.com/users/BrapiCoordinatorSelby/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T16:09:50Z","updated_at":"2019-01-04T16:09:50Z","author_association":"MEMBER","body":"Current behavior is acceptable based on the current BrAPI documentation. \r\n\r\nFor calls which return a single object by DbId, there is no `data` array present in the response payload, and therefore there is nothing for pagination to be applied to. In this case, the `pagination` key should be ignored.\r\n\r\nSee the section on pagination for more details.\r\nhttps://github.com/plantbreeding/API/blob/master/Specification/GeneralInfo/Response_Structure.md\r\n"}}
{"actor":{"display_login":"BrapiCoordinatorSelby"}}