{"action":"created","issue":{"url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/53","repository_url":"https://api.github.com/repos/LartTyler/MHWDB-API","labels_url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/53/comments","events_url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/53/events","html_url":"https://github.com/LartTyler/MHWDB-API/issues/53","id":321426040,"number":53,"title":"(Question) How to query for all weapon \"final forms\"?","user":{"login":"stocky37","id":2060486,"avatar_url":"https://avatars2.githubusercontent.com/u/2060486?v=4","gravatar_id":"","url":"https://api.github.com/users/stocky37","html_url":"https://github.com/stocky37","followers_url":"https://api.github.com/users/stocky37/followers","following_url":"https://api.github.com/users/stocky37/following{/other_user}","gists_url":"https://api.github.com/users/stocky37/gists{/gist_id}","starred_url":"https://api.github.com/users/stocky37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stocky37/subscriptions","organizations_url":"https://api.github.com/users/stocky37/orgs","repos_url":"https://api.github.com/users/stocky37/repos","events_url":"https://api.github.com/users/stocky37/events{/privacy}","received_events_url":"https://api.github.com/users/stocky37/received_events","type":"User","site_admin":false},"labels":[{"id":843234455,"url":"https://api.github.com/repos/LartTyler/MHWDB-API/labels/bug","name":"bug","color":"c0f9a9","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T04:24:21Z","updated_at":"2018-05-09T05:36:31Z","closed_at":null,"author_association":"NONE","body":"I was thinking of checking for anything with an empty \"crafting.branches\" array. Would that make sense?\r\n\r\nIn any case, I can't get any queries on the crafting field to work, I keep getting the following error:\r\n\r\n```\r\n{\"error\":{\"code\":\"search.error\",\"message\":\"An error occurred while running your search: Unknown field: crafting\"}}\r\n```\r\n\r\nwith a simple query, like so:\r\n```\r\nhttps://mhw-db.com/weapons?q={\"crafting\": {\"$exists\": true}}\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/comments/387625416","html_url":"https://github.com/LartTyler/MHWDB-API/issues/53#issuecomment-387625416","issue_url":"https://api.github.com/repos/LartTyler/MHWDB-API/issues/53","id":387625416,"user":{"login":"LartTyler","id":770791,"avatar_url":"https://avatars1.githubusercontent.com/u/770791?v=4","gravatar_id":"","url":"https://api.github.com/users/LartTyler","html_url":"https://github.com/LartTyler","followers_url":"https://api.github.com/users/LartTyler/followers","following_url":"https://api.github.com/users/LartTyler/following{/other_user}","gists_url":"https://api.github.com/users/LartTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/LartTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LartTyler/subscriptions","organizations_url":"https://api.github.com/users/LartTyler/orgs","repos_url":"https://api.github.com/users/LartTyler/repos","events_url":"https://api.github.com/users/LartTyler/events{/privacy}","received_events_url":"https://api.github.com/users/LartTyler/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T05:36:31Z","updated_at":"2018-05-09T05:36:31Z","author_association":"OWNER","body":"The API should properly convert object checks (like what you're doing) to the right path, but it's possible something got messed up in a previous update that I missed. For the time being, you can do something like this:\r\n\r\n```\r\nhttps://mhw-db.com/weapons?q={\"crafting.id\":{\"$exists\":true}}\r\n```\r\n\r\nIn the morning, I'll take a look at it and get that fixed so you won't need to worry about a workaround."}}
{"actor":{"display_login":"LartTyler"}}