Uploaded image for project: 'Repository'
  1. Repository
  2. REPO-2355

REST API: Site information in source data

    Details

    • Work Funnel:
      Feature
    • Story Points:
      32
    • Template:

      Description

      Story:
      ...

      Acceptance Criteria:

      • ...

      Notes:
      Site information in source data for GET node children

      At the moment it is possible to request additional source information about the node that you are requesting children for (when using GET /nodes/{nodeId}/children)

      However, this source information provides no information as to whether or not the source node resides within a site or not.

      So as a developer I might want to provide a link to a site container and pass this information as an id onto the URL. Within the resulting page I want to show the name/title of the site - unfortunately this information is totally unavailable to me because the source is the container (i.e the "documentLibrary" or "datalists" folder) and not the site itself.

      The only way that I can access this information is to repeatedly make XHR requests to travese up the tree. This is expensive and should be avoided.

      Ideally it would be better if site context information (the name, title, privacy and id) was included in the source when applicable. It will be considerably cheaper to perform the tree traversal on the repository than via repeated XHR requests.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ddraper David Draper [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Structure Helper Panel