building-envelope-data / api

API specification to exchange data about building envelopes
MIT License
3 stars 1 forks source link

Format of data sets when querying for `allData` #320

Closed christoph-maurer closed 4 months ago

christoph-maurer commented 4 months ago

When I query https://igsdb-v2.herokuapp.com/graphql/ for allOpticalData

{
  allOpticalData {
    edges {
      node {
        name
        componentId
        resourceTree {
          root {
            value {
              locator
            }
          }
        }
      }
    }
  }
}

I successfully receive locators with format=bed-json. When I query for allData

{
  allData {
    edges {
      node {
        name
        componentId
        resourceTree {
          root {
            value {
              locator
            }
          }
        }
      }
    }
  }
}

I receive locators in a IGSDB JSON format. Can the locators please return format=bed-json?

christoph-maurer commented 4 months ago

Solved by https://github.com/LBNL-ETA/igsdb-webapp/issues/135 .