Hi,

There is an inconsistency in the REST API as discussed on Syncope-42.
For example, both read and delete follow the same pattern for userIds
and usernames:

 - /read/{userId}
 - /read?username=X

Francesco suggested the following:

https://issues.apache.org/jira/browse/SYNCOPE-42?focusedCommentId=13245457&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13245457

However, the first approach does not seem to work, as he suspected.
However, if we move to the latter suggestion, this will cause
additional inconsistencies with other methods, such as
"user/reactivate/{userId}".

/read?userId={userId}
/read?username={username}
/delete?userId={userId}
/delete?username={username}

Any suggestions on the best way to proceed?

Colm.

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to