Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
288 changes: 288 additions & 0 deletions bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -18868,6 +18868,54 @@
"metadata": {
"type": "object"
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"commentId": {
"type": "string",
"maxLength": 900
Expand Down Expand Up @@ -21046,6 +21094,54 @@
"metadata": {
"type": "object"
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"mentionees": {
"type": "array",
"description": "The object of the mentions type and user who get a notification from the post.",
Expand Down Expand Up @@ -131194,6 +131290,54 @@
"anything": "you want"
}
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"postId": {
"type": "string",
"maxLength": 900,
Expand Down Expand Up @@ -132779,6 +132923,54 @@
"anything": "you want"
}
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"postId": {
"type": "string",
"maxLength": 900,
Expand Down Expand Up @@ -168623,6 +168815,54 @@
"anything": "you want"
}
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"postId": {
"type": "string",
"maxLength": 900,
Expand Down Expand Up @@ -171616,6 +171856,54 @@
"metadata": {
"type": "object"
},
"links": {
"type": "array",
"maxItems": 100,
"description": "Array of URL links extracted from content with metadata for link preview rendering",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"index": {
"type": "number",
"minimum": 0,
"description": "Starting position of the URL in the original text content"
},
"length": {
"type": "number",
"minimum": 1,
"description": "Length of the URL string in the original text content"
},
"url": {
"type": "string",
"maximum": 2000,
"description": "The complete URL found in the content"
},
"renderPreview": {
"type": "boolean",
"default": false,
"description": "Flag indicating whether to render a rich preview for this link"
},
"domain": {
"type": "string",
"maximum": 2000,
"description": "Domain name extracted from the URL (e.g., 'example.com')"
},
"title": {
"type": "string",
"maximum": 2000,
"description": "Title of the linked page, typically extracted from Open Graph or meta tags"
},
"imageUrl": {
"type": "string",
"maximum": 2000,
"description": "URL of the preview image for the link, typically extracted from Open Graph tags"
}
}
}
},
"tags": {
"type": "array",
"minItems": 0,
Expand Down
2 changes: 2 additions & 0 deletions schema/post.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,8 @@ CreatePost:
description: "Additional properties to support custom fields."
example:
anything: "you want"
links:
$ref: './shared.yaml#/links'
postId:
type: "string"
maxLength: 900
Expand Down
37 changes: 37 additions & 0 deletions schema/shared.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
links:
type: "array"
maxItems: 100
description: "Array of URL links extracted from content with metadata for link preview rendering"
items:
type: "object"
required:
- url
properties:
index:
type: 'number'
minimum: 0
description: "Starting position of the URL in the original text content"
length:
type: 'number'
minimum: 1
description: "Length of the URL string in the original text content"
url:
type: 'string'
maximum: 2000
description: "The complete URL found in the content"
renderPreview:
type: 'boolean'
default: false
description: "Flag indicating whether to render a rich preview for this link"
domain:
type: 'string'
maximum: 2000
description: "Domain name extracted from the URL (e.g., 'example.com')"
title:
type: 'string'
maximum: 2000
description: "Title of the linked page, typically extracted from Open Graph or meta tags"
imageUrl:
type: 'string'
maximum: 2000
description: "URL of the preview image for the link, typically extracted from Open Graph tags"
Loading