Details

    • Technical Testing
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • None
    • Headless Delivery API
    • None

    Description

      Given a content structure with a content-field of dataType "string" and label "content" and name "content" created in the portal
      And Given with Headless Admin Content POST "/v1.0/sites/ {siteId}/structured-contents/draft" a structured content draft "content1" with a priority 1.0 set is created
      And Given with Headless Admin Content POST "/v1.0/sites/{siteId}
      /structured-contents/draft" a structured content draft "content2" with a priority 1.0 set is created
      And Given with Headless Admin Content POST "/v1.0/sites/ {siteId}/structured-contents/draft" a structured content draft "content3" with a priority 2.99 set is created
      And Given with Headless Admin Content POST "/v1.0/sites/{siteId}/\structured-contents/draft" a structured content draft "content4" with a priority 0.99 set is created
      When with Headless Admin Content GET "/v1.0/sites/{siteId}/structured-contents" and filter set to "priority gt 0.99" and sort set to "priority:desc"
      Then I should see in response "content1", "content2" and "content3" sorted by priority in descending order

      Attachments

        Activity

          People

            mateus.alves Mateus Alves
            magdalena.jedraszak Magdalena Jedraszak
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package