Register Extension

Register Extension

Create a new object extension. Required right: "Object Extensions: Manage". Objects extensions are unique on:

  • (namespace, vendor) - these values are extracted from the channel urn
  • channel For further details, see the description of the data structure ObjectExtension.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/extensions/object-extensions
COPY
Request Body
ObjectExtension of type(s) application/json
Optional

Show optional properties

{
    "channel": {}
}
{
    "id": "string",
    "channel": {
        "name": "string",
        "id": "string"
    },
    "enabled": false,
    "selectorTypes": [
        "string"
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ObjectExtension of type(s) application/json;version=9.1.0
{
    "id": "string",
    "channel": {
        "name": "string",
        "id": "string"
    },
    "enabled": false,
    "selectorTypes": [
        "string"
    ]
}

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"channel":"object"}' https://{api_host}/cloudapi/1.0.0/extensions/object-extensions