The functionality offered by this API can also be accessed from the command line, documented in this man page.
Find the code at github

The API is also available at Swaggerhub