I am trying to create an ADF component which allows users to add new aspects to a document, similar to the Manage Aspects button in Share. However, I do not find a corresponding method in the Angular class AlfrescoApi, so I guess I will have to write my own service which first fetches all available aspects for a file via REST API and later adds the chosen aspects to that file.
What is the recommended REST API endpoint for these operations?