changedOutput schema / properties / articles / items / allOf
Previous value: -[
- {
- "properties": {
- "collection_id": {
- "type": "string"
- },
- "collection_ids": {
- "description": "Every collection outside the trash it is listed in, its home (collection_id) first; names in colliedesk_kb_collections_list.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "last_change": {
- "properties": {
- "agent_request_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "at": {
- "type": "string"
- },
- "by": {
- "description": "The person who made the change (or, before roles, approved the request that made it).",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "enum": [
- "create",
- "edit",
- "delete",
- "restore",
- "undelete",
- "import",
- "media_replace",
- "ai_exclude",
- "ai_include"
- ],
- "type": "string"
- },
- "restored_from_version": {
- "type": [
- "integer",
- "null"
- ]
- },
- "version": {
- "type": "integer"
- },
- "via_token": {
- "description": "Label of the agent token that made it; null when a person made it in the web app.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": [
- "object",
- "null"
- ]
- },
- "number": {
- "description": "Never changes; the help center address is /a/<number>-<slug>.",
- "type": "integer"
- },
- "position": {
- "description": "Its place in its collection, set with colliedesk_kb_order_set; 0 until the collection is ordered by hand (then by title).",
- "type": "integer"
- },
- "published_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "slug": {
- "type": "string"
- },
- "status": {
- "enum": [
- "draft",
- "published"
- ],
- "type": "string"
- },
- "team_text": {
- "properties": {
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title"
- ],
- "type": "object"
- },
- "updated_at": {
- "type": "string"
- },
- "url": {
- "description": "The public address of the article on the help center. To point a customer to it, put the title and this address on two lines in the reply: mail goes out as plain text, so Markdown links show as written. It opens only while the article is published and the help center is on (colliedesk_help_center_get).",
- "type": "string"
- }
- },
- "required": [
- "id",
- "number",
- "collection_id",
- "collection_ids",
- "position",
- "status",
- "slug",
- "published_at",
- "updated_at",
- "last_change",
- "url",
- "team_text"
- ],
- "type": "object"
- },
- {
- "properties": {
- "deleted_at": {
- "type": "string"
- },
- "deleted_by": {
- "type": [
- "string",
- "null"
- ]
- },
- "purges_at": {
- "type": "string"
- }
- },
- "required": [
- "deleted_at",
- "purges_at"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "collection_id": {
+ "type": "string"
+ },
+ "collection_ids": {
+ "description": "Every collection outside the trash it is listed in, its home (collection_id) first; names in colliedesk_kb_collections_list.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "has_draft": {
+ "description": "Unpublished changes wait in a draft; colliedesk_kb_article_get shows them.",
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_change": {
+ "properties": {
+ "agent_request_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "at": {
+ "type": "string"
+ },
+ "by": {
+ "description": "The person who made the change (or, before roles, approved the request that made it).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "enum": [
+ "create",
+ "edit",
+ "draft",
+ "delete",
+ "restore",
+ "undelete",
+ "import",
+ "media_replace",
+ "ai_exclude",
+ "ai_include"
+ ],
+ "type": "string"
+ },
+ "restored_from_version": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "version": {
+ "type": "integer"
+ },
+ "via_token": {
+ "description": "Label of the agent token that made it; null when a person made it in the web app.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "number": {
+ "description": "Never changes; the help center address is /a/<number>-<slug>.",
+ "type": "integer"
+ },
+ "position": {
+ "description": "Its place in its collection, set with colliedesk_kb_order_set; 0 until the collection is ordered by hand (then by title).",
+ "type": "integer"
+ },
+ "published_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "draft",
+ "published"
+ ],
+ "type": "string"
+ },
+ "team_text": {
+ "properties": {
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The public address of the article on the help center. To point a customer to it, put the title and this address on two lines in the reply: mail goes out as plain text, so Markdown links show as written. It opens only while the article is published and the help center is on (colliedesk_help_center_get).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "number",
+ "collection_id",
+ "collection_ids",
+ "position",
+ "status",
+ "slug",
+ "published_at",
+ "updated_at",
+ "last_change",
+ "url",
+ "team_text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "deleted_at": {
+ "type": "string"
+ },
+ "deleted_by": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "purges_at": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "deleted_at",
+ "purges_at"
+ ],
+ "type": "object"
+ }
+]