Contrib API Documentation

Get Related Challenges Domains

Use this function to get related challenge domains

Method

GET

URL

https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getrelatedchallenges

Making a Request

Available request parameters are:
  • domain id — domain id of the domain (should be in contrib/vnoc system).
  • count — number/limit of related challenges to be fetched
  • categoryid — category id of featured challenge.This is returned from getfeaturedchallenge call.
  • key — domain API key.

  • Sample Request

    https://e7lq80c199.execute-api.us-west-2.amazonaws.com/api1?request=getrelatedchallenges&key={xxxxxxxxx}&domainid={domain_id}&count={count}&categoryid={category_id}

API Responses

sample json data:
{
"success": true,
"data": [
{
"DomainName": "pitchcompetition.com",
"DomainId": "591",
"Logo": "http://cdn.vnoc.com/logos/logo-pitch.png"
},{
"DomainName": "devchallenge.com",
"DomainId": "617",
"Logo": "http://cdn.vnoc.com/logos/logo-dev.png"
},{
"DomainName": "socialchallenge.com",
"DomainId": "1106",
"Logo": "http://cdn.vnoc.com/logos/logo-social.png"
}]
}


API Errors

[
 {
"success":false
 }
]