Get all types
Get type information for all types
Endpoint
GET http://api.ahlcg.castorjo.fr/v1/typesRequest Parameters
QUERY PARAMETER | VALUE |
---|---|
fields | Optional. A comma-separated list of fields. Provide this parameter to only get the values of these fields. |
sort | Optional. A comma-separated list of fields to sort increasingly the response. See parameter desc |
desc | Optional. A comma-separated list of fields to sort decreasingly the response. It must be a sublist of the parameter sort. |
range | Optional. Format : min-max. Provide this parameter to get a range of the response, from the min index to the max index. |
format | Optional. 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_field | Optional. 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. |