Skip to content

Approval Endpoint

aris alexis edited this page Feb 8, 2016 · 1 revision

How this works

Currently this is a dummy service returning always a positive approval. It is meant to be easily upgraded to an external service or community volunteers that can utilize the system easily. eg.

  1. You upload an image from the Storage Endpoint
  2. You hit the approval endpoint
  3. The approval service decides and hits the /callback when it is ready so the applicable action is then taken from the system.

GET /approval/file String url, String referenceType (User/Activity) referenceId (if applicable) GET /approval/link String url, String referenceType (User/Activity) referenceId (if applicable) GET /approval/text String text, String referenceType (User/Activity) referenceId (if applicable)

GET /callback String object . this is for the approval service and the object is either a url or an external link or a uid of a text we have

Clone this wiki locally