You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"name": "Access to clean fuels and technologies for cooking"
}
If the optional property VariableID is given then use the value of the VariableID as the variable identifier within the dataset. Otherwise, automatically generate a variable identifier.
The method PUT /datasets/id/variables/id2 updates an existing variable given JSON description.
The method GET /datasets/id/variables/id2 return the variable JSON description.
The text was updated successfully, but these errors were encountered:
kyao
changed the title
Metadata: Create a new variable
Metadata: create/update/get a variable
Jun 1, 2020
kyao
changed the title
Metadata: create/update/get a variable
Metadata: create/update/get a variable description
Jun 1, 2020
The metadata API is defined here: https://datamart-upload.readthedocs.io/en/latest/api/
Implement that POST /datasets/id/variables method.
The minimal JOSN content is the name of the variable:
If the optional property VariableID is given then use the value of the VariableID as the variable identifier within the dataset. Otherwise, automatically generate a variable identifier.
The method PUT /datasets/id/variables/id2 updates an existing variable given JSON description.
The method GET /datasets/id/variables/id2 return the variable JSON description.
The text was updated successfully, but these errors were encountered: