This API call returns a more detailed result for the config type.
- API URL
- https://youraccount.beetil.com/external_api/v1/config_types/:id.format
- HTTP Method
- GET
URL parameters
| Parameter | Format | Default | Mandatory |
|---|---|---|---|
| idThe config type's reference number. | integer | Yes | |
| limitMaximum number of results to return. | integer | 10 | No |
| pageDesired page. | integer | 1 | No |
| per_pageAlias for limit. | integer | No |
Example JSON Response
{
"result": {
"config_type": {
"name": "Config Item",
"config_type_link": "/external_api/v1/config_types/1",
"id": 1
},
"config_items": [
{
"watches": [
],
"name": "beetiltest.vader",
"id": 6801,
"reference_num": 6801
},
{
"watches": [
{
"watch": {
"id": 23632,
"watched_by": {
"user_link": "/external_api/v1/users/21",
"avatar": {
"public_filename": "/avatars/get/52/70/527086a582cbf4928ffc1e5dff9b3912a7330e95/image_jpeg/greg_100x100.jpg"
},
"id": 21,
"full_name": "Greg Maddigan",
"last_name": "Maddigan",
"first_name": "Greg"
},
"watch_link": "/external_api/v1/config_items/15312/watches/23632"
}
}
],
"name": "Greig's MacBook Pro",
"id": 15312,
"reference_num": 15312
},
{
"watches": [
{
"watch": {
"id": 13365,
"watched_by": {
"user_link": "/external_api/v1/users/18",
"avatar": {
"public_filename": "/avatars/get/67/ca/67ca168dcb91d0e315bdaf440b6137dc76103ca1/image_png/Picture_1.png"
},
"id": 18,
"full_name": "Dan Lee",
"last_name": "Lee",
"first_name": "Dan"
},
"watch_link": "/external_api/v1/config_items/10189/watches/13365"
}
}
],
"name": "root item",
"id": 10189,
"reference_num": 10189
}
],
"config_types": [
{
"name": "Applications",
"config_type_link": "/external_api/v1/config_types/35",
"id": 35
},
{
"name": "Companies",
"config_type_link": "/external_api/v1/config_types/345",
"id": 345
},
{
"name": "Data Centers",
"config_type_link": "/external_api/v1/config_types/42",
"id": 42
},
{
"name": "Databases",
"config_type_link": "/external_api/v1/config_types/33",
"id": 33
},
{
"name": "Fobs",
"config_type_link": "/external_api/v1/config_types/367",
"id": 367
},
{
"name": "Internet Service Providers",
"config_type_link": "/external_api/v1/config_types/28",
"id": 28
},
{
"name": "Keys",
"config_type_link": "/external_api/v1/config_types/366",
"id": 366
},
{
"name": "Laptops/PCs",
"config_type_link": "/external_api/v1/config_types/50",
"id": 50
},
{
"name": "Locations",
"config_type_link": "/external_api/v1/config_types/313",
"id": 313
},
{
"name": "Network Equipments",
"config_type_link": "/external_api/v1/config_types/29",
"id": 29
},
{
"name": "People",
"config_type_link": "/external_api/v1/config_types/43",
"id": 43
},
{
"name": "Servers",
"config_type_link": "/external_api/v1/config_types/27",
"id": 27
},
{
"name": "Services",
"config_type_link": "/external_api/v1/config_types/2",
"id": 2
},
{
"name": "Software",
"config_type_link": "/external_api/v1/config_types/37",
"id": 37
},
{
"name": "TEST",
"config_type_link": "/external_api/v1/config_types/318",
"id": 318
},
{
"name": "Virtual Machines",
"config_type_link": "/external_api/v1/config_types/34",
"id": 34
}
]
},
"version": "1.0",
"status": "Success"
}Last updated 31 January 2011