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

List Children / List Parents - optionally filter by isPrimary

    Details

      Description

      See related JIRAs.

      1. Listing children (of a parent node, ie. folder)

      GET /nodes/{parentId}/children?where=(isPrimary=true)
      GET /nodes/{parentId}/children?where=(isPrimary=false)

      If no filter supplied then the result of list children is as now (ie primary & secondary, if any - but not duplicates for same child node id).

      Note: although /children lists secondary children, it is not the same as /secondary-children itself (RA-920). The current main differences include:

      • /children provides more options for filtering and ordering (see RA-634) compared to /secondary-children
      • /children will not currently return duplicate child node ids (even if there is more than secondary child association between same parent & child, with different assoc types) !!

      2. Listing parents (of a child node)

      GET /nodes/{childId}/parents?where=(isPrimary=true)
      GET /nodes/{childId}/parents?where=(isPrimary=false)

      If no filter supplied then the result of list parent(s) is as now (ie primary & secondary, if any).

      For live API spec, please see:

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jvonka Jan Vonka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel