AnsweredAssumed Answered

Passing Credential to Share REST API

Question asked by ddelapasse on Jul 13, 2015
Latest reply on Jul 13, 2015 by ddelapasse
From my web app I would like to request the Share metadata edit form and grab the fields/controlTypes to pass over to my Web UI.  I realize there are CMIS/Alfresco apis to get the metadata, but we define aspects that reuse properties of existing content model attributes and only share (share-custom-config.xml) has the knowledge for the exact view/edit configurations.

So…I found that I can call the api if I am logged in, but no combination of ticket=, alf_ticket=, u= pw= …is allowing me to hit the url programmatically. Is there any way to do this?

I just want to pass it my app's credentials so the user doesn't have to manually login to ALfresco!
This is the specific URL I want to hit:

http://localhost:8080/share/service/components/form?itemKind=node&itemId={nodeRefId}&mode=edit&submitType=json&showCancelButton=true&htmlid={nodeRefId}

Outcomes