X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=api%2Fxapp_rest_api.yaml;h=6f7211ed78691e8f59bade962fabdfbb568ffda3;hb=refs%2Fchanges%2F48%2F5448%2F2;hp=efd5b8c161dfe2148ba5188cb0addbf2246cc7c2;hpb=844be329568878ce3e2f3aa4a5f9dcfc92b8b0f5;p=ric-plt%2Fxapp-frame.git diff --git a/api/xapp_rest_api.yaml b/api/xapp_rest_api.yaml index efd5b8c..6f7211e 100755 --- a/api/xapp_rest_api.yaml +++ b/api/xapp_rest_api.yaml @@ -11,6 +11,22 @@ basePath: /ric/v1 schemes: - http paths: + /config: + get: + summary: Returns the configuration of all xapps + tags: + - xapp + operationId: getXappConfigList + produces: + - application/json + - application/xml + responses: + '200': + description: successful query of xApp config + schema: + $ref: '#/definitions/XappConfigList' + '500': + description: Internal error /subscriptions: get: summary: Returns list of subscriptions @@ -100,6 +116,37 @@ paths: '500': description: Internal error definitions: + ConfigMetadata: + type: object + required: + - xappName + - configType + properties: + xappName: + type: string + description: Name of the xApp + configType: + type: string + description: The type of the content + enum: + - json + - xml + - other + XAppConfig: + type: object + required: + - metadata + - config + properties: + metadata: + $ref: '#/definitions/ConfigMetadata' + config: + type: object + description: Configuration in JSON format + XappConfigList: + type: array + items: + $ref: '#/definitions/XAppConfig' SubscriptionType: type: string enum: