changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "items": {
+ "properties": {
+ "attributes": {
+ "properties": {
+ "created": {
+ "example": "1970-01-01T00:00:00Z",
+ "format": "date-time",
+ "type": "string"
+ },
+ "id": {
+ "example": "MyCommentId",
+ "type": "string"
+ },
+ "resolved": {
+ "type": "boolean"
+ },
+ "text": {
+ "properties": {
+ "type": {
+ "enum": [
+ "text/html",
+ "text/plain"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "example": "My text value",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "example": "MyProjectId/MySpaceId/MyDocumentId/MyCommentId",
+ "type": "string"
+ },
+ "links": {
+ "properties": {
+ "self": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments/MyCommentId?revision=1234",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "meta": {
+ "properties": {
+ "errors": {
+ "items": {
+ "properties": {
+ "detail": {
+ "description": "Human-readable explanation specific to this occurrence of the problem.",
+ "example": "Unexpected token, BEGIN_ARRAY expected, but was : BEGIN_OBJECT (at $.data)",
+ "type": "string"
+ },
+ "source": {
+ "properties": {
+ "parameter": {
+ "description": "String indicating which URI query parameter caused the error.",
+ "example": "revision",
+ "type": "string"
+ },
+ "pointer": {
+ "description": "JSON Pointer to the associated entity in the request document.",
+ "example": "$.data",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource causing the error.",
+ "properties": {
+ "id": {
+ "example": "MyProjectId/id",
+ "type": "string"
+ },
+ "type": {
+ "example": "type",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "status": {
+ "description": "HTTP status code applicable to this problem.",
+ "example": "400",
+ "type": "string"
+ },
+ "title": {
+ "description": "Short, human-readable summary of the problem.",
+ "example": "Bad Request",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "relationships": {
+ "properties": {
+ "author": {
+ "properties": {
+ "data": {
+ "properties": {
+ "id": {
+ "example": "MyUserId",
+ "type": "string"
+ },
+ "revision": {
+ "example": "1234",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "users"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "childComments": {
+ "properties": {
+ "data": {
+ "items": {
+ "properties": {
+ "id": {
+ "example": "MyProjectId/MySpaceId/MyDocumentId/MyCommentId",
+ "type": "string"
+ },
+ "revision": {
+ "example": "1234",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "document_comments"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "meta": {
+ "properties": {
+ "totalCount": {
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "parentComment": {
+ "properties": {
+ "data": {
+ "properties": {
+ "id": {
+ "example": "MyProjectId/MySpaceId/MyDocumentId/MyCommentId",
+ "type": "string"
+ },
+ "revision": {
+ "example": "1234",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "document_comments"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "project": {
+ "properties": {
+ "data": {
+ "properties": {
+ "id": {
+ "example": "MyProjectId",
+ "type": "string"
+ },
+ "revision": {
+ "example": "1234",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "projects"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "revision": {
+ "example": "1234",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "document_comments"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "included": {
+ "description": "Related entities might be returned, see <a href=\"https://docs.sw.siemens.com/en-US/doc/230235217/PL20250606201928474.polarion_help_sc.xid2134849/xid2134871\" target=\"_blank\">REST API User Guide</a>.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "links": {
+ "properties": {
+ "first": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments?page%5Bsize%5D=10&page%5Bnumber%5D=1",
+ "type": "string"
+ },
+ "last": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments?page%5Bsize%5D=10&page%5Bnumber%5D=9",
+ "type": "string"
+ },
+ "next": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments?page%5Bsize%5D=10&page%5Bnumber%5D=6",
+ "type": "string"
+ },
+ "prev": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments?page%5Bsize%5D=10&page%5Bnumber%5D=4",
+ "type": "string"
+ },
+ "self": {
+ "example": "server-host-name/application-path/projects/MyProjectId/spaces/MySpaceId/documents/MyDocumentId/comments?page%5Bsize%5D=10&page%5Bnumber%5D=5",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "meta": {
+ "properties": {
+ "totalCount": {
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}