Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25610

Publishing a role draft with REST should return HTTP 204

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 1.3.0
    • 16.02
    • Platform > REST API v2
    • None

    Description

      When publishing a role draft with the REST API, no information about the role that got published is returned. We should return the location of the published role, like publishing content does.

      Role draft publishing currently returns HTTP 201 Created, this is wrong (should be used for newly created resources only). Content publishing returns only HTTP 204 No Content, we should do the same for roles.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h