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 observationvariables endpoint #42

Open
dlebauer opened this issue May 6, 2020 · 3 comments
Open

Add observationvariables endpoint #42

dlebauer opened this issue May 6, 2020 · 3 comments
Assignees
Labels

Comments

@dlebauer
Copy link
Member

dlebauer commented May 6, 2020

These are the responseswithin observationvariables

note:

BrAPI Term BETYdb term notes
traitName variables.name
ObservationVariable variable+method+units in BrAPI a variable is defined as variable+method+scale
ObservationUnit sites these are individual plots
observationDbId traits these are individual observations
method method yay something matches
scaleName units
traitClass variables.type
@Chris-Schnaufer
Copy link
Contributor

Chris-Schnaufer commented Apr 14, 2021

End point is /studies/{studyDbId}/observationvariables
Note: this is the end point for this issue

@dlebauer
Copy link
Member Author

dlebauer commented May 24, 2021

@Chris-Schnaufer do you mean that this should work? http://terraref.org/brapi/v1/studies/6000000034/observationVariables (b/c it doesn't; also doesn't work locally on the master branch)

I see scales in http://localhost:5000/brapi/v1/variables but these don't seem to propoagate to the observationvariables endpoint

@Chris-Schnaufer
Copy link
Contributor

Chris-Schnaufer commented May 24, 2021

I will check this out

@dlebauer I clarified my previous comment - it was to indicate what the endpoint was, not that it was implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants