Added API changes for Home page requirements
August 11th, 2022
Spotlight section:

T
o get the list of spotlight sections use the following query
query{
  contentSections{
    id
    redirect_url
    content_image{
      filename
      url
    }
  }
}

Opportunity and project count for SDG:

Have added both the counts in SDG API.
query{
  sdgGoals(active_opportunities: true){
    id
    project_and_opportunities_count
  }
}

active_opportunities filter is required to return only SDGs which has active opportunities.
project_and_opportunities_count object will return JSON object which will have opportunities_count and projects_count
X
Crafted by