diff --git a/swagger.yaml b/swagger.yaml index da9c13a..484191d 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -1812,31 +1812,53 @@ paths: content: application/json: schema: - type: array - items: - $ref: '#/components/schemas/topic_event_GET' + type: object + required: + skip + top + totalCount + data + properties: + skip: + type: integer + top: + type: integer + totalCount: + type: integer + nextLink: + type: string + data: + type: array + items: + $ref: "#/components/schemas/topic_event_GET" example: - [{ + { + "skip": 0, + "top": 1000, + "totalCount": 2, + "nextLink": null, + "data": [{ "topic_guid": "A245F4F2-2C01-B43B-B612-5E456BEF8116", "date": "2014-11-19T14:24:11.316Z", "author": "Architect@example.com", "events": [ - { - "type": "type_updated", - "value": "Error" - } + { + "type": "type_updated", + "value": "Error" + } ] - }, { + }, { "topic_guid": "A245F4F2-2C01-B43B-B612-5E456BEF8116", "date": "2013-10-21T17:34:22.409Z", "author": "Architect@example.com", "events": [ - { - "type": "status_updated", - "value": "Open" - } + { + "type": "status_updated", + "value": "Open" + } ] - }] + }] + } /bcf/{version}/projects/{project_id}/topics/comments/events: parameters: - $ref: "#/components/parameters/version"