Upload files via APIv2

Is it possible to upload documents using the APIv2? Could not find this information in the documentation.