POST /catalog/api/catalogs/{name}

As of Version

product version 2021 Winter | component version 

Request MethodPOST
Response FormatJSON
Required Permission

available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched.

>> AUTHENTICATION Service
Description

Adds the entries as specified in the JSON request body for the global catalog specified by its name.

If a catalog with the specified name does not exist, it is created.

If there are specified entries, that already exist in the catalog, they are ignored and only the nonexistent entries are added.

HTTP status codeDescription
204Entries are added.
201Catalog with entries created.
Request Header
Request Example

https://<host>/catalog/api/catalogs

{
    "objects": [
        {
            "properties": {
                "name": {
                    "value": "europeancountries"
                },
                "entries": {
                    "value": [["Spain"],["Italy"],["Slovakia"]]
                }
            }
        }
    ]
}
Response Example

204 No Content