Get all projects
Changed onRetrieve a paginated collection of all projects recorded in VegBank.
Request
- Base URLhttps://api.vegbank.org
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Search term used for full-text record retrieval
Sort order for results. Prefix with - for descending order or + for ascending order. Ascending order is the default if no prefix is provided.
Available sort fields:
- default - Default sort order
- project_name - Sort by project name
- obs_count - Sort by observation count
Examples:
- sort=project_name - Sort by project name ascending
- sort=-obs_count - Sort by observation count descending
- sort=+project_name - Sort by project name ascending (explicit)
Maximum number of records to return
Number of records to skip before starting to return records
If true, return data payload in binary Parquet format
Response
Matching project(s)
Example response
{
"pj_code": "pj.1",
"project_name": "Pawnee Grassland Classification",
"project_description": "Classification of the Pawnee National Grassland",
"start_date": "2006-05-30",
"stop_date": "2006-05-30",
"obs_count": 17,
"last_plot_added_date": "2006-05-30"
}Changes
- breaking
for the
queryrequest parameterlimit, default value1000was added - breaking
for the
queryrequest parameteroffset, default value0was added - breaking
the response's body type changed from
objectto no type for status - warning
for the
queryrequest parameterlimit, the min was set to0.00 - warning
for the
queryrequest parameteroffset, the min was set to0.00 - warning
deleted the
queryrequest parameteraccession_code - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
get-pjwas added - info
api tag
Projectsadded - info
added the new optional
queryrequest parametercreate_parquet - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parametersort - info
added to the response body
allOflist for the response status - info
added the media type
application/vnd.apache.parquetfor the response with the status - info
added the non-success response with the status
- breaking
- info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameteroffset
- info