iva-studio-workspace/copilot/posting/copilotux/IVA/basic-syntax-test-markdown.posting.yaml

40 lines
2.1 KiB
YAML

name: Basic Syntax Test (markdown)
method: POST
url: $BASE_URL/v1/cloud-event
body:
content: |-
{
"customerId": "$CUSTOMER_ID",
"source": "//iva/us-east-prd/int/demo/markdown",
"id": "202505141633459290000000000n0000001",
"type": "verint.ui_messages.text.v1",
"time": "2025-05-14T16:33:45.929Z",
"upn": "$UPN",
"userUUID": "$USER_UUID",
"data": {
"version": "1.0.0",
"format": "markdown",
"persona_icon": {
"id": "Verint-Bot-Head",
"color": "#007ACC"
},
"title_icon": {
"id": "message-status-info",
"color": "#FF5722"
},
"title": "Basic Syntax",
"body": "# Heading level 1\n\n## Heading level 2\n\n###### Heading level 5\n\n####### Heading level 6\n\nI really like using Markdown.\n\nI think I'll use it to format all of my documents from now on.\n\nThis is the first line.\nAnd this is the second line.\n\nI just love **bold text**.\n\nItalicized text is the *cat's meow*.\n\n> Dorothy followed her through many of the beautiful rooms in her castle.\n\n> Dorothy followed her through many of the beautiful rooms in her castle.\n>\n>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood\n\n1. First item\n8. Second item\n3. Third item\n 1. Indented item\n 1. Intended Item\n5. Fourth item\n\n* First item\n* Second item\n* Third item\n* Fourth item\n\nAt the command prompt, type `nano`.\n\n---\n\nMy favorite search engine is [Duck Duck Go](https://duckduckgo.com \"The best search engine for privacy\").\n\n<Peter.Morton@verint.com>\n\n![Scotland is beautiful!](https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/Skara_Brae_-_geograph.org.uk_-_3912232.jpg/800px-Skara_Brae_-_geograph.org.uk_-_3912232.jpg)"
}
}
content_type: application/json
auth:
type: bearer_token
bearer_token:
token: $access_token
headers:
- name: content-type
value: application/json
scripts:
setup: cloud-events.py
on_request: cloud-events.py