dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25453
Re: Wierd ClassCastException on WebAPI calls
See attached pic. It is towards apps.dhis2.org/dev/api/resources
Clicking refresh in the browser (spooky), brings a different page. Not
quite as expected either, but with no exception:
{"resources":[{"name":"AttributeTypes","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/attributeTypes"},{"name":"Categories","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dimensions"},{"name":"CategoryCombos","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/categoryCombos"},{"name":"CategoryOptionCombos","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/categoryOptionCombos"},{"name":"CategoryOptions","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/categoryOptions"},{"name":"Charts","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/charts"},{"name":"Concepts","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/concepts"},{"name":"Constants","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/constants"},{"name":"Dashboards","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dashboards"},{"name":"DataDictionaries","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dataDictionaries"},{"name":"DataElementGroupSets","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dimensions"},{"name":"DataElementGroups","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dataElementGroups"},{"name":"DataElementOperands","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dataElementOperands"},{"name":"DataElements","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dataElements"},{"name":"DataSets","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dataSets"},{"name":"Dimensions","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/dimensions"},{"name":"Documents","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/documents"},{"name":"IndicatorGroupSets","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/indicatorGroupSets"},{"name":"IndicatorGroups","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/indicatorGroups"},{"name":"IndicatorTypes","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/indicatorTypes"},{"name":"Indicators","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/indicators"},{"name":"Interpretations","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/interpretations"},{"name":"MapLayers","methods":["GET"],"mediaTypes":["text/html","application/json","application/xml","application/javascript"],"href":"http://apps.dhis2.org/dev/api/mapLayers
Attachment:
Capture.PNG
Description: PNG image
References