Retrieve planting projects

GET {{baseUrl}}/planting-projects?limit=10&offset=0&sort=-id

Use this API to retrieve a list of planting projects.

Request Params

KeyDatatypeRequiredDescription
limitnumberThe number of items you want the list to be limited to
offsetnumberThe number of items to offset the start of the list from
sortstringAllow ascending and descending sorting over one or more fields. For example:
<ul>
<li><b>sort=-name</b>: sort on the "name" field in descending order.
<li><b>sort=+name</b>: sort on the "name" field in ascending order.
<li><b>sort=name</b>: sort on the "name" field in ascending order (ascending is default).
<li><b>sort=type,-date</b>: sort on the "type" field in ascending order, followed by the "date" field in descending order.
</ul>

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;count&quot;:10,&quot;limit&quot;:10,&quot;offset&quot;:0,&quot;total&quot;:15,&quot;plantingProjects&quot;:[{&quot;id&quot;:1,&quot;countryName&quot;:&quot;Brazil&quot;,&quot;target&quot;:2000000,&quot;treesPlanted&quot;:1680000,&quot;areaCovered&quot;:94,&quot;carbonSequestered&quot;:50,&quot;name&quot;:&quot;Amazon Rainforest&quot;,&quot;description&quot;:&quot;The Atlantic Forest, also known as Mata Atlantica, once covered 130 million hectares across Brazil. Now, this tropical rainforest ecosystem is home to more than half of the country’s population.&quot;,&quot;images&quot;:[{&quot;url&quot;:&quot;https:image&quot;},{&quot;url&quot;:&quot;https:image&quot;}]},{&quot;id&quot;:1,&quot;countryName&quot;:&quot;Brazil&quot;,&quot;target&quot;:2000000,&quot;treesPlanted&quot;:1680000,&quot;areaCovered&quot;:94,&quot;carbonSequestered&quot;:50,&quot;name&quot;:&quot;Amazon Rainforest&quot;,&quot;description&quot;:&quot;The Atlantic Forest, also known as Mata Atlantica, once covered 130 million hectares across Brazil. Now, this tropical rainforest ecosystem is home to more than half of the country’s population.&quot;,&quot;images&quot;:[{&quot;url&quot;:&quot;https:image&quot;},{&quot;url&quot;:&quot;https:image&quot;}]}]}