diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 058a3eb2b40dba3f166f3e7ce2d55c42a6624d17..9f74c02b3348127f86e79571459b81e49e0802c4 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -3,7 +3,7 @@ info: title: Policy Service description: >2 - OSDU Policy Service v0.1.3 API + OSDU Policy Service v0.1.4 API Policy service is used for management and evaluation of dynamic policies in OSDU. @@ -35,7 +35,7 @@ info: name: Apache 2.0 url: >- https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/raw/trusted-FastAPI/LICENSE - version: 0.1.3 + version: 0.1.4 paths: /: get: @@ -675,7 +675,7 @@ paths: tags: - translate - translate - summary: Translate Policy + summary: Translate Policy Api description: >- ## Translate policy @@ -687,7 +687,7 @@ paths: Please note: xuserid, token and datapartitionid are now actively inserted into input request - operationId: translate_policy_api_policy_v1_translate_post + operationId: translate_policy_api_api_policy_v1_translate_post parameters: - required: false schema: @@ -988,6 +988,55 @@ paths: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' + /api/policy/v1/backup: + get: + tags: + - diagnostic + summary: Backup + description: Experimental Backup API. + operationId: backup_api_policy_v1_backup_get + parameters: + - required: false + schema: + title: Correlation-Id + type: string + name: correlation-id + in: header + - required: false + schema: + title: User-Agent + type: string + name: user-agent + in: header + - description: identifier of the data partition to query + required: false + schema: + title: Data-Partition-Id + minLength: 1 + type: string + description: identifier of the data partition to query + name: data-partition-id + in: header + - description: identifier the user in the query + required: false + schema: + title: X-User-Id + minLength: 1 + type: string + description: identifier the user in the query + name: x-user-id + in: header + responses: + '200': + description: Successful Response + '422': + description: Validation Error + content: + application/json: + schema: + $ref: '#/components/schemas/HTTPValidationError' + security: + - HTTPBearer: [] /diag/require_authorized_user: get: tags: @@ -1339,7 +1388,6 @@ components: title: Input required: - operation - - groups type: object properties: operation: