Loading go-apps/meep-vis/api/swagger.yaml +54 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,11 @@ paths: application/json: schema: $ref: '#/components/schemas/V2xMsgPublication' example: msgContent: 'Hello World' msgEncodeFormat: 'base64' msgType: '1' stdOrganization: 'ETSI' responses: '204': $ref: '#/components/responses/204' Loading Loading @@ -209,6 +214,16 @@ paths: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' example: _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions' subscription: - _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' subscriptionType: V2xMsgSubscription '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -237,6 +252,17 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 responses: '201': description: 'In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type.' Loading Loading @@ -314,6 +340,20 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -343,6 +383,20 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 responses: '200': description: 'A response body containing data type describing the updated subscription is returned' Loading Loading
go-apps/meep-vis/api/swagger.yaml +54 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,11 @@ paths: application/json: schema: $ref: '#/components/schemas/V2xMsgPublication' example: msgContent: 'Hello World' msgEncodeFormat: 'base64' msgType: '1' stdOrganization: 'ETSI' responses: '204': $ref: '#/components/responses/204' Loading Loading @@ -209,6 +214,16 @@ paths: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' example: _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions' subscription: - _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' subscriptionType: V2xMsgSubscription '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -237,6 +252,17 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 responses: '201': description: 'In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type.' Loading Loading @@ -314,6 +340,20 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -343,6 +383,20 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/sub123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 responses: '200': description: 'A response body containing data type describing the updated subscription is returned' Loading