ves-io-schema-customer_support-API-Get

Examples of getting customer_support

Usecase:

Get customer_support.

Request using vesctl:

vesctl configuration get customer_support object-1 --namespace documentation

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: object-1
  namespace: documentation
referringObjects: []
resourceVersion: "216"
spec:
  comments: []
  customFields: []
  followups: []
  relatesTo: []
  tags: []
  user: []
  via: {}
status: []
systemMetadata:
  creationTimestamp: "2021-08-25T09:02:51.879033487Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: e07f89d3-2bdc-47a9-a65a-9947a43d076b

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/documentation/customer_supports/object-1?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 1149
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:02:51 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "resource_version": "216",
  "metadata": {
    "name": "object-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "e07f89d3-2bdc-47a9-a65a-9947a43d076b",
    "creation_timestamp": "2021-08-25T09:02:51.879033487Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "type": "TYPE_UNKNOWN",
    "category": "",
    "priority": "PRIORITY_UNKNOWN",
    "status": "STATUS_UNKNOWN",
    "description": "",
    "subject": "",
    "tags": [
    ],
    "custom_fields": [
    ],
    "via": {
    },
    "user": [
    ],
    "comments": [
    ],
    "created_at": null,
    "update_at": null,
    "tp_id": "",
    "followups": [
    ],
    "relates_to": [
    ],
    "escalated": false,
    "author_name": ""
  },
  "status": [
  ],
  "referring_objects": [
  ]
}