2018-03-17 18:26:18 +05:30
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
2018-03-27 19:54:05 +05:30
|
|
|
"type": { "type": ["string", "null"] },
|
2018-03-17 18:26:18 +05:30
|
|
|
"body": { "type": "string" },
|
|
|
|
"attachment": { "type": ["string", "null"] },
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" }
|
|
|
|
},
|
2020-05-24 23:13:21 +05:30
|
|
|
"required" : [
|
|
|
|
"id", "name", "username", "state", "avatar_url", "web_url"
|
|
|
|
]
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2020-04-22 19:07:51 +05:30
|
|
|
"commands_changes": { "type": "object", "additionalProperties": true },
|
2021-06-08 01:23:25 +05:30
|
|
|
"created_at": { "type": "string", "format": "date-time" },
|
|
|
|
"updated_at": { "type": "string", "format": "date-time" },
|
2018-03-17 18:26:18 +05:30
|
|
|
"system": { "type": "boolean" },
|
|
|
|
"noteable_id": { "type": "integer" },
|
|
|
|
"noteable_iid": { "type": "integer" },
|
2018-10-15 14:42:47 +05:30
|
|
|
"noteable_type": { "type": "string" },
|
|
|
|
"resolved": { "type": "boolean" },
|
|
|
|
"resolvable": { "type": "boolean" },
|
2020-04-22 19:07:51 +05:30
|
|
|
"resolved_by": { "type": ["string", "null"] },
|
2021-06-08 01:23:25 +05:30
|
|
|
"resolved_at": { "type": ["string", "null"] },
|
2022-08-27 11:52:29 +05:30
|
|
|
"confidential": { "type": ["boolean", "null"] },
|
|
|
|
"internal": { "type": ["boolean", "null"] }
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "body", "attachment", "author", "created_at", "updated_at",
|
|
|
|
"system", "noteable_id", "noteable_type"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|