Assign group permission to a category via API

See How to reverse engineer the Discourse API