API_HOST = 'https://api.dowjones.com'

API_ACCOUNT_BASEPATH = '/alpha/accounts'

API_SNAPSHOTS_BASEPATH = '/alpha/extractions/documents'
API_EXPLAIN_SUFFIX = '/_explain'
API_ANALYTICS_BASEPATH = '/alpha/analytics'

API_STREAMS_BASEPATH = '/alpha/streams'

API_JOB_EXPECTED_STATES = ['JOB_CREATED', 'JOB_QUEUED', 'JOB_STATE_PENDING', 'JOB_VALIDATING',
                           'JOB_STATE_RUNNING', 'JOB_STATE_DONE', 'JOB_STATE_FAILED',
                           'JOB_STATE_VALIDATING']

API_JOB_ACTIVE_WAIT_SPACING = 10
