POST /api-web/api/system/resources/icon/{path}

As of Version

product version 2020 Winter | component version 

Request MethodGET
Response FormatHTTP status code
Required Permission

Available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched. In the default configuration, access is granted via the YUUVIS_SYSTEM_INTEGRATOR role.

>> AUTHENTICATION Service
Description

Creates or updates the global or app-specific icon resource specified by path with the data passed as SVG image in a multipart request body.

Such icon endpoints are also available in the admin-controller and resource-controller. They are intended to serve for the configuration of object type icons. Use the technical name of the corresponding object type as a value for path, e.g. tenMytenant:Invoice or appMyapp:Contract.
>> Managing Icons

These defined icons are global ones. If not other icons are saved via the admin endpoint for the specific tenant the global icons are delivered with the corresponding resources endpoint

As of 2022 Autumn, an optional query parameter tenant can be specified in order to create/update the tenant-specific icon resource instead of the global or app-specific one.

Response HTTP status codes:

HTTP Status CodeMeaning
200 OK
201 OK
400 No icon was specified.
401 Unauthorized