Get all classes


Get class information for all classes

Endpoint

GET http://api.ahlcg.castorjo.fr/v1/classes

Request Parameters

QUERY PARAMETERVALUE
fieldsOptional. A comma-separated list of fields. Provide this parameter to only get the values of these fields.
sortOptional. A comma-separated list of fields to sort increasingly the response. See parameter desc
descOptional. A comma-separated list of fields to sort decreasingly the response. It must be a sublist of the parameter sort.
rangeOptional. Format : min-max. Provide this parameter to get a range of the response, from the min index to the max index.
formatOptional. Default to json. Provide this parameter to get the response in the asked format.
Possible values : json, xml, csv.
Example 1 : cards?format=xml is the same as cards.xml
Example 2 : cards/101001?format=csv is the same as cards/101001.csv
any_fieldOptional. A comma-separated list of values for the field any_field. The response is filtered to only show the data who have the good value for this field.
If the field value is an object, the ID value is checked.
Example : type=Asset is the same as type(id)=Asset.
Replace all spaces in the values by %20 (en_name=Roland%20Banks)
any_field(any_subfield)Optional. A comma-separated list of values for the subfield any_subfield of the field any_field. The response is filtered to only show the data who have the good value for this field/subfield.