Skip to content

case sensitivity of jsonb keys and values #50

@kcranston

Description

@kcranston

From @bomeara on gitter:
"It now appears that looking up ot:focalCladeOTTTaxonName is now case sensitive. This gives studies:
curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"Mammalia","verbose":true}'
but this does not:
curl -X POST https://api.opentreeoflife.org/v3/studies/find_studies -H "content-type:application/json" -d '{"property":"ot:focalCladeOTTTaxonName","value":"mammalia","verbose":true}'
It came up b/c the R rotl package documentation has lower case examples that used to work but don't any longer -- it's easy enough to fix this in the documentation, but I just wanted to make sure this is intended behavior"

Originally opened in OpenTreeOfLife/otcetera#96 but really belongs here.

I think I understand why the case sensitivity, but I am confused about this being a change in behaviour (why did it ever work with lower case?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions