File tree Expand file tree Collapse file tree 2 files changed +19
-29
lines changed
content/api/enterprise-api-ref Expand file tree Collapse file tree 2 files changed +19
-29
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,7 @@ curl -k --user <username>:<password> \
6161 ]
6262 }
6363 ],
64- "meta" : {
65- "total" : 1 ,
66- "page" : 1 ,
67- "count" : 1
68- }
64+ "meta" : { "total" : 1 , "page" : 1 , "count" : 1 }
6965}
7066```
7167
@@ -325,9 +321,7 @@ curl -k --user <username>:<password> \
325321 "variables" : {
326322 "variable_name" : {
327323 "comment" : " test variable" ,
328- "tags" : [
329- " test"
330- ],
324+ "tags" : [" test" ],
331325 "value" : " value"
332326 }
333327 }
Original file line number Diff line number Diff line change @@ -435,30 +435,26 @@ curl -k --user <username>:<password> \
435435``` json
436436{
437437 "data" : [
438- {
439- "id" : 1 ,
440- "group_id" : 4 ,
441- "type" : " class" ,
442- "name" : " My_class" ,
443- "description" : " CMDB class example" ,
444- "tags" : [" production" , " webserver" ],
445- "meta" : {},
446- "created_at" : " 2023-06-14 10:41:25.601112+00" ,
447- "entries" : [{
438+ {
448439 "id" : 1 ,
449440 "group_id" : 4 ,
450- "entry_id" : 1 ,
451- "item_name" : " My_class" ,
452- "item_type" : " class" ,
453- "item_value" : null
454- }]
455- }
441+ "type" : " class" ,
442+ "name" : " My_class" ,
443+ "description" : " CMDB class example" ,
444+ "tags" : [" production" , " webserver" ],
445+ "meta" : {},
446+ "created_at" : " 2023-06-14 10:41:25.601112+00" ,
447+ "entries" : [{
448+ "id" : 1 ,
449+ "group_id" : 4 ,
450+ "entry_id" : 1 ,
451+ "item_name" : " My_class" ,
452+ "item_type" : " class" ,
453+ "item_value" : null
454+ }]
455+ }
456456 ],
457- "meta" : {
458- "total" : 1 ,
459- "page" : 1 ,
460- "count" : 1
461- }
457+ "meta" : { "total" : 1 , "page" : 1 , "count" : 1 }
462458}
463459```
464460
You can’t perform that action at this time.
0 commit comments