Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] ProjectService GET vs PUT properties

Hi,

I am noticing an inconsistency between the request/response JSON fields of the project service APIs.

The list of mix-in types is returned by the metadata service GET /project/{ws}/{path} in a property named "mixins". However, the list of mix-in types that is received by the update service PUT /project/{ws}/{path} is expected to be in a property named "mixinTypes". The response of the project update service is again the same as the metadata service. This leads to some confusion and ad-hoc workarounds in some client code we are trying to write.

Shouldn't the JSONs that are send back and forth be as similar as possible?

thank you
Tareq Sharafy
Cloud Development Experience | SAP Labs Israel | 15 Hatidhar st, Raanana 43665, Israel
T +972-(0)7-4732-1647 | F +972-(0)9-777-5618


Back to the top