ves-io-schema-customer_support-CustomAPI-AdminList

Examples of performing customer_support CustomAPI AdminList

Usecase:

Perform AdminList on customer_support

Request:

Request using vesctl:

vesctl request rpc customer_support.CustomAPI.AdminList -i request.yaml --uri /public/namespaces/namespace-literal/admin/customer_supports --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

errors: []
items:
- annotations: {}
  getSpec:
    authorName: user@tenant.com
    category: test category
    comments:
    - attachmentIds: []
      attachmentsInfo:
      - attachment: YXR0YWNobWVudA==
        contentType: text/plain
        filename: file.txt
        tpId: "1"
      authorEmail: user@tenant.com
      authorName: user@tenant.com
      createdAt: "2021-07-14T08:06:53.672126486Z"
      html: <p>html</p>
      plainText: plain text
    createdAt: "2021-07-14T08:06:53.672127006Z"
    customFields: []
    description: short description
    followups: []
    priority: PRIORITY_HIGH
    relatesTo: []
    status: STATUS_OPEN
    subject: subject
    tags: []
    tpId: "1"
    type: TYPE_INCIDENT
    updateAt: "2021-07-14T08:06:53.672127164Z"
    user: []
    via: {}
  labels: {}
  name: name
  namespace: system
  statusSet: []
  tenant: ves-io
  uid: 52b7cde9-993b-4e61-ba36-34e84077a453

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/web/namespaces/namespace-literal/admin/customer_supports?label_filter=&namespace=&report_fields=