•  
      request #36804 PUT on artifacts/{id} returns 200 but no content
    Infos
    #36804
    Guilhem Bonnefille (CS) (gbonnefille)
    2024-02-06 16:51
    2024-02-06 16:51
    38388
    Details
    PUT on artifacts/{id} returns 200 but no content

    When updating an artifact via the REST API /api/artifacts/{id} with PUT, the result is a status code 200 but no content.

    In order to fullfill some best practices, it would be appreciated one of these two behaviours:

    • return a 204 (no content)
    • return the resulting artifact
    API
    15.3
    EL9 (RockyLinux|AlmaLinux|RHEL)
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty