How can I add a file version via the API?

For a file in a Files column, I can create versions using the work management app but there is no API endpoint for versioning a file. Is this an undocumented feature OR is this just not available programmatically via the API?