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

ContentStaging documentation is misleading in providerUri

    XMLWordPrintable

Details

    Description

      The ez content staging documentation page is confusing in the examples it gives on server_feedname/providerUri

      In that page, it's given as example:

      providerUri=http://my.server.com/rest/api/contentstaging/v1
      

      eZ Publish rewrite rules has the following lines:

      RewriteRule ^api/ index_rest.php [L]
      RewriteRule ^index_rest\.php - [L]
      

      The correct example should be:

      providerUri=http://my.server.com/api/contentstaging/v1
      

      I think the rest part in the url was inserted just to inform the customer that he should use rest api but it's misleading. My suggestion would be, or to use the raw api prefix:

      providerUri=http://my.server.com/api/contentstaging/v1
      

      Or to use something like this:

      providerUri=http://my.server.com/your_rest_api/contentstaging/v1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 1 hour
                1h