Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

When Verity receives an analysis request, Verity checks if results for the URL are in the Verity database. If results are in the database, Verity retrieves the results and returns them in the JSON response by default.

Note: If using a webhook, include a callBackUrl parameter in the analysis request. Verity returns the stored results to the specified callback URL. 

Verity also checks if the results are in the Error cache. If so, an error message is returned to the client. If results are not in the Verity database or the Error cache, Verity initiates a new analysis request. Optionally, clients can bypass the stored response, as described in Ignore Stored Response.

Note: Response time SLAs for stored results and new requests are under development.

Ignore Stored Response

To retry an error response or reprocess a stored response, append an optional ignoreCache=true flag to the end of a GET request.

For example, submit the following page GET request via curl: 

curl -H 'x-api-key: <YOUR_API_KEY_HERE>’ `https://verity-api.gumgum.com/page/classify?pageUrl=https%3A%2F%2Fapnews.com%2F3273ba66105251902eb3fd68a95297cf&callBackUrl=https%3A%2F%2Fverity-webhook.domain.com%2Fresults&ignoreCache=true`

Verity reprocesses the URL right away and updates any stored response.


  • No labels