research-engine-api (master) doxdox documentation

API for ReSearch site

# authorizeRouter.get(code)

Parameters

Name Types Description
code string - The code from google. This is put as a query string

# authorizeRouter.get(access_token)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers

# bookmarkrouter.get(access_token)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers

# bookmarkrouter.post(access_token, bookmarkname, bookmarkurl, bookmarkdescription)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers
bookmarkname string - The name of the bookmark. This is put in the body
bookmarkurl string - The url of the bookmark. This is put in the body
bookmarkdescription string - The description of the bookmark. This is put in the body

# router.get(q, index)

Parameters

Name Types Description
q string - The query to search for. This is put as a query string
index number - The index to start searching from. This is put as a query string

# registryrouter.get()

# authorizeRouter.get(code)

Parameters

Name Types Description
code string - The code from google. This is put as a query string

# authorizeRouter.get(access_token)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers

# bookmarkrouter.get(access_token)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers

# bookmarkrouter.post(access_token, bookmarkname, bookmarkurl, bookmarkdescription)

Parameters

Name Types Description
access_token string - The access_token from google. This is put in the headers
bookmarkname string - The name of the bookmark. This is put in the body
bookmarkurl string - The url of the bookmark. This is put in the body
bookmarkdescription string - The description of the bookmark. This is put in the body

# router.get(q, index)

Parameters

Name Types Description
q string - The query to search for. This is put as a query string
index number - The index to start searching from. This is put as a query string

# registryrouter.get()