AE-1918: Device Basic Info, Configuration and Advanced Settings API

Review Request #968 — Created July 10, 2025 and submitted

apoorva.sn
AMP
amp_4_0
AE-1918
ngurunathan, pmurugaiyan, pradeep, shuinvy

Problem

Need to migrate Device Basic Info, Configuration and Advanced Settings API

Solution

Fixed few errors w.r.t python and Django which were coming while calling these API's
The API's are returning the data now

Configuration API

[root@AN admin]# curl 'http://127.0.0.1:8000/cm/configuration/configuration_file/get_config/device/APV-166' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'Connection: keep-alive' \
-b 'csrftoken=MQ2FIELonjMK1xsS1qZgCwFLl1XbPE0O; hive_key=1; django_language=en; csrf_token=MQ2FIELonjMK1xsS1qZgCwFLl1XbPE0O; current_user=array; hive_sess=23f4a31c-a63f-4b1d-911d-968ee2d2e132' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: MQ2FIELonjMK1xsS1qZgCwFLl1XbPE0O' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[true, "#version Rel.APV.10.7.0.16 build on Thu Apr 11 10:58:07 2024\n\n\n#system command configuration\nsystem command timeout 120\nsystem command override on\n\n#admin aaa configuration\nadmin aaa off\nadmin aaa authorize off\nadmin aaa method RADIUS\n\n#hostname configuration\nhostname \"AN\"\nconfig timeout 180 \n\n#switch configuration\n\n#system timezone configuration\nsystem timezone \"GMT\"\n\n#global users in config mode configuration\nconfig multiconfig disable\n\n#rts configuration\nip rts off\nip rts expire 60\n\n#interface configuration\ninterface name \"port1\" \"port1\"\ninterface name \"port2\" \"port2\"\ninterface name \"port3\" \"port3\"\ninterface name \"port4\" \"port4\"\ninterface speed \"port1\" auto\ninterface speed \"port2\" auto\ninterface speed \"port3\" auto\ninterface speed \"port4\" auto\ninterface bandwidthtimer 300\n\n#interface mac\n\n#bond configuration\n\n#dhcp configuration\n\n#ip configuration\nip address \"port1\" 192.168.162.166 255.255.255.0\nip address \"port2\" 15.15.15.200 255.255.255.0\n\n#interface management\n\n#ip host configuration\n\n#support ip configuration\nsupport 0.0.0.0 0.0.0.0\n\n#vlan configuration\n\n#segment basic configuration\n\n#segment mnet configuration\n\n#mnet configuration\n\n#vxlan basic configuration\nvxlan disable\nvxlan port 4789 \nvxlan mode p2mp \nvxlan learn on \n\n#vxlan forwarding configuration\n\n#overlap interface configuration\n\n#bond hc configuration\n\n#interface mtu\ninterface mtu port1 1500\ninterface mtu port2 1500\ninterface mtu port3 1500\ninterface mtu port4 1500\ninterface mtu bond1 1500\ninterface mtu bond2 1500\ninterface mtu bond3 1500\ninterface mtu bond4 1500\ninterface mtu bond5 1500\ninterface mtu bond6 1500\ninterface mtu bond7 1500\ninterface mtu bond8 1500\n\n#interface description\n\n#interface promisc\n\n#ip arp configuration\n\n#ipv6 ndp configuration\n\n#ipgroup configuration\n\n#extended routing policies\nip ipflow off\nip ipflow priority 1000\nip ipflow expire 60\n\n\n#ipregion route configuration\n\n#route configuration\nip route default 192.168.162.1 \n\n#ip statistics configuration\nip statistics off\n\n#link load balancing configuration\nllb link health remote disable\nllb method outbound rr\nllb method inbound rr\nllb link statistics off\nllb link bw_priority 1800\nllb link health on\nllb rsite health off\n#link load balancing DNS configuration\n\n#link load balancing DNS proxy configuration\nllb dnsproxy off\n\n#smart DNS configuration\nsdns off\nsdns recursion off\nsdns fulldns on\nsdns sync status 3 2\nsdns sync config runtime off\nsdns statistics query on\nsdns statistics localdns on\nsdns edns ecs off\nsdns dnssec off\nsdns dps off\nsdns dps interval query 1200\nsdns dps method rtt\nsdns dps expire 1500\nsdns dps interval send 120\n\n#dns whitelist configuration\n\n#DPI configuration\ndpi off\n\n#access list and webwall configuration\n\n#synconfig challenge configuration\n\n#synconfig secure configuration\n\n\n#synconfig configuration\n\n#cluster configuration\ncluster virtual ffo off\ncluster virtual ffo interface carrier loss timeout 1000\ncluster virtual arp interval 60\ncluster virtual discreet off\n\n#ha group configuration\n\n#monitor system configuration\nmonitor system on\nmonitor system cpu overheat 75 5000 3 3\nmonitor system cpu utilization 60 5000 3 3\nmonitor system ssl ae 60 5000 3 3\nmonitor system ssl se 60 5000 3 3\nmonitor system disk system 60 60 \nmonitor system disk data 80 60 \n\n#ip pool configuration\n\n#nameserver configuration\n\n#password setting\npasswd forcemode on\npasswd expire on\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX$6$RHD6rLMJpvaHtLlY$RdM98.QkKJqabTgsZKcXgS04vHbhHFiahFhgujLV2yPHjFukNkvqzs/4SoyfcnQQvWhSEkxKMt7ChgnbNzOTO1\" \"config\"\nuser \"restapi\" \"XXXXXXXXX$6$vPzP8W9Xzd8PNT.A$OtWnZHQFtYxgI1FKTWxWibS/W5uZqN57C4R6VY0Ii1ebhrXeH.gWVjE40NE6VuXogOwLwd9bQVptZRC7GY/gj1\" \"api\"\n\n#admin mode separation configuration\nadmin mode separation off\n\n#RoleBase configuration\n\n#restful api configuration\nrestapi on https 9997\nrestapi ssl settings clientauth disable\nrestapi ssl settings authmandatory enable\nrestapi ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nrestapi ssl settings protocol \"TLSv12\"\n\n#webui configuration\nwebui port 8888\nwebui graph on\nwebui graph refresh 10\nwebui idletimeout 15\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\nwebui on\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#webui language configuration\nwebui language en\n\n#activationserver configuration\n\n#ip license server configuration\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\nxmlrpc authentication off\n\n#snmp configuration\nsnmp community \"public\"\nsnmp contact \"\"\nsnmp location \"\"\nsnmp host 192.168.162.113 2 \"public\" \"\" \"\" \"\" \"\" 162\nsnmp enable traps\nsnmp traps loglevel err\nsnmp ipcontrol off\nsnmp on default \n\n#ntp configuration\nntp off\n\n#system mail configuration\nsystem mail from \"%halert@log.domain\"\nsystem mail hostname \"%l.alert_pseudo_domain\" 0\nsystem mail external off\n\n#system mail relay configuration\nsystem mail relay off\n\n#tune configuration\nsystem tune rxmode poll 100\nsystem tune hwcksum on\nsystem tune tcpidle 300\nsystem tune tlsidle 300\nsystem tune tcp retransmit timeout 1000\nsystem tune tcp retransmit dupacks 3\nsystem tune tcp retransmit accelerate off\nsystem tune tcp delack count 4\nsystem tune tcp delack timeout 10\nsystem tune tcp slowstart on\nsystem tune tcp syntimeout 60\nsystem tune tcp timewait 50\nsystem tune tcp zwdefend off\nsystem tune tcp pktdropopt 2\nsystem tune route numaaccel off\nsystem tune ip randomid off\nsystem tune tcp rmem_max 131072\nsystem tune tcp syncache off\nsystem tune tcp option sack off\nsystem tune tcp option timestamp off\nsystem tune tcp option wscale off\nsystem tune tcp tso off\nsystem tune tcp finacc on\nsystem tune pollactivity 128\nsystem tune dispatcher sipudp off\nsystem tune dispatcher epolicy off\nsystem tune arp timeout 3600\nsystem tune ndp timeout 86400\nsystem tune icmp replylimit 1000\n\n#dump flag when panic\nsystem dump on\n\n#system interactive configuration\nsystem interactive off\n\n#system useaccess configuration\nsystem usbaccess off\n\n#webclassify configuration\n#webclassify settings\nwebclassify off\nwebclassify cloud off\n\n#port forwarding configuration\nfwd mode transparent\n\n#slb configuration\nslb real http \"RS1\" 192.168.162.161 9000 0 icmp 3 3\nslb mode activeclose on \"RS1\"\nslb virtual https \"vs1\" 192.168.162.161 443 arp 0\nslb virtual health off\n#default policy order template:\n#\t\t qos-clientport 1\n#\t\t qos-network 2\n#\t\t pu 3\n#\t\t rc 4\n#\t\t ic 5\n#\t\t pc 6\n#\t\t qos-cookie 7\n#\t\t qos-hostname 8\n#\t\t qos-url 9\n#\t\t qos-body 10\n#\t\t qos-dnsdomain 11\n#\t\t qos-dnsqtype 12\n#\t\t regex 13\n#\t\t header 14\n#\t\t hu 15\nslb directfwd off\nslb directfwd syncache off\nslb directfwd statistics on\nslb mode ircookie plainname\nslb mode icookie always\nslb mode activeclose off\nslb mode keepport off\nslb ftps datachannel 0\nslb ftp datachannel 20\nslb tuxedo portposition 78\nslb mode regexcase off\nslb mode lineup off \"vs1\"\nslb overload persistence off\nslb sip persistence timeout 120\n\n#fastlog configuration\nlog facility \"local0\"\nlog level \"info\"\nlog on\nlog language english\nlog message disable 100017001\nlog message disable 100017002\nlog message disable 100017003\nlog message disable 100017004\nlog message disable 100017005\nlog message disable 100017006\nlog message disable 100024013\nlog message disable 100024014\nlog source port 514\nlog host 192.168.162.113 514 tcp 2 3\nlog host 192.168.162.113 514 udp 1\nlog option levelinfo off\nlog option logid off\nlog localhost off\nlog http welf\nlog rfc5424 on\nlog appvisual off ssl\nlog appvisual off sdns\nlog appvisual off slb-http\nlog appvisual off slb-tcp\nlog appvisual off llb\n\n#webagent configuration\n\n#webagent dns configuration\nwebagent dns cache off\nwebagent dns cache expire 60 3600\n\n#webagent acl configuration\n\n#ssh configuration\nssh on\nssh auth passwd on \"array\"\nssh auth key off \"array\"\nssh auth passwd on \"restapi\"\nssh auth key off \"restapi\"\nssh kex \"curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521\"\nssh port 22\nssh cipher \"aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com\"\nssh idletimeout 30\n\n#advance acl configuration\n\n#advance dns acl configuration\n\n#advance http acl configuration\n\n#advance blacklist acl configuration\nacl blacklist off\n\n#ddos configuration\n\n#DDOS user setting:\n\n#TopN configuration\ntopn off ip\ntopn off tcp\ntopn off udp\ntopn off icmp\n\n#aaa configuration\naaa method rank off \"vs1\"\naaa off \"vs1\"\n\n#aaa session configuration\naaa session virtual reuse off \"vs1\"\naaa session virtual timeout idle \"vs1\" 3600\naaa session virtual timeout lifetime \"vs1\" 86400\n\n#aaa sso configuration\naaa sso off \"vs1\"\n\n#ftp passive configuration\n\n#proxy cache configuration\ncache off\ncache on \"vs1\"\ncache settings expire \"82800\"\ncache settings objectsize 5120\n\n#cache channel statistic configuration\n\n#http modifyheader configuration\nhttp modifyheader keepalive off\n\n#filter configuration\n#filter request controlchar configuration\n#It works only when filter vip setting is configured.\nfilter request controlchar on\n\n#http error page configuration\n\n#http compression configuration\nhttp compression off\nhttp compression on \"vs1\"\n\n#cache imageoptimizer configuration\ncache imgopt off\ncache imgopt sizelimit 1\ncache imgopt format jpeg\ncache imgopt on \"vs1\"\n\n#http waf configuration\n\n#http rewrite configuration\nhttp rewrite body off\nhttp rewrite body limit 5120\nhttp rewrite body on \"vs1\"\nhttp rewrite body mimetype html\nhttp rewrite body statuscode 200\nhttp rewrite response cookie secure on \nhttp rewrite response cookie secure on \"vs1\"\nhttp rewrite response cookie secure icookie on \nhttp rewrite response cookie secure icookie on \"vs1\"\nhttp rewrite response cookie samesite on \nhttp rewrite response cookie samesite off \"vs1\"\nhttp rewrite response cachecontrol off\nhttp rewrite response cachecontrol on \"vs1\"\n\n#http configuration\nhttp xforwardedfor off\nhttp authsplice on \"vs1\"\nhttp xurlencode common\nhttp xurlencode common \"vs1\"\nhttp xforwardedfor on \"vs1\" header \"X-Forwarded-For\" \"\"\nhttp owa off\nhttp xclientcert header \"X-Client-Cert: \"\nhttp xciphersuite header \"X-Client-Ciphersuite: \"\nhttp xclientcert rdnsep \"vs1\" \",\" \"post\"\nhttp xclientcert pemsep \"vs1\" \";\" \nhttp xclientcert dnencoding \"vs1\" \"UTF-8\"\nhttp serverpersist on\nhttp serverconnreuse on\nhttp serverconnreuse maxreq 0\nhttp serverconnreuse timeout 180\nhttp connsplice off\nhttp connsplice on \"vs1\"\nhttp connkeep off\nhttp connkeep on \"vs1\"\nhttp mask server off\nhttp mask via off\nhttp shuntreset off\nsystem mode reverse\n\n#diameter configuration\ndiameter server timeout 0 0\ndiameter reliable off\ndiameter mark server off\n\n#SIP configuration\n\n#sip multiregistration configuration\nsip multireg off\n\n#nat configuration\nnat port \"192.168.162.166\" 15.15.15.0 255.255.255.0 60 192.168.162.1 \"\"\nnat pureip off\nnat itcpopt off\n\n#IPv6 DNS64 configuration\nipv6 dns64 prefix 64:ff9b:: \nipv6 nat64 prefix 64:ff9b::\nipv6 nat64 timeout 300\nipv6 dnsnat46 timeout 300\nipv6 dns64 off\nipv6 nat64 off\nipv6 dnsnat46 off\nipv6 tune dnsnat priority time 100\nipv6 tune dnsnat response timeout 5000\n\n#health check configuration\nhealth interval 5 5\nhealth on\nhealth earlywarning 0\nhealth failover disable\nhealth failover retries 3\nhealth relation \"RS1\" and none\nhealth l2slb route off\nhealth proxyip off\nhealth reliable on\nhealth reliable on \"RS1\"\nhealth passive off\n\n#HSM autologin configuration\n\n#ssl configuration\n#ssli settings\nssli settings certcache timeout 1800\n#ssl global settings\nssl globals verifycert on\nssl globals ignoreclosenotify on\nssl globals ems off\nssl globals sendclosenotify on\nssl globals sessiontimeout 1800\nssl globals renegotiation off\nssl globals serialnumber upper\nssl gmsdf failover off\nssl globals fastcrl off\nssl globals protocol virtual \"TLSv12\"\nssl globals protocol real \"TLSv1:TLSv11:TLSv12\"\nssl globals certexpdays 60\nssl globals statistics handshake off\nssl globals certchkinterval 1440\n\n#ssl global error page settings\n\n#ssl host settings\nssl host virtual \"vh1\" \"vs1\"\nssl settings protocol \"vh1\" \"TLSv12\"\nssl settings ciphersuite \"vh1\" \"AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES256-SHA:AES128-SHA256:AES128-SHA:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:!SSLv2\"\nno ssl settings reneg \"vh1\"\nssl settings reuse \"vh1\" \nno ssl settings fallbackscsv \"vh1\" \nno ssl settings clientauth \"vh1\" \nno ssl settings alpn \"vh1\"\nssl settings authmandatory \"vh1\"\nno ssl settings ocspstapling \"vh1\" \nno ssl settings insertclientip \"vh1\" \nno ssl settings ocsp \"vh1\" \nno ssl settings crl online \"vh1\"\nno ssl settings crl offline \"vh1\" \nssl settings clientcert signalgo \"vh1\" \"sha256ECDSA:sha256RSA:sha384ECDSA:sha384RSA:sha512ECDSA:sha512RSA:sha224ECDSA:sha224RSA:sha1ECDSA:sha1RSA\" \nno ssl settings acceptchain \"vh1\"\nssl settings curves \"vh1\" \"secp256r1:secp384r1:secp521r1\"\nssl settings signalgo \"vh1\" \"sha256ECDSA:sha256RSA:sha384ECDSA:sha384RSA:sha512ECDSA:sha512RSA:sha224ECDSA:sha224RSA:sha1ECDSA:sha1RSA\"\nssl start \"vh1\"\nssli domainlist off\n\n#graph configuration\n\n#slb dns cache configuration\ndns cache off\ndns cache expire 60 3600\n\n#cache filter configuration\ncache filter off\n\n#Qos configuration\n\n#segment configuration\nsegment disable\n\n#rip configuration\nrip off\n\n#ripng configuration\nripng off\n\n#ospf configuration\nospf off\nospf rhi off\n\n#ipv6 ospf configuration\nipv6 ospf off\n\n#bgp configuration\nbgp off\n\n#crontab configuration\ncrontab disable\n\n#system ha configuration\nha ssi off\nha log off\nha log level info\nha arp interval 30\nha link ffo off\nha link network on\nha link ffo heartbeat off\nha floatmac off\nha consistency on\nha checkpeer on\nha synconfig bootup off\nha synconfig runtime off\nha heartbeat 1000 15\nha off\nha ssf off\nha ssf off nat\nha ssf timeout 300\nha ssf on \"vs1\"\n\n#epolicy configuration\n\n#debug monitor configuration\ndebug monitor on SSL\ndebug monitor on SLB\ndebug monitor on UPROXY\ndebug monitor on ORCH\n\n#bridge configuration\n\n#spanport configuration\n\n#system motd configuration\nsystem motd disable\n\n#segment user configuration\n\n#role user configuration\n\n#lldp configuration\nlldp off\nlldp max_neighbors 32\nlldp transmit_delay 30\nlldp sysname \"AN\"\n\n#ipgroup address configuration\n\n#no default user configuration\n#\n\n#interface shutdown\n\n#orchestrator configuration\norchestrator health on\n"][root@AN admin]#

Basic Info

[root@AN admin]# curl 'http://127.0.0.1:8000/api/cm/device_mgmt/device/Device/_field_group/id/%22a046d7b4-5d44-11f0-8724-0050568d64ef%22/type/%22vAPV%22/name/%22APV-166%22?field_group=all' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'Connection: keep-alive' \
-b 'csrftoken=XCelOeJkSkALt9xngQSJdz7QnYEGjbH4; csrf_token=NOTPROVIDED; hive_key=1; django_language=en; current_user=array; hive_sess=95ff2f9d-462b-4f86-ad3a-36a8896f9ffb' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: XCelOeJkSkALt9xngQSJdz7QnYEGjbH4' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"zone": "default", "id": "a046d7b4-5d44-11f0-8724-0050568d64ef", "name": "APV-166", "type": "vAPV", "ip": "192.168.162.166", "protocol": "restapi", "group_name_from": "new", "restapi_port": 9997, "restapi_account": {"restapi_username": "restapi", "restapi_password": ""}, "console_account": {"console_username": "array", "console_password": ""}, "connection": true, "status": true, "log_enable": true, "snmp_general": {"snmp_enable": false, "community": ""}, "license_key": "3ece94cb-15c95c69-3f6cb2e8-0426831e-017e89f2-33380080-1454d8ab-20250604-20250902", "webui_port": 8888, "enable_password": "", "backup_enable": false, "device_group": "apv-grp", "gateway_domain": "", "location": "", "firewall_ip": "", "intranet_ip": "", "own": "", "extend_fields": "", "host_name": "AN", "system_cpu": "Intel(R) Xeon(R) CPU", "system_ram": "3879500 kbytes.", "system_boot_time": "Sun Jun 15 18:55:09 GMT (+0000) 2025", "system_up_time": "24 days, 9 hrs, 32 mins", "platform_bld_date": "Tue Apr 16 13:12:36 GMT 2024", "ssl_hw": "No HW Available", "compression_hw": "No HW Available", "network_interface": "4 x 10Gigabit Ethernet fiber", "model": "Array vAPV", "serial_number": "75FA684AA3D6C00005012643240734", "license_feature": "WebWall, Clustering, L4SLB, L7SLB, Caching, SSL, tProxy, SwCompression, LLB, QoS, MultiLang, DynRoute, IPv6, SWMaintenance", "license_date": "Expires on Sep 02 2025", "build_version": "ArrayOS Rel.APV.10.7.0.16 build on Thu Apr 11 10:58:07 2024", "license_limit": "vCPUs(x4), NICs(x4), RAM(8 GB), Bandwidth(1000 Mbps)", "asso_ip_pool": [], "pk_id": "a046d7b4-5d44-11f0-8724-0050568d64ef-APV-166-vAPV"}

Advanced Settings

[root@AN admin]# curl 'http://127.0.0.1:8000/api/cm/device_mgmt/device_group/DeviceGroup/_get_list_data?key=[%22name%22,%22device_list%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'Connection: keep-alive' \
-b 'csrftoken=kk9z3SdlyhEu1xfYJN8XtNpwI8o0ofuF; hive_key=1; django_language=en; csrf_token=kk9z3SdlyhEu1xfYJN8XtNpwI8o0ofuF; current_user=array; hive_sess=580643b5-b23b-4072-bb06-7a03becec907' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: kk9z3SdlyhEu1xfYJN8XtNpwI8o0ofuF' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"name": "apv-grp", "device_list": [], "pk": "{\"name\": \"apv-grp\"}", "pk_id": "apv-grp"}]

shuinvy
  1. Ship It!
  2. 
      
pmurugaiyan
  1. Ship It!
  2. 
      
apoorva.sn
Review request changed

Status: Closed (submitted)

Loading...