#!/usr/bin/env python
# -*- coding: utf-8 -*-


class URLResources(object):
    PROJECT = "/project/"
    FIELD = "/field/"
    INDEX = "/index/"
    QUERY_COUNT_ENTITY = "/query/count/entity/"
    QUERY_COUNT_ENTITY_TOTAL = "/query/count/entity/total/"
    QUERY_COUNT_EVENT = "/query/count/event/"
    QUERY_AGGREGATION = "/query/aggregation/"
    QUERY_TOP_VALUES = "/query/top_values/"
    QUERY_EXISTS_ENTITY = "/query/exists/entity/"
    QUERY_SAVED = "/query/saved/"
    QUERY_DATA_EXTRACTION_RESULT = "/query/data_extraction/result/"
    QUERY_DATA_EXTRACTION_SCORE = "/query/data_extraction/score/"

#!/usr/bin/env python
# -*- coding: utf-8 -*-


class URLResources(object):
    PROJECT = "/project/"
    FIELD = "/field/"
    INDEX = "/index/"
    QUERY_COUNT_ENTITY = "/query/count/entity/"
    QUERY_COUNT_ENTITY_TOTAL = "/query/count/entity/total/"
    QUERY_COUNT_EVENT = "/query/count/event/"
    QUERY_AGGREGATION = "/query/aggregation/"
    QUERY_TOP_VALUES = "/query/top_values/"
    QUERY_EXISTS_ENTITY = "/query/exists/entity/"
    QUERY_SAVED = "/query/saved/"
    QUERY_DATA_EXTRACTION_RESULT = "/data_extraction/result/"
    QUERY_DATA_EXTRACTION_SCORE = "/data_extraction/score/"

Correct endpoint for result and score