Assign group permission to a category via API

Hi, I would like to use the API to assign a group permission to the category. Currently the Discourse API Gem does not support it, GitHub - discourse/discourse_api: Ruby API for Discourse, nor did I see any support in the Discourse API documentation.

See How to reverse engineer the Discourse API