====/api/getconfiguration==== ===Usage=== This function returns details about the ARDI database - specifically, information regarding properties, relationships, and detailed instructions on how to display both. This is part of the [[ardisdk:rest_language_agnostic_api|core API]]. ===Details== ^Detail^Value^ |Group|Server| |From Server Version|0.9.0| |Permission|[[permission_guest|Public]]| |Methods|GET or POST| ==Parameters== ^Parameter^Notes^Meaning^ |**format**|String (xml)|Either 'xml' or 'json'| ===Return Value=== The return value is an XML or JSON file that gives you information about... ^Element^Meaning^ |Profiles|A list of data profiles and their ID numbers.| |Properties|A list of properties, their names and ID numbers, plus any special display options, such as a custom gradient or mapping between value and colour.| |Relationships|A list of relationships, their names, ID numbers, colours and view options.| ===Examples=== ==Request== http:///s//api/getconfiguration ==Success (XML)== ... ... ==Success (JSON - 2026+)== { "relationships": [ { "name":"Location", "id": 2, "upname":"Inside", "downname":"Contains", "passes":"", "colour":"", "type":"heirachial" }, { "name":"Natural Gas", "id":14, "upname":"sent gas from", "downname":"sends gas to", "passes":"53", "colour":"#dee77e", "type":"physical" } ], , "properties": [ { "name": "Equipment Tag", "type": "TAG", "id": 2 }, { "name": "Address", "type": "ADDRESS", "id": 3 }, "profiles": [ { "name": "Actual", "id": 1, "reqport": 8096 } ] See the [[old search json format]] for examples of the output before 2026.