Skip to main content

create-attribution-group (deprecated)

Deprecated

This command is deprecated and may be removed in a future release.

restish dci create-attribution-group

Creates a new attribution group.

Request

Content-Type: application/json

Schema

{
"required": [
"attributions",
"name"
],
"type": "object",
"properties": {
"attributions": {
"type": "array",
"description": "List of the attributions that are part of the attribution group",
"items": {
"type": "string"
}
},
"description": {
"type": "string",
"description": "Description of the attribution group",
"default": "description"
},
"name": {
"type": "string",
"description": "Name of the attribution group",
"default": "attribution group"
},
"nullFallback": {
"type": "string",
"description": "Custom label for any values that do not fit into attributions",
"default": "Unallocated"
}
}
}

Responses

201

Created - The request succeeded. Id of the created attribution group

400 (application/json)

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

404 (application/json)

Not Found - The requested resource does not exist.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: create-attribution-group, createattributiongroup