-
Notifications
You must be signed in to change notification settings - Fork 4
Tools (Reverse Look up)
sandhyasrini edited this page Jul 18, 2017
·
8 revisions
METHOD | API | Desc |
---|---|---|
GET | /tools/:toolid/ | GET all communities for a given tool |
GET | /tools/ | GET all communities for all tools |
HTTP GET /api/v1/tools/:toolid
toolid[text]
None
"toolid": "sermo",
"toolname": "sermotool",
"communities": [
"doctor.blr"
]
}
Code : 404 NOT FOUND
Content : { error: 'Unexpected error occurred, please try again...!' }
OR
Code : 505 Internal Server error
Content :{error:'Please enter a valid tool name'}
HTTP GET /api/v1/tools/
None
None
{
"toolid": "sermo",
"avatar": "abcde.jpg",
"domains": [
"engineer.blr",
"stackroute.blr"
],
"toolname": "quoratool"
},
{
"toolid": "forum",
"avatar": "abcde.jpg",
"domains": [
"engineer.blr",
"stackroute.blr"
],
"toolname": "forumtool"
},
]
Code : 404 NOT FOUND
Content : { error: 'Unexpected error occurred, please try again...!' }
OR
Code : 505 Internal Server error
Content :{error:'Please enter a valid tool name'}