Get your own customer support community
 

API inconsistency

GET POST and PUT all offer different issue elements

GET: misses: fixfor, affected, resolution, resolvedBy, resolvedOn, closedOn
PUT misses: createdBy
POST misses: resolution, resolvedBy, resolvedOn

I get that the GET operation might already be filtered on `closed == false` but stricly speaking if i do a REST operation on /api/projects/{id}/issues/ the only filter that from a REST perspective was specified is the projectid.

In any case the exposed entity that the REST operations are performed on should not be different depending on the HTTP method used.
 
silly I’m riguriously adding null checks to my mapping classes!
Inappropriate?
1 person has this question

User_default_medium