|
1 | 1 | {
|
2 | 2 | "swagger": "2.0",
|
3 | 3 | "info": {
|
4 |
| - "version": "1.0.0-beta.18", |
| 4 | + "version": "1.0.0-beta.19", |
5 | 5 | "title": "Meraki Dashboard API",
|
6 |
| - "description": "The Cisco Meraki Dashboard API is a modern REST API based on the OpenAPI specification.\n\n> Date: 19 August, 2020\n>\n> [What's New](https://meraki.io/whats-new/)\n\n---\n\n[API Documentation](https://meraki.io/api)\n\n[Community Support](https://meraki.io/community)\n\n[Meraki Homepage](https://www.meraki.com)\n" |
| 6 | + "description": "The Cisco Meraki Dashboard API is a modern REST API based on the OpenAPI specification.\n\n> Date: 26 August, 2020\n>\n> [What's New](https://meraki.io/whats-new/)\n\n---\n\n[API Documentation](https://meraki.io/api)\n\n[Community Support](https://meraki.io/community)\n\n[Meraki Homepage](https://www.meraki.com)\n" |
7 | 7 | },
|
8 | 8 | "host": "api.meraki.com",
|
9 | 9 | "basePath": "/api/v1",
|
@@ -17773,34 +17773,49 @@
|
17773 | 17773 | "required": true
|
17774 | 17774 | },
|
17775 | 17775 | {
|
17776 |
| - "type": "string", |
| 17776 | + "type": "array", |
| 17777 | + "items": { |
| 17778 | + "type": "string" |
| 17779 | + }, |
17777 | 17780 | "name": "fields",
|
17778 | 17781 | "in": "query",
|
17779 |
| - "description": "Additional fields that will be displayed for each device. Multiple fields can be passed in as comma separated values.\n The default fields are: id, name, tags, ssid, wifiMac, osName, systemModel, uuid, and serialNumber. The additional fields are: ip,\n systemType, availableDeviceCapacity, kioskAppName, biosVersion, lastConnected, missingAppsCount, userSuppliedAddress, location, lastUser,\n ownerEmail, ownerUsername, osBuild, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid,\n simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName,\n isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled,\n hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, and androidSecurityPatchVersion." |
| 17782 | + "description": "Additional fields that will be displayed for each device.\n The default fields are: id, name, tags, ssid, wifiMac, osName, systemModel, uuid, and serialNumber. The additional fields are: ip,\n systemType, availableDeviceCapacity, kioskAppName, biosVersion, lastConnected, missingAppsCount, userSuppliedAddress, location, lastUser,\n ownerEmail, ownerUsername, osBuild, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid,\n simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName,\n isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled,\n hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, and androidSecurityPatchVersion." |
17780 | 17783 | },
|
17781 | 17784 | {
|
17782 |
| - "type": "string", |
| 17785 | + "type": "array", |
| 17786 | + "items": { |
| 17787 | + "type": "string" |
| 17788 | + }, |
17783 | 17789 | "name": "wifiMacs",
|
17784 | 17790 | "in": "query",
|
17785 |
| - "description": "Filter devices by wifi mac(s). Multiple wifi macs can be passed in as comma separated values." |
| 17791 | + "description": "Filter devices by wifi mac(s)." |
17786 | 17792 | },
|
17787 | 17793 | {
|
17788 |
| - "type": "string", |
| 17794 | + "type": "array", |
| 17795 | + "items": { |
| 17796 | + "type": "string" |
| 17797 | + }, |
17789 | 17798 | "name": "serials",
|
17790 | 17799 | "in": "query",
|
17791 |
| - "description": "Filter devices by serial(s). Multiple serials can be passed in as comma separated values." |
| 17800 | + "description": "Filter devices by serial(s)." |
17792 | 17801 | },
|
17793 | 17802 | {
|
17794 |
| - "type": "string", |
| 17803 | + "type": "array", |
| 17804 | + "items": { |
| 17805 | + "type": "string" |
| 17806 | + }, |
17795 | 17807 | "name": "ids",
|
17796 | 17808 | "in": "query",
|
17797 |
| - "description": "Filter devices by id(s). Multiple ids can be passed in as comma separated values." |
| 17809 | + "description": "Filter devices by id(s)." |
17798 | 17810 | },
|
17799 | 17811 | {
|
17800 |
| - "type": "string", |
| 17812 | + "type": "array", |
| 17813 | + "items": { |
| 17814 | + "type": "string" |
| 17815 | + }, |
17801 | 17816 | "name": "scope",
|
17802 | 17817 | "in": "query",
|
17803 |
| - "description": "Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags as comma separated values." |
| 17818 | + "description": "Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags." |
17804 | 17819 | },
|
17805 | 17820 | {
|
17806 | 17821 | "type": "integer",
|
@@ -17880,19 +17895,31 @@
|
17880 | 17895 | "type": "object",
|
17881 | 17896 | "properties": {
|
17882 | 17897 | "wifiMacs": {
|
17883 |
| - "type": "string", |
| 17898 | + "type": "array", |
| 17899 | + "items": { |
| 17900 | + "type": "string" |
| 17901 | + }, |
17884 | 17902 | "description": "The wifiMacs of the devices to be checked-in."
|
17885 | 17903 | },
|
17886 | 17904 | "ids": {
|
17887 |
| - "type": "string", |
| 17905 | + "type": "array", |
| 17906 | + "items": { |
| 17907 | + "type": "string" |
| 17908 | + }, |
17888 | 17909 | "description": "The ids of the devices to be checked-in."
|
17889 | 17910 | },
|
17890 | 17911 | "serials": {
|
17891 |
| - "type": "string", |
| 17912 | + "type": "array", |
| 17913 | + "items": { |
| 17914 | + "type": "string" |
| 17915 | + }, |
17892 | 17916 | "description": "The serials of the devices to be checked-in."
|
17893 | 17917 | },
|
17894 | 17918 | "scope": {
|
17895 |
| - "type": "string", |
| 17919 | + "type": "array", |
| 17920 | + "items": { |
| 17921 | + "type": "string" |
| 17922 | + }, |
17896 | 17923 | "description": "The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be checked-in."
|
17897 | 17924 | }
|
17898 | 17925 | },
|
@@ -18025,19 +18052,31 @@
|
18025 | 18052 | "type": "object",
|
18026 | 18053 | "properties": {
|
18027 | 18054 | "wifiMacs": {
|
18028 |
| - "type": "string", |
| 18055 | + "type": "array", |
| 18056 | + "items": { |
| 18057 | + "type": "string" |
| 18058 | + }, |
18029 | 18059 | "description": "The wifiMacs of the devices to be locked."
|
18030 | 18060 | },
|
18031 | 18061 | "ids": {
|
18032 |
| - "type": "string", |
| 18062 | + "type": "array", |
| 18063 | + "items": { |
| 18064 | + "type": "string" |
| 18065 | + }, |
18033 | 18066 | "description": "The ids of the devices to be locked."
|
18034 | 18067 | },
|
18035 | 18068 | "serials": {
|
18036 |
| - "type": "string", |
| 18069 | + "type": "array", |
| 18070 | + "items": { |
| 18071 | + "type": "string" |
| 18072 | + }, |
18037 | 18073 | "description": "The serials of the devices to be locked."
|
18038 | 18074 | },
|
18039 | 18075 | "scope": {
|
18040 |
| - "type": "string", |
| 18076 | + "type": "array", |
| 18077 | + "items": { |
| 18078 | + "type": "string" |
| 18079 | + }, |
18041 | 18080 | "description": "The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be wiped."
|
18042 | 18081 | },
|
18043 | 18082 | "pin": {
|
@@ -18090,23 +18129,38 @@
|
18090 | 18129 | "type": "object",
|
18091 | 18130 | "properties": {
|
18092 | 18131 | "wifiMacs": {
|
18093 |
| - "type": "string", |
| 18132 | + "type": "array", |
| 18133 | + "items": { |
| 18134 | + "type": "string" |
| 18135 | + }, |
18094 | 18136 | "description": "The wifiMacs of the devices to be modified."
|
18095 | 18137 | },
|
18096 | 18138 | "ids": {
|
18097 |
| - "type": "string", |
| 18139 | + "type": "array", |
| 18140 | + "items": { |
| 18141 | + "type": "string" |
| 18142 | + }, |
18098 | 18143 | "description": "The ids of the devices to be modified."
|
18099 | 18144 | },
|
18100 | 18145 | "serials": {
|
18101 |
| - "type": "string", |
| 18146 | + "type": "array", |
| 18147 | + "items": { |
| 18148 | + "type": "string" |
| 18149 | + }, |
18102 | 18150 | "description": "The serials of the devices to be modified."
|
18103 | 18151 | },
|
18104 | 18152 | "scope": {
|
18105 |
| - "type": "string", |
| 18153 | + "type": "array", |
| 18154 | + "items": { |
| 18155 | + "type": "string" |
| 18156 | + }, |
18106 | 18157 | "description": "The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be modified."
|
18107 | 18158 | },
|
18108 | 18159 | "tags": {
|
18109 |
| - "type": "string", |
| 18160 | + "type": "array", |
| 18161 | + "items": { |
| 18162 | + "type": "string" |
| 18163 | + }, |
18110 | 18164 | "description": "The tags to be added, deleted, or updated."
|
18111 | 18165 | },
|
18112 | 18166 | "updateAction": {
|
|
18117 | 18171 | "example": {
|
18118 | 18172 | "scope": "withAny, old_tag",
|
18119 | 18173 | "updateAction": "add",
|
18120 |
| - "tags": "tag1,tag2" |
| 18174 | + "tags": [ |
| 18175 | + "tag1", |
| 18176 | + "tag2" |
| 18177 | + ] |
18121 | 18178 | },
|
18122 | 18179 | "required": [
|
18123 | 18180 | "tags",
|
@@ -18174,19 +18231,31 @@
|
18174 | 18231 | "type": "object",
|
18175 | 18232 | "properties": {
|
18176 | 18233 | "wifiMacs": {
|
18177 |
| - "type": "string", |
| 18234 | + "type": "array", |
| 18235 | + "items": { |
| 18236 | + "type": "string" |
| 18237 | + }, |
18178 | 18238 | "description": "The wifiMacs of the devices to be moved."
|
18179 | 18239 | },
|
18180 | 18240 | "ids": {
|
18181 |
| - "type": "string", |
| 18241 | + "type": "array", |
| 18242 | + "items": { |
| 18243 | + "type": "string" |
| 18244 | + }, |
18182 | 18245 | "description": "The ids of the devices to be moved."
|
18183 | 18246 | },
|
18184 | 18247 | "serials": {
|
18185 |
| - "type": "string", |
| 18248 | + "type": "array", |
| 18249 | + "items": { |
| 18250 | + "type": "string" |
| 18251 | + }, |
18186 | 18252 | "description": "The serials of the devices to be moved."
|
18187 | 18253 | },
|
18188 | 18254 | "scope": {
|
18189 |
| - "type": "string", |
| 18255 | + "type": "array", |
| 18256 | + "items": { |
| 18257 | + "type": "string" |
| 18258 | + }, |
18190 | 18259 | "description": "The scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags of the devices to be moved."
|
18191 | 18260 | },
|
18192 | 18261 | "newNetwork": {
|
@@ -19354,28 +19423,40 @@
|
19354 | 19423 | "required": true
|
19355 | 19424 | },
|
19356 | 19425 | {
|
19357 |
| - "type": "string", |
| 19426 | + "type": "array", |
| 19427 | + "items": { |
| 19428 | + "type": "string" |
| 19429 | + }, |
19358 | 19430 | "name": "ids",
|
19359 | 19431 | "in": "query",
|
19360 |
| - "description": "Filter users by id(s). Multiple ids can be passed in as comma separated values." |
| 19432 | + "description": "Filter users by id(s)." |
19361 | 19433 | },
|
19362 | 19434 | {
|
19363 |
| - "type": "string", |
| 19435 | + "type": "array", |
| 19436 | + "items": { |
| 19437 | + "type": "string" |
| 19438 | + }, |
19364 | 19439 | "name": "usernames",
|
19365 | 19440 | "in": "query",
|
19366 |
| - "description": "Filter users by username(s). Multiple usernames can be passed in as comma separated values." |
| 19441 | + "description": "Filter users by username(s)." |
19367 | 19442 | },
|
19368 | 19443 | {
|
19369 |
| - "type": "string", |
| 19444 | + "type": "array", |
| 19445 | + "items": { |
| 19446 | + "type": "string" |
| 19447 | + }, |
19370 | 19448 | "name": "emails",
|
19371 | 19449 | "in": "query",
|
19372 |
| - "description": "Filter users by email(s). Multiple emails can be passed in as comma separated values." |
| 19450 | + "description": "Filter users by email(s)." |
19373 | 19451 | },
|
19374 | 19452 | {
|
19375 |
| - "type": "string", |
| 19453 | + "type": "array", |
| 19454 | + "items": { |
| 19455 | + "type": "string" |
| 19456 | + }, |
19376 | 19457 | "name": "scope",
|
19377 | 19458 | "in": "query",
|
19378 |
| - "description": "Specifiy a scope (one of all, none, withAny, withAll, withoutAny, withoutAll) and a set of tags as comma separated values." |
| 19459 | + "description": "Specifiy a scope (one of all, none, withAny, withAll, withoutAny, withoutAll) and a set of tags." |
19379 | 19460 | }
|
19380 | 19461 | ],
|
19381 | 19462 | "responses": {
|
|
34531 | 34612 | "name": "usedState",
|
34532 | 34613 | "in": "query",
|
34533 | 34614 | "description": "Filter results by used or unused inventory. Accepted values are \"used\" or \"unused\"."
|
| 34615 | + }, |
| 34616 | + { |
| 34617 | + "type": "string", |
| 34618 | + "name": "search", |
| 34619 | + "in": "query", |
| 34620 | + "description": "Search for devices in inventory based on serial number, mac address, or model." |
34534 | 34621 | }
|
34535 | 34622 | ],
|
34536 | 34623 | "responses": {
|
|
0 commit comments