In our project we have a mobile app which is connected to a Web API, now our requirement is that the Web API should call SharePoint to update a managed meta data column of an document library item. I initially thought of doing this via SharePoint REST endpoints but it seems it is not possible or difficult, I am thinking of using CSOM to update the managed metadata column for the library item. I am using SharePoint Online.
So the following are my questions
How to get the SharePoint context in Web API and then do the managed meta column update, I saw few links like link1 link2 Is this the right approach for authenticating and getting the SharePoint context in Web API
Even if I get the context, is managed meta column data update doable?
Is there any other way we can achieve my purpose.
Thanks for reading such a long question. Your thoughts are appreciated.