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: "204"
spec:
  comments: []
  customFields: []
  followups: []
  relatesTo: []
  tags: []
  user: []
  via: {}
status: []
systemMetadata:
  creationTimestamp: "2021-05-12T11:17:41.178762466Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: 47a95c21-3f66-432d-bd99-e6ecf1f5b465

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build672621555_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, 12 May 2021 11:17:41 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "resource_version": "204",
  "metadata": {
    "name": "object-1",
    "namespace": "documentation",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "47a95c21-3f66-432d-bd99-e6ecf1f5b465",
    "creation_timestamp": "2021-05-12T11:17:41.178762466Z",
    "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": [
  ]
}