Custom appsAPIPOST /count

Vizydrop can display the progress of processing records in case when the special route with count of records implemented. If you know in advance how much data you return, and prefer progress be displayed then implement this endpoint. It will help to show more precise progress during report creation.

Request

Request body contains account, source and filter:

{
    "source": "sql",
    "account": {
    	"username": "test_user",
        "password": "test_$user!",
        /*...*/
    },
    "filter": {
        "query": "select * from db"
    }
}

Response

The endpoint should return count of records as simple string or number.