•  
      request #35850 Focus the /api/frs_release/{id}/files to the collection
    Infos
    #35850
    Guilhem Bonnefille (CS) (gbonnefille)
    2024-01-15 11:00
    2024-01-15 11:00
    37452
    Details
    Focus the /api/frs_release/{id}/files to the collection

    The /api/frs_release/{id}/files returns a single struct containing a "files" attribute hosting the collection. Test with https://tuleap.net/api/frs_release/138/files.

    What is the reason of this structure?

    Returning directly the collection, as a JSON array, would simplify the processing of this result. Furthermore, most of the API endpoints returning a collection return directly the collection.

    API
    15.2
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty