changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "items": {
+ "properties": {
+ "attributes": {
+ "properties": {
+ "fileName": {
+ "example": "File Name",
+ "type": "string"
+ },
+ "id": {
+ "example": "MyAttachmentId",
+ "type": "string"
+ },
+ "length": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "title": {
+ "example": "Title",
+ "type": "string"
+ },
+ "updated": {
+ "example": "1970-01-01T00:00:00Z",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "example": "MyProjectId/MyWorkItemId/MyAttachmentId",
+ "type": "string"
+ },
+ "links": {
+ "properties": {
+ "content": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments/MyAttachmentId/content?revision=1234",
+ "type": "string"
+ },
+ "self": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments/MyAttachmentId?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"
+ },
+ "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": [
+ "workitem_attachments"
+ ],
+ "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/workitems/MyWorkItemId/attachments?page%5Bsize%5D=10&page%5Bnumber%5D=1",
+ "type": "string"
+ },
+ "last": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments?page%5Bsize%5D=10&page%5Bnumber%5D=9",
+ "type": "string"
+ },
+ "next": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments?page%5Bsize%5D=10&page%5Bnumber%5D=6",
+ "type": "string"
+ },
+ "prev": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments?page%5Bsize%5D=10&page%5Bnumber%5D=4",
+ "type": "string"
+ },
+ "self": {
+ "example": "server-host-name/application-path/projects/MyProjectId/workitems/MyWorkItemId/attachments?page%5Bsize%5D=10&page%5Bnumber%5D=5",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "meta": {
+ "properties": {
+ "totalCount": {
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}