SFTP over HTTP follows common http api conventions. An OpenAPI specification is published at: https://secure.sftpoverhttp.com/swagger.json
Endpoint paths use the following pattern:
Successful responses return with a 200 status code. The response body will be structured like:
If an error occurs while executing an SFTP command, the response will still include a 200 status code, but will also include an error key in the response body with details about the problem.
If an error occurs parsing the request or connecting to the SFTP server a 400 or 500 status code will be appropriately returned.