scitran/core

View on GitHub
swagger/paths/resolver.yaml

Summary

Maintainability
Test Coverage
/resolve:
  post:
    summary: Perform path based lookup of nodes in the Flywheel hierarchy
    description: |
      This will perform a deep lookup of a node (i.e. group/project/session/acquisition) and its children,
      including any files. The query path is an array of strings in the following order (by default):

        * group id
        * project label
        * session label
        * acquisition label

      An ID can be used instead of a label by formatting the string as `<id:project_id>`. The full path
      to the node, and the node's children will be included in the response.
    operationId: resolve_path
    parameters:
      - name: body
        in: body
        required: true
        schema:
          $ref: schemas/input/resolver.json
    responses:
      '200':
        description: ''
        schema:
          $ref: schemas/output/resolver.json