Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Policy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
Security and Compliance
Policy
Commits
b1606a3b
Commit
b1606a3b
authored
1 year ago
by
Shane Hutchins
Browse files
Options
Downloads
Patches
Plain Diff
Draft of openapi.yaml for M18
parent
52089869
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!343
Notice Update, Updated libraries, Version change and Backup API
Pipeline
#185132
failed
1 year ago
Stage: review
Stage: publish
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/openapi.yaml
+53
-5
53 additions, 5 deletions
docs/openapi.yaml
with
53 additions
and
5 deletions
docs/openapi.yaml
+
53
−
5
View file @
b1606a3b
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment