Jump to: navigation, search

Fetch list of media icons

Method

GET

Syntax

GET /icons/<tenant_dbid>?invalidateCache=<true/false>

Parameters

Parameter Name Description Default Value
invalidateCache Optional. Can be either true or false. With value true, the iWD Manager backend does not use the inner cache and must reload icons from Configuration Server. Value false means that iWD Manager can use the inner cache for better performance. If the parameter is not present, the inner cache is used (same as for invalidateCache=false). false

Response Body

[
    {
        "media_type": "<media_type>",
        "media_icon":
        {
            "content_type": "<content_type>",
            "name": "<icon_file_name>",
            "encoding": "base64",
            "data": "<icon_data_encoded_with_encoding_method>"
        }
    },
    ...
]

Notes

  • There may be icons with media_type that is missing in the media types list. They should be returned as well.
  • Currently only "base64" is a valid value of "encoding".
This page was last edited on December 19, 2017, at 11:03.
Comments or questions about this documentation? Contact us for support!