Models

List all device models

get/api/models

Request

  • Base URL: https://trmnl.com
  • URL: https://trmnl.com/api/models
  • Auth: none declared

Response

Success

Example response

{
  "data": [
    {
      "name": "trmnl_original",
      "label": "TRMNL",
      "description": "Original TRMNL model",
      "width": 800,
      "height": 480,
      "colors": 2,
      "bit_depth": 1,
      "scale_factor": 1,
      "rotation": 90,
      "mime_type": "image/png",
      "offset_x": 10,
      "offset_y": 20,
      "kind": "trmnl",
      "palette_ids": [
        "bw",
        "gray-4",
        "gray-16"
      ],
      "preview_white_point": "true_white",
      "image_size_limit": 90000,
      "image_upload_supported": true,
      "css": {
        "classes": {
          "device": "screen--og_plus",
          "size": "screen--md",
          "density": "screen--density-1x"
        },
        "variables": [
          [
            "--screen-w",
            "800px"
          ]
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.