Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4178

Content rest api documents collection resource shows all properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      3
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 171

      Description

      With HSTTWO-3939 the option was added to specify some properties that will show up in the document collection. You can get the output of the title property for example by specifying

      /api/documents?_attributes=myhippoproject:title
      

      If you now omit this parameter, all properties are added to the output. This is not intended for the document collection output. Without the _attributes parameter no extra content properties should be shown. In case of the detail output, it works correctly: without the _attributes parameter all properties should be output.

      It is not breaking backwards compatibility, but it can make the volume of the output much bigger, and thus result in slower performance.

      Without the _attributes parameter available, there should be no extra content properties in the output.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bleunis Bert Leunis (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: