{
  "opencollection": "1.0.0",
  "info": {
    "name": "ThingsBoard Admin admin-controller image-controller API",
    "version": "4.3.0.3DEMO"
  },
  "items": [
    {
      "info": {
        "name": "image-controller",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "downloadImage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images/:type/:key",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "Accept-Encoding",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ]
          }
        },
        {
          "info": {
            "name": "updateImage",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://demo.thingsboard.io/api/images/:type/:key",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "info": {
            "name": "deleteImage",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://demo.thingsboard.io/api/images/:type/:key",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              },
              {
                "name": "force",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "updateImagePublicStatus",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://demo.thingsboard.io/api/images/:type/:key/public/:isPublic",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              },
              {
                "name": "isPublic",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "getImageInfo",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images/:type/:key/info",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ]
          }
        },
        {
          "info": {
            "name": "updateImageInfo",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://demo.thingsboard.io/api/images/:type/:key/info",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "importImage",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://demo.thingsboard.io/api/image/import",
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "uploadImage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://demo.thingsboard.io/api/image",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "title",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "imageSubType",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "info": {
            "name": "getImages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Maximum amount of entities in a one page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Sequence number of page starting from 0"
              },
              {
                "name": "imageSubType",
                "value": "",
                "type": "query",
                "description": "A string value representing resource sub-type."
              },
              {
                "name": "includeSystemImages",
                "value": "",
                "type": "query",
                "description": "Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority."
              },
              {
                "name": "textSearch",
                "value": "",
                "type": "query",
                "description": "The case insensitive 'substring' filter based on the resource title."
              },
              {
                "name": "sortProperty",
                "value": "",
                "type": "query",
                "description": "Property of entity to sort by"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)"
              }
            ]
          }
        },
        {
          "info": {
            "name": "downloadImagePreview",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images/:type/:key/preview",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "Accept-Encoding",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ]
          }
        },
        {
          "info": {
            "name": "exportImage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images/:type/:key/export",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Type of the image: tenant or system"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Image resource key, for example thermostats_dashboard_background.jpeg"
              }
            ]
          }
        },
        {
          "info": {
            "name": "downloadPublicImage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.thingsboard.io/api/images/public/:publicResourceKey",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "Accept-Encoding",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "publicResourceKey",
                "value": "",
                "type": "path"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}