-
Notifications
You must be signed in to change notification settings - Fork 0
Approval Endpoint
aris alexis edited this page Feb 8, 2016
·
1 revision
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.
- You upload an image from the Storage Endpoint
- You hit the approval endpoint
- 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