40 lines
2.3 KiB
YAML
40 lines
2.3 KiB
YAML
name: Extended 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": "Extended Syntax",
|
|
"body": "# Tables\n\n| Syntax | Description |\n| ----------- | ----------- |\n| Header | Title |\n| Paragraph | Text |\n\n| Syntax | Description | Test Text |\n| :--- | :----: | ---: |\n| Header | Title | Here's this |\n| Paragraph | Text | And more |\n\n# Fenced Code Block\n\n```json\n{\n \"firstName\": \"John\",\n \"lastName\": \"Smith\",\n \"age\": 25\n}\n```\n\n# Footnotes\n\n Here's a simple footnote,[^1] and here's a longer one.[^bignote]\n\n[^1]: This is the first footnote.\n\n[^bignote]: Here's one with multiple paragraphs and code.\n\n Indent paragraphs to include them in the footnote.\n\n `{ my code }`\n\n Add as many paragraphs as you like.\n\n# Linking to Heading IDs\n\n### My Great Heading {#custom-id}\n\n[Heading IDs](#heading-ids)\n\n# Strikethrough\n\n~~The world is flat.~~ We now know that the world is round.\n\n# Task lists\n\n- [x] Write the press release\n- [ ] Update the website\n- [ ] Contact the media\n\n# Emojis\n\nGone camping! ⛺ Be back soon.\n\nThat is so funny! 😂\n\n### Emoji Shortcodes\n\nDon't work :sad:\n\n# Highlight\n\nI need to highlight these ==very important words==.\n\n# Subscript\n\nH~2~O\n\n (note our renderer uses '~' for strikethrough)\n\n# Superscript\n\nX^2^"
|
|
}
|
|
}
|
|
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
|