Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dyes to the graphql api #198

Merged
merged 1 commit into from
Mar 11, 2024
Merged

add dyes to the graphql api #198

merged 1 commit into from
Mar 11, 2024

Conversation

tlambert03
Copy link
Owner

This allows new graphql queries:

dyes list

{
dyes {
    name
    id
  }
}

dyes detail using name or id

{
dye(name:"Alexa Fluor 488") {
    name
    id
    spectra {
      id
      data
    }
  }
}

and filtering spectra based on category or subtype

{
spectra(category:"P" subtype:"EX"){
    id
    subtype
    category
  }
}

cc @ec363

@tlambert03 tlambert03 merged commit 8aea58b into main Mar 11, 2024
2 checks passed
@tlambert03 tlambert03 deleted the dye-api branch March 11, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant