How to sign a commit through the contents endpoint of the API?

The commits endpoint of the REST API allows to pass a GPG signature for signing the commit. However, I couldn’t find how to do so for the contents endpoint which creates a commit through creating/uploading/deleting a file. Is this possible or should I submit it as a feature request?

2 Likes