agentlab / rdf-scheme-editor

rdf-scheme-editor
4 stars 4 forks source link

Реализовать форму создания пользователей и связь с сервером UnifiedViews #162

Open amivanoff opened 5 years ago

amivanoff commented 5 years ago

REST API https://help.poolparty.biz/display/UDDOC/UnifiedViews+REST+API#UnifiedViewsRESTAPI-7.1CreateUser

Веб-интерфейс http://82.202.226.30:8080/unifiedviews admin / test

от REST API другой логин/пароль, не тот, что от GUI image

amivanoff commented 5 years ago

curl -v http://master:commander@82.202.226.30:8080/master/api/1/pipelines?userExternalId=admin

sobolevma commented 5 years ago

curl -v -H "Content-Type: application/json" -X POST -d '{"Subject.UPVSIdentityID":"someuser","Subject.FormattedName":"someuser","Actor.SIdentityID":"somepass","Actor.FormattedNamep":"somepass","SPR.Roles":"some-role"}' http://master:commander@82.202.226.30:8080/master/api/1/users/create

amivanoff commented 5 years ago

рабочий вариант curl -v -H "Content-Type: application/json" -X POST -d '{"Subject.UPVSIdentityID":"someuser2","Subject.FormattedName":"someuser2","Actor.UPVSIdentityID":"somepass2","Actor.FormattedName":"somepass2","SPR.Roles":"some-role"}' http://master:commander@82.202.226.30:8080/master/api/1/users/create