diff --git a/doc/cli.markdown b/doc/cli.markdown index 4f87ee7a..38cc71b6 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -662,10 +662,11 @@ produce JSON output instead of tabular output List the supported device types (like 'raspberrypi3' or 'intel-nuc'). -The --verbose option adds extra columns/fields to the output, including the -"STATE" column whose values are one of 'new', 'released' or 'discontinued'. -However, 'discontinued' device types are only listed if the '--discontinued' -option is used. +The --verbose option may add extra columns/fields to the output. Currently +this includes the "STATE" column which is DEPRECATED and whose values are one +of 'new', 'released' or 'discontinued'. However, 'discontinued' device types +are only listed if the '--discontinued' option is also used, and this option +is also DEPRECATED. The --json option is recommended when scripting the output of this command, because the JSON format is less likely to change and it better represents data @@ -683,7 +684,7 @@ Examples: #### --discontinued -include "discontinued" device types +include "discontinued" device types (DEPRECATED) #### -j, --json @@ -691,7 +692,7 @@ produce JSON output instead of tabular output #### -v, --verbose -add extra columns in the tabular output (ALIASES, ARCH, STATE) +add extra columns in the tabular output (DEPRECATED) ## device <uuid> diff --git a/lib/commands/devices/supported.ts b/lib/commands/devices/supported.ts index cae5ec8e..70d0db85 100644 --- a/lib/commands/devices/supported.ts +++ b/lib/commands/devices/supported.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright 2016-2019 Balena Ltd. + * Copyright 2016-2021 Balena Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * limitations under the License. */ import { flags } from '@oclif/command'; -import type * as SDK from 'balena-sdk'; import * as _ from 'lodash'; import Command from '../../command'; import * as cf from '../../utils/common-flags'; import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy'; import { CommandHelp } from '../../utils/oclif-utils'; +import { isV13 } from '../../utils/version'; interface FlagsDef { discontinued: boolean; @@ -30,17 +30,24 @@ interface FlagsDef { verbose?: boolean; } +const deprecatedInfo = isV13() + ? '' + : ` +The --verbose option may add extra columns/fields to the output. Currently +this includes the "STATE" column which is DEPRECATED and whose values are one +of 'new', 'released' or 'discontinued'. However, 'discontinued' device types +are only listed if the '--discontinued' option is also used, and this option +is also DEPRECATED. +` + .split('\n') + .join(`\n\t\t`); + export default class DevicesSupportedCmd extends Command { public static description = stripIndent` List the supported device types (like 'raspberrypi3' or 'intel-nuc'). List the supported device types (like 'raspberrypi3' or 'intel-nuc'). - - The --verbose option adds extra columns/fields to the output, including the - "STATE" column whose values are one of 'new', 'released' or 'discontinued'. - However, 'discontinued' device types are only listed if the '--discontinued' - option is used. - + ${deprecatedInfo} The --json option is recommended when scripting the output of this command, because the JSON format is less likely to change and it better represents data types like lists and empty strings (for example, the ALIASES column contains a @@ -60,7 +67,9 @@ export default class DevicesSupportedCmd extends Command { public static flags: flags.Input = { discontinued: flags.boolean({ - description: 'include "discontinued" device types', + description: isV13() + ? 'No effect (DEPRECATED)' + : 'include "discontinued" device types (DEPRECATED)', }), help: cf.help, json: flags.boolean({ @@ -69,45 +78,71 @@ export default class DevicesSupportedCmd extends Command { }), verbose: flags.boolean({ char: 'v', - description: - 'add extra columns in the tabular output (ALIASES, ARCH, STATE)', + description: isV13() + ? 'No effect (DEPRECATED)' + : 'add extra columns in the tabular output (DEPRECATED)', }), }; public async run() { const { flags: options } = this.parse(DevicesSupportedCmd); - const dts = await getBalenaSdk().models.config.getDeviceTypes(); - let deviceTypes: Array> = dts.map( - (d) => { - if (d.aliases && d.aliases.length) { - // remove aliases that are equal to the slug - d.aliases = d.aliases.filter((alias: string) => alias !== d.slug); - if (!options.json) { - // stringify the aliases array with commas and spaces - d.aliases = [d.aliases.join(', ')]; - } - } else { - // ensure it is always an array (for the benefit of JSON output) - d.aliases = []; - } - return d; - }, - ); - if (!options.discontinued) { - deviceTypes = deviceTypes.filter((dt) => dt.state !== 'DISCONTINUED'); - } - const fields = options.verbose - ? ['slug', 'aliases', 'arch', 'state', 'name'] - : ['slug', 'aliases', 'arch', 'name']; - deviceTypes = _.sortBy( - deviceTypes.map((d) => { - const picked = _.pick(d, fields); - // 'BETA' renamed to 'NEW' - picked.state = picked.state === 'BETA' ? 'NEW' : picked.state; - return picked; + const [dts, configDTs] = await Promise.all([ + getBalenaSdk().models.deviceType.getAllSupported({ + $expand: { is_of__cpu_architecture: { $select: 'slug' } }, + $select: ['slug', 'name'], }), - fields, - ); + getBalenaSdk().models.config.getDeviceTypes(), + ]); + const dtsBySlug = _.keyBy(dts, (dt) => dt.slug); + const configDTsBySlug = _.keyBy(configDTs, (dt) => dt.slug); + const discontinuedDTs = isV13() + ? [] + : configDTs.filter((dt) => dt.state === 'DISCONTINUED'); + const discontinuedDTsBySlug = _.keyBy(discontinuedDTs, (dt) => dt.slug); + // set of slugs from models.deviceType.getAllSupported() plus slugs of + // discontinued device types as per models.config.getDeviceTypes() + const slugsOfInterest = new Set([ + ...Object.keys(dtsBySlug), + ...Object.keys(discontinuedDTsBySlug), + ]); + interface DT { + slug: string; + aliases: string[]; + arch: string; + state?: string; // to be removed in CLI v13 + name: string; + } + let deviceTypes: DT[] = []; + for (const slug of slugsOfInterest) { + const configDT: Partial = + configDTsBySlug[slug] || {}; + if (configDT.state === 'DISCONTINUED' && !options.discontinued) { + continue; + } + const dt: Partial = dtsBySlug[slug] || {}; + const aliases = (configDT.aliases || []).filter( + (alias) => alias !== slug, + ); + deviceTypes.push({ + slug, + aliases: options.json ? aliases : [aliases.join(', ')], + arch: + (dt.is_of__cpu_architecture as any)?.[0]?.slug || + configDT.arch || + 'n/a', + // 'BETA' renamed to 'NEW' + // https://www.flowdock.com/app/rulemotion/i-cli/threads/1svvyaf8FAZeSdG4dPJc4kHOvJU + state: isV13() + ? undefined + : (configDT.state || 'NEW').replace('BETA', 'NEW'), + name: dt.name || configDT.name || 'N/A', + }); + } + const fields = + options.verbose && !isV13() + ? ['slug', 'aliases', 'arch', 'state', 'name'] + : ['slug', 'aliases', 'arch', 'name']; + deviceTypes = _.sortBy(deviceTypes, fields); if (options.json) { console.log(JSON.stringify(deviceTypes, null, 4)); } else { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d45730c7..bff2ce72 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -2708,9 +2708,9 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" }, "abortcontroller-polyfill": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.1.tgz", - "integrity": "sha512-yml9NiDEH4M4p0G4AcPkg8AAa4mF3nfYF28VQxaokpO67j9H7gWgmsVWJ/f1Rn+PzsnDYvzJzWIQzCqDKRvWlA==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz", + "integrity": "sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q==" }, "accepts": { "version": "1.3.7", @@ -3475,14 +3475,21 @@ } }, "balena-register-device": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/balena-register-device/-/balena-register-device-7.1.0.tgz", - "integrity": "sha512-DaAK+EtHsSyHmcgGk7LY99j5qTTBKj8xbPwukeHwheGkyVcV1g2lix9Nj6eVkmZ+JYM0pHC4TKFZOiGq6btm+Q==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/balena-register-device/-/balena-register-device-7.2.0.tgz", + "integrity": "sha512-Uo8iceob2Zg8gBedZKzSZWTyr5XoDkUN+2oSyyuKVuhZYcZS623Lsj/+I8QdJQutlObgVHjD2k3mM1Pa6loFxA==", "requires": { - "@types/uuid": "^8.0.0", - "tslib": "^2.0.0", - "typed-error": "^3.2.0", - "uuid": "^8.2.0" + "@types/uuid": "^8.3.0", + "tslib": "^2.2.0", + "typed-error": "^3.2.1", + "uuid": "^8.3.2" + }, + "dependencies": { + "tslib": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", + "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==" + } } }, "balena-release": { @@ -3521,9 +3528,9 @@ } }, "balena-sdk": { - "version": "15.31.0", - "resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-15.31.0.tgz", - "integrity": "sha512-yvd6RrvRtmLXP4pLM1KQfhHQs9f+ktBSFNUZBUf/+dV31M/eQNjQuiLbaG698aSRpuwR1mHG/T9ITrIjGT0pUg==", + "version": "15.36.0", + "resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-15.36.0.tgz", + "integrity": "sha512-h55dSJpZ8XCJAwvbfinCuGPQXfSIBg/ftkpd6ObV+WQ/iN7DIpBKG0QVPdWoK91Ws0Ie/GzmW4IFvgtS/Yf3hQ==", "requires": { "@balena/es-version": "^1.0.0", "@types/lodash": "^4.14.168", @@ -3547,14 +3554,14 @@ }, "dependencies": { "@types/lodash": { - "version": "4.14.168", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", - "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==" + "version": "4.14.169", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.169.tgz", + "integrity": "sha512-DvmZHoHTFJ8zhVYwCLWbQ7uAbYQEk52Ev2/ZiQ7Y7gQGeV9pjBqjnQpECMHfKS1rCYAhMI7LHVxwyZLZinJgdw==" }, "@types/node": { - "version": "10.17.56", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.56.tgz", - "integrity": "sha512-LuAa6t1t0Bfw4CuSR0UITsm1hP17YL+u82kfHGrHUWdhlBtH7sa7jGY5z7glGaIj/WDYDkRtgGd+KCjCzxBW1w==" + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" }, "lodash": { "version": "4.17.21", @@ -15543,9 +15550,9 @@ }, "dependencies": { "object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", + "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==" } } }, diff --git a/package.json b/package.json index 49678ec2..877e6e8e 100644 --- a/package.json +++ b/package.json @@ -207,7 +207,7 @@ "balena-image-manager": "^7.0.3", "balena-preload": "^10.4.7", "balena-release": "^3.0.0", - "balena-sdk": "^15.31.0", + "balena-sdk": "^15.36.0", "balena-semver": "^2.3.0", "balena-settings-client": "^4.0.6", "balena-settings-storage": "^7.0.0", diff --git a/tests/balena-api-mock.ts b/tests/balena-api-mock.ts index d5099bfd..d14cbcd8 100644 --- a/tests/balena-api-mock.ts +++ b/tests/balena-api-mock.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright 2019-2020 Balena Ltd. + * Copyright 2019-2021 Balena Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -311,7 +311,7 @@ export class BalenaAPIMock extends NockMock { }); } - public expectGetDeviceTypes(opts: ScopeOpts = {}) { + public expectGetConfigDeviceTypes(opts: ScopeOpts = {}) { this.optGet('/device-types/v1', opts).replyWithFile( 200, path.join(apiResponsePath, 'device-types-GET-v1.json'), @@ -319,6 +319,14 @@ export class BalenaAPIMock extends NockMock { ); } + public expectGetDeviceTypes(opts: ScopeOpts = {}) { + this.optGet(/^\/v\d+\/device_type($|\?)/, opts).replyWithFile( + 200, + path.join(apiResponsePath, 'device-type-GET-v6.json'), + jHeader, + ); + } + public expectGetConfigVars(opts: ScopeOpts = {}) { this.optGet('/config/vars', opts).reply(200, { reservedNames: [], diff --git a/tests/commands/deploy.spec.ts b/tests/commands/deploy.spec.ts index bbea817b..e07fe043 100644 --- a/tests/commands/deploy.spec.ts +++ b/tests/commands/deploy.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright 2020 Balena Ltd. + * Copyright 2020-2021 Balena Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -76,7 +76,7 @@ describe('balena deploy', function () { docker = new DockerMock(); api.expectGetWhoAmI({ optional: true, persist: true }); api.expectGetMixpanel({ optional: true }); - api.expectGetDeviceTypes(); + api.expectGetConfigDeviceTypes(); api.expectGetApplication(); api.expectPostRelease(); api.expectGetRelease(); diff --git a/tests/commands/device/supported.spec.ts b/tests/commands/device/supported.spec.ts index a495bcf8..db0b6d1b 100644 --- a/tests/commands/device/supported.spec.ts +++ b/tests/commands/device/supported.spec.ts @@ -1,6 +1,6 @@ /** * @license - * Copyright 2019-2020 Balena Ltd. + * Copyright 2019-2021 Balena Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import { expect } from 'chai'; import { BalenaAPIMock } from '../../balena-api-mock'; import { cleanOutput, runCommand } from '../../helpers'; +import { isV13 } from '../../../lib/utils/version'; + describe('balena devices supported', function () { let api: BalenaAPIMock; @@ -44,20 +46,35 @@ describe('balena devices supported', function () { it('should list currently supported devices, with correct filtering', async () => { api.expectGetDeviceTypes(); + api.expectGetConfigDeviceTypes(); - const { out, err } = await runCommand('devices supported'); + const { out, err } = await runCommand('devices supported -v'); - const lines = cleanOutput(out); + const lines = cleanOutput(out, true); - expect(lines[0].replace(/ +/g, ' ')).to.equal('SLUG ALIASES ARCH NAME'); + expect(lines[0]).to.equal( + isV13() ? 'SLUG ALIASES ARCH NAME' : 'SLUG ALIASES ARCH STATE NAME', + ); expect(lines).to.have.lengthOf.at.least(2); + expect(lines).to.contain( + isV13() + ? 'intel-nuc nuc amd64 Intel NUC' + : 'intel-nuc nuc amd64 RELEASED Intel NUC', + ); + expect(lines).to.contain( + isV13() + ? 'odroid-xu4 odroid-ux3, odroid-u3+ armv7hf ODROID-XU4' + : 'odroid-xu4 odroid-ux3, odroid-u3+ armv7hf RELEASED ODROID-XU4', + ); // Discontinued devices should be filtered out from results expect(lines.some((l) => l.includes('DISCONTINUED'))).to.be.false; - // Experimental devices should be listed as new - expect(lines.some((l) => l.includes('EXPERIMENTAL'))).to.be.false; - expect(lines.some((l) => l.includes('NEW'))).to.be.true; + // Beta devices should be listed as new + expect(lines.some((l) => l.includes('BETA'))).to.be.false; + expect(lines.some((l) => l.includes('NEW'))).to.equal( + isV13() ? false : true, + ); expect(err).to.eql([]); }); diff --git a/tests/commands/os/configure.spec.ts b/tests/commands/os/configure.spec.ts index 3e9cb7e4..48f73fb9 100644 --- a/tests/commands/os/configure.spec.ts +++ b/tests/commands/os/configure.spec.ts @@ -1,3 +1,20 @@ +/** + * @license + * Copyright 2020-2021 Balena Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { expect } from 'chai'; import { promises as fs } from 'fs'; import * as process from 'process'; @@ -30,7 +47,7 @@ if (process.platform !== 'win32') { it('should inject a valid config.json file', async () => { api.expectGetApplication(); - api.expectGetDeviceTypes(); + api.expectGetConfigDeviceTypes(); api.expectDownloadConfig(); api.expectApplicationProvisioning(); diff --git a/tests/test-data/api-response/device-type-GET-v6.json b/tests/test-data/api-response/device-type-GET-v6.json new file mode 100644 index 00000000..d578dd9f --- /dev/null +++ b/tests/test-data/api-response/device-type-GET-v6.json @@ -0,0 +1,1634 @@ +{ + "d": [ + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 162, + "slug": "n310-tx2", + "name": "Aetina N310 TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=162" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 39, + "slug": "n510-tx2", + "name": "Aetina N510 TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=39" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 148, + "slug": "aio-3288c", + "name": "AIO 3288C", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=148" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 1, + "slug": "am571x-evm", + "name": "AM571X EVM", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=1" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 2, + "slug": "apalis-imx6q", + "name": "Apalis iMX6q", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=2" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 8, + "slug": "asus-tinker-board", + "name": "Asus Tinker Board", + "is_private": false, + "belongs_to__device_family": { + "__id": 1, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=1" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=8" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 9, + "slug": "asus-tinker-board-s", + "name": "Asus Tinker Board S", + "is_private": false, + "belongs_to__device_family": { + "__id": 1, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=1" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=9" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 141, + "slug": "jn30b-nano", + "name": "Auvidea JN30B Nano", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=141" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 21, + "slug": "fincm3", + "name": "Balena Fin (CM3)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=21" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 10, + "slug": "bananapi-m1-plus", + "name": "BananaPi-M1+", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=10" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 11, + "slug": "beagleboard-xm", + "name": "BeagleBoard-XM", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=11" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 12, + "slug": "beaglebone-black", + "name": "BeagleBone Black", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=12" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 13, + "slug": "beaglebone-green", + "name": "BeagleBone Green", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=13" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 184, + "slug": "beaglebone-green-gateway", + "name": "BeagleBone Green Gateway", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=184" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 14, + "slug": "beaglebone-green-wifi", + "name": "BeagleBone Green Wireless", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=14" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 18, + "slug": "colibri-imx6dl", + "name": "Colibri iMX6dl", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=18" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 190, + "slug": "iot-gate-imx8", + "name": "Compulab IOT-gate-imx8", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=190" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 17, + "slug": "cl-som-imx8", + "name": "Compulab MX8M", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=17" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 142, + "slug": "coral-dev", + "name": "Coral Dev Board", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=142" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 161, + "slug": "astro-tx2", + "name": "CTI Astro TX2 G+", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=161" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 52, + "slug": "orbitty-tx2", + "name": "CTI Orbitty TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=52" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 146, + "slug": "photon-nano", + "name": "CTI Photon Nano", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=146" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 176, + "slug": "photon-xavier-nx", + "name": "CTI Photon Xavier NX", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=176" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 64, + "slug": "spacely-tx2", + "name": "CTI Spacely TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=64" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "i386-nlp", + "__metadata": {} + } + ], + "id": 19, + "slug": "cybertan-ze250", + "name": "Cybertan ZE250", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=19" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 185, + "slug": "ccimx8x-sbc-pro", + "name": "Digi ConnectCore 8X SBC Pro", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=185" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 20, + "slug": "edge", + "name": "Edge Device Builder", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=20" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 144, + "slug": "etcher-pro", + "name": "Etcher Pro", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=144" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 147, + "slug": "firefly-rk3288", + "name": "FireFly rk3288", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=147" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 192, + "slug": "floyd-nano", + "name": "Floyd Nano BB02A eMMC", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=192" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 22, + "slug": "generic", + "name": "Generic", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=22" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 23, + "slug": "generic-aarch64", + "name": "Generic AARCH64", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=23" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 24, + "slug": "generic-amd64", + "name": "generic-amd64", + "is_private": true, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=24" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 178, + "slug": "generic-armv7ahf", + "name": "Generic ARMv7-a HF", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=178" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 145, + "slug": "genericx86-64-ext", + "name": "Generic x86_64", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=145" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 25, + "slug": "hummingboard", + "name": "Hummingboard", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=25" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 151, + "slug": "imx8mm-var-dart ", + "name": "imx8mm-var-dart ", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=151" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "i386", + "__metadata": {} + } + ], + "id": 29, + "slug": "intel-edison", + "name": "Intel Edison", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=29" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 30, + "slug": "intel-nuc", + "name": "Intel NUC", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=30" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 186, + "slug": "smarc-px30", + "name": "I-Pi SMARC PX30 SD-CARD", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=186" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 67, + "slug": "surface-pro-6", + "name": "Microsoft Surface 6", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=67" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 140, + "slug": "surface-go", + "name": "Microsoft Surface Go", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=140" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 40, + "slug": "nanopc-t4", + "name": "NanoPC-T4", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=40" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 41, + "slug": "nanopi-neo-air", + "name": "Nanopi Neo Air", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=41" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 42, + "slug": "nitrogen6x", + "name": "Nitrogen 6x", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=42" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 43, + "slug": "nitrogen6xq2g", + "name": "Nitrogen 6X Quad 2GB", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=43" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 44, + "slug": "nitrogen8mm", + "name": "Nitrogen8M Mini SBC", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=44" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 45, + "slug": "npe-x500-m3", + "name": "NPE X500 M3", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=45" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 16, + "slug": "blackboard-tx2", + "name": "Nvidia blackboard TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=16" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 188, + "slug": "jetson-nano-2gb-devkit", + "name": "Nvidia Jetson Nano 2GB Devkit SD", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=188" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 158, + "slug": "jetson-nano-emmc", + "name": "Nvidia Jetson Nano eMMC", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=158" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 32, + "slug": "jetson-nano", + "name": "Nvidia Jetson Nano SD-CARD", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=32" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 33, + "slug": "jetson-tx1", + "name": "Nvidia Jetson TX1", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=33" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 34, + "slug": "jetson-tx2", + "name": "Nvidia Jetson TX2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=34" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 35, + "slug": "jetson-tx2-skycatch", + "name": "Nvidia Jetson TX2 Skycatch (EXPERIMENTAL)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=35" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 36, + "slug": "jetson-xavier", + "name": "Nvidia Jetson Xavier", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=36" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 159, + "slug": "jetson-xavier-nx-devkit-emmc", + "name": "Nvidia Jetson Xavier NX Devkit eMMC", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=159" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 181, + "slug": "jetson-xavier-nx-devkit", + "name": "Nvidia Jetson Xavier NX Devkit SD-CARD", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=181" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 46, + "slug": "odroid-c1", + "name": "ODROID-C1+", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=46" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 47, + "slug": "odroid-xu4", + "name": "ODROID-XU4", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=47" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 48, + "slug": "orange-pi-lite", + "name": "Orange Pi Lite", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=48" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 49, + "slug": "orange-pi-one", + "name": "Orange Pi One", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=49" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 50, + "slug": "orangepi-plus2", + "name": "Orange Pi Plus2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=50" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 51, + "slug": "orange-pi-zero", + "name": "Orange Pi Zero", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=51" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 53, + "slug": "parallella", + "name": "Parallella", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=53" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 15, + "slug": "beaglebone-pocket", + "name": "PocketBeagle", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=15" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "i386", + "__metadata": {} + } + ], + "id": 54, + "slug": "qemux86", + "name": "QEMU X86 32bit", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=54" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 55, + "slug": "qemux86-64", + "name": "QEMU X86 64bit", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=55" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 57, + "slug": "raspberry-pi2", + "name": "Raspberry Pi 2", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=57" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 58, + "slug": "raspberrypi3", + "name": "Raspberry Pi 3", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=58" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 59, + "slug": "raspberrypi3-64", + "name": "Raspberry Pi 3 (using 64bit OS)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=59" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 183, + "slug": "raspberrypi400-64", + "name": "Raspberry Pi 400", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=183" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 60, + "slug": "raspberrypi4-64", + "name": "Raspberry Pi 4 (using 64bit OS)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=60" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 191, + "slug": "raspberrypicm4-ioboard", + "name": "Raspberry Pi CM4 IO Board", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=191" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "rpi", + "__metadata": {} + } + ], + "id": 56, + "slug": "raspberry-pi", + "name": "Raspberry Pi (v1 / Zero / Zero W)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=56" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 163, + "slug": "revpi-connect", + "name": "Revolution Pi Connect", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=163" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 61, + "slug": "revpi-core-3", + "name": "Revolution Pi Core 3", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=61" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 37, + "slug": "kitra520", + "name": "RushUp Kitra 520", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=37" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 38, + "slug": "kitra710", + "name": "RushUp Kitra 710", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=38" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 3, + "slug": "artik10", + "name": "Samsung Artik 10", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=3" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 4, + "slug": "artik5", + "name": "Samsung Artik 520", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=4" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 5, + "slug": "artik530", + "name": "Samsung Artik 530", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=5" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 6, + "slug": "artik533s", + "name": "Samsung Artik 530s 1G", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=6" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 7, + "slug": "artik710", + "name": "Samsung Artik 710", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=7" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "i386-nlp", + "__metadata": {} + } + ], + "id": 31, + "slug": "iot2000", + "name": "Siemens IOT2000", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=31" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 62, + "slug": "skx2", + "name": "SKX2", + "is_private": true, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=62" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 68, + "slug": "ts4900", + "name": "Technologic TS-4900", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=68" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 69, + "slug": "ts7700", + "name": "Technologic TS-7700", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=69" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 70, + "slug": "up-board", + "name": "UP Board", + "is_private": false, + "belongs_to__device_family": { + "__id": 2, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=2" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=70" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 71, + "slug": "up-core", + "name": "UP Core", + "is_private": false, + "belongs_to__device_family": { + "__id": 2, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=2" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=71" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 72, + "slug": "up-core-plus", + "name": "UP Core Plus", + "is_private": false, + "belongs_to__device_family": { + "__id": 2, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=2" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=72" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "amd64", + "__metadata": {} + } + ], + "id": 73, + "slug": "up-squared", + "name": "UP Squared", + "is_private": false, + "belongs_to__device_family": { + "__id": 2, + "__deferred": { + "uri": "/resin/device_family(@id)?@id=2" + } + }, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=73" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 26, + "slug": "imx6ul-var-dart", + "name": "Variscite DART-6UL", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=26" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 28, + "slug": "imx8m-var-dart", + "name": "Variscite DART-MX8M", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=28" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 150, + "slug": "imx8mm-var-dart", + "name": "Variscite DART-MX8M Mini", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=150" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 74, + "slug": "var-som-mx6", + "name": "Variscite VAR-SOM-MX6", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=74" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 27, + "slug": "imx7-var-som", + "name": "Variscite VAR-SOM-MX7", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=27" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 75, + "slug": "via-vab820-quad", + "name": "VIA VAB 820-quad", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=75" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "armv7hf", + "__metadata": {} + } + ], + "id": 169, + "slug": "zc702-zynq7", + "name": "Zynq ZC702", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=169" + } + }, + { + "is_of__cpu_architecture": [ + { + "slug": "aarch64", + "__metadata": {} + } + ], + "id": 76, + "slug": "zynq-xz702", + "name": "Zynq ZC702 (DISCONTINUED)", + "is_private": false, + "belongs_to__device_family": null, + "__metadata": { + "uri": "/resin/device_type(@id)?@id=76" + } + } + ] +} \ No newline at end of file