list-attributions (deprecated)
Deprecated
This command is deprecated and may be removed in a future release.
restish dci list-attributions [flags]
Returns a list of the attributions that your account has access to.
Attributions are listed in reverse chronological order by default.
Flags
--max-results: (string default:"500")
--page-token: (string)
--filter: (string)
--sort-by: (string enum:"name","owner","description","type","createTime","updateTime")
--sort-order: (string enum:"asc","desc")
Responses
200 (application/json)
OK - The request succeeded.
{
"type": "object",
"properties": {
"Attributions": {
"required": [
"name"
],
"type": "object",
"properties": {
"createTime": {
"type": "integer",
"description": "Creation time of this Attribution (in unix milliseconds)",
"format": "int64"
},
"description": {
"type": "string",
"description": "Attribution description",
"default": ""
},
"id": {
"type": "string",
"description": "attribution ID, identifying the attribution\nin:path"
},
"name": {
"type": "string",
"description": "Attribution Name"
},
"owner": {
"type": "string",
"description": "Attribution owner",
"default": ""
},
"type": {
"type": "string",
"description": "Type of Attribution can be either preset or custom"
},
"updateTime": {
"type": "integer",
"description": "Last time somebody modified this Attribution (in unix milliseconds)",
"format": "int64"
}
}
}
}
}
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: list-attributions, listattributions