I am Developing a plugin that exports Documents to SharePoint Repository after processing them. Along with the document, I need to send values for Custom Metadata columns defined in SharePoint.
I have figured out how to send across Files and Metadata to a specified location.
Problem: Initially, I do not know what custom metadata columns are available in the given folder. Could someone shed light on any REST webservice that can fetch the available Metadata Columns for a given location in the repository.
Note: I am using pure Java for REST Requests using Apache HTTP Client.