Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #27174 REST endpoint /tracker_fields/:id/files should return a 200 on success
    Infos
    #27174
    Thomas Gerbet (tgerbet)
    2022-06-27 11:43
    2022-06-14 10:56
    28701
    Details
    REST endpoint /tracker_fields/:id/files should return a 200 on success

    The endpoint currently returns a 201 on success, it should be a 200 as documented in the API Explorer. The 201 does not match the specification in the way it is currently used. https://httpwg.org/specs/rfc7231.html#status.201

    Reported by @gbonnefille https://chat.tuleap.org/channel/developers?msg=yRN4kW7FNBbJQiWMS

    Trackers
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-06-27
    Attachments
    Empty
    References
    Referenced by request #27174

    Follow-ups

    User avatar

    I don't know if the code should be 200 or 201. Perhaps 201 is correct as there is effectively a resource created to serve as an endpoint to push data with TUS. My concern is mostly to document the same value as the one returned.