Loading config/api/vis-api.yaml +83 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,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 @@ -204,6 +209,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/123' callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' subscriptionType: V2xMsgSubscription '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -232,6 +247,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 @@ -243,6 +269,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/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -309,6 +349,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/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -338,6 +392,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/123' 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 @@ -349,6 +417,21 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading
config/api/vis-api.yaml +83 −0 Original line number Diff line number Diff line Loading @@ -167,6 +167,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 @@ -204,6 +209,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/123' callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' subscriptionType: V2xMsgSubscription '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -232,6 +247,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 @@ -243,6 +269,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/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -309,6 +349,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/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading Loading @@ -338,6 +392,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/123' 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 @@ -349,6 +417,21 @@ paths: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' example: example: subscriptionType: V2xMsgSubscription callbackReference: 'http://my.callback.com/vis-v2x-msg/some-id' _links: self: href: 'http://meAppServer.example.com/vis/v2/subscriptions/123' filterCriteria: stdOrganization: 'ETSI' msgType: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 '400': $ref: '#/components/responses/400' '401': Loading