...
Information about additional Instrument attributes that are related exclusively to an instance can be accessed via the /instruments/attributes
endpoint.
Request excerptexample:
Code Block |
---|
curl -X POST "https://ecoplots-test.tern.org.au/api/v1.0/instruments/attributes?dformat=ndjson" -H "accept: */*" -H "Authorization: apikey-v1 your-api-key" -H "Content-Type: application/json" -d "{\"query\":{\"dataset\":[\"http://linked.data.gov.au/dataset/ausplots\"],\"site_id\":[\"http://linked.data.gov.au/dataset/ausplots/site-nsabbs0001\"]}}" |
Response exampleexcerpt:
Code Block |
---|
{ "attributeId":"http://linked.data.gov.au/dataset/ausplots/tern_basal_area-attr-basal_area_factor-475048", "instrumentId":"http://linked.data.gov.au/dataset/ausplots/tern_basal_area-inst-basal_area-475048", "attributeName":"basal area factor", "attributeConceptId":"http://linked.data.gov.au/def/tern-cv/dd34fc05-012d-4092-9324-a4cbcf29bf0a", "value":0.1, "valueId":"N/A", "valueUnit":"Unitless", "valueUnitId":"http://qudt.org/vocab/unit/UNITLESS" } ... { "attributeId":"http://linked.data.gov.au/dataset/ausplots/tern_basal_area-attr-basal_area_factor-475069", "instrumentId":"http://linked.data.gov.au/dataset/ausplots/tern_basal_area-inst-basal_area-475069", "attributeName":"basal area factor", "attributeConceptId":"http://linked.data.gov.au/def/tern-cv/dd34fc05-012d-4092-9324-a4cbcf29bf0a", "value":1.0, "valueId":"N/A", "valueUnit":"Unitless", "valueUnitId":"http://qudt.org/vocab/unit/UNITLESS" } |
...
Request example:
Code Block |
---|
curl -X POST "httphttps://localhost:5000ecoplots.tern.org.au/api/v1.0/taxon?dformat=ndjson" -H "accept: */*" -H "X-Api-Key: aAbBcC...xXyYzZ" -H "Content-Type: application/json" -d "{\"query\":{\"dataset\":[\"http://linked.data.gov.au/dataset/ausplots\"],\"site_id\":[\"http://linked.data.gov.au/dataset/ausplots/site-nsabbs0001\"]}}" |
Response excerpt:
Code Block |
---|
{ "taxonID":"https://id.biodiversity.org.au/taxon/apni/51612493", "scientificNameID":"https://id.biodiversity.org.au/name/apni/54714", "scientificName":"Boraginaceae Juss.", "scientificNameAuthorship":"Juss.", "acceptedNameID":"https://id.biodiversity.org.au/taxon/apni/51612493", "acceptedName":"Boraginaceae Juss.", "nameAccordingToID":"https://id.biodiversity.org.au/reference/apni/46762", "nameAccordingTo":"CHAH (2008), Australian Plant Census", "namePublishedInID":"None", "namePublishedIn":"None", "namePublishedInYear":"None", "originalNameUsageID":"None", "originalNameUsage":"None", "parentNameUsageID":"None", "parentNameUsage":"None", "conceptID":"https://id.biodiversity.org.au/instance/apni/650956", "nomenclaturalStatus":"nom. cons.", "nomenclaturalCode":"ICN", "taxonomicStatus":"accepted", "higherClassification":"Plantae|Charophyta|Equisetopsida|Magnoliidae|Asteranae|Boraginaceae", "kingdom":"Plantae", "class":"Equisetopsida", "order":"None", "family":"Boraginaceae", "subfamily":"None", "genus":"None", "subgenus":"None", "phylum":"None", "specificEpithet":"None", "cultivarEpithet":"None", "genericName":"None", "infragenericEpithet":"None", "infraspecificEpithet":"None", "taxonRank":"None", "taxonRemarks":"None", "verbatimTaxonRank":"None", "vernacularName":"None" }{ "taxonID":"https://id.biodiversity.org.au/node/apni/2892197", "scientificNameID":"https://id.biodiversity.org.au/name/apni/114499", "scientificName":"Eucalyptus crebra F.Muell.", "scientificNameAuthorship":"F.Muell.", "acceptedNameID":"https://id.biodiversity.org.au/node/apni/2892197", "acceptedName":"Eucalyptus crebra F.Muell.", "nameAccordingToID":"https://id.biodiversity.org.au/reference/apni/42942", "nameAccordingTo":"CHAH (2006), Australian Plant Census", "namePublishedInID":"None", "namePublishedIn":"None", "namePublishedInYear":"None", "originalNameUsageID":"None", "originalNameUsage":"None", "parentNameUsageID":"None", "parentNameUsage":"None", "conceptID":"https://id.biodiversity.org.au/instance/apni/612750", "nomenclaturalStatus":"", "nomenclaturalCode":"ICN", "taxonomicStatus":"accepted", "higherClassification":"Plantae|Charophyta|Equisetopsida|Magnoliidae|Rosanae|Myrtales|Myrtaceae|Eucalyptus|crebra", "kingdom":"Plantae", "class":"Equisetopsida", "order":"None", "family":"Myrtaceae", "subfamily":"None", "genus":"None", "subgenus":"None", "phylum":"None", "specificEpithet":"None", "cultivarEpithet":"None", "genericName":"None", "infragenericEpithet":"None", "infraspecificEpithet":"None", "taxonRank":"None", "taxonRemarks":"None", "verbatimTaxonRank":"None", "vernacularName":"None" } |
...