Hi,

I was using public rest api to update the policy (Request URL: 
service/api/public/policy ). Refering to the wiki documentation for the same, i 
was getting 400 bad request error. Deep digging the api implementation, i found 
that repositoryName, repositoryType, id parameters are also required as request 
parameters.


Please let me know the expected behavior.


I would like to suggest that since this api is used to perform update operation 
by specified id so these parameters should not be required.


If these additional parameters (repositoryName, repositoryType, id ) are 
mandatory for this api, then the documentation need to be updated accordingly.

-------
Thanks & Regards,
Hanish Bansal
Software Engineer, iLabs
Impetus Infotech Pvt. Ltd.

________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to