Skip to content

Commit

Permalink
OAS Update
Browse files Browse the repository at this point in the history
  • Loading branch information
stackit-pipeline committed Jan 24, 2025
1 parent 999d8b3 commit c592757
Show file tree
Hide file tree
Showing 28 changed files with 5,987 additions and 586 deletions.
56 changes: 49 additions & 7 deletions services/authorization/v2/authorization.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,13 @@
"description": "Forbidden"
}
},
"summary": "Get available permissions"
"summary": "Get available permissions",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.get"
]
}
}
},
"/v2/users/{email}/memberships": {
Expand Down Expand Up @@ -533,7 +539,13 @@
"description": "Forbidden"
}
},
"summary": "List memberships of a user"
"summary": "List memberships of a user",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.get"
]
}
}
},
"/v2/users/{email}/permissions": {
Expand Down Expand Up @@ -616,7 +628,13 @@
"description": "Forbidden"
}
},
"summary": "List permissions of a user"
"summary": "List permissions of a user",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.get"
]
}
}
},
"/v2/{resourceId}/members": {
Expand Down Expand Up @@ -685,7 +703,13 @@
"description": "Forbidden"
}
},
"summary": "Add members to a resource"
"summary": "Add members to a resource",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.add"
]
}
}
},
"/v2/{resourceId}/members/remove": {
Expand Down Expand Up @@ -754,7 +778,13 @@
"description": "Forbidden"
}
},
"summary": "Remove members from a resource"
"summary": "Remove members from a resource",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.remove"
]
}
}
},
"/v2/{resourceType}/{resourceId}/members": {
Expand Down Expand Up @@ -828,7 +858,13 @@
"description": "Forbidden"
}
},
"summary": "Get members to a resource"
"summary": "Get members to a resource",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.member.get"
]
}
}
},
"/v2/{resourceType}/{resourceId}/roles": {
Expand Down Expand Up @@ -895,7 +931,13 @@
"description": "Forbidden"
}
},
"summary": "Get roles and permissions of a resource"
"summary": "Get roles and permissions of a resource",
"x-stackit-authorization": {
"disabled": true,
"implicit-actions": [
"iam.role.get"
]
}
}
}
},
Expand Down
60 changes: 56 additions & 4 deletions services/certificates/v1beta/certificates.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,20 @@
"description": "Default error response"
}
},
"summary": "Retrieve the list of TLS certificate stored in a project."
"summary": "Retrieve the list of TLS certificate stored in a project.",
"x-stackit-authorization": {
"actions": [
"alb.certificateservice.certificate.list"
],
"resource-id": "projectId",
"resource-id-type": "dynamic",
"resource-type": "project",
"service-enablement": {
"services": [
"cloud.stackit.loadbalancer"
]
}
}
},
"post": {
"description": "CreateCertificate will store a TLS certificate in a project.",
Expand Down Expand Up @@ -271,7 +284,20 @@
"description": "Default error response"
}
},
"summary": "Store a TLS certificate in a project."
"summary": "Store a TLS certificate in a project.",
"x-stackit-authorization": {
"actions": [
"alb.certificateservice.certificate.create"
],
"resource-id": "projectId",
"resource-id-type": "dynamic",
"resource-type": "project",
"service-enablement": {
"services": [
"cloud.stackit.loadbalancer"
]
}
}
}
},
"/v1beta/projects/{projectId}/certificates/{id}": {
Expand Down Expand Up @@ -337,7 +363,20 @@
"description": "Default error response"
}
},
"summary": "Delete a stored TLS certificate in a project."
"summary": "Delete a stored TLS certificate in a project.",
"x-stackit-authorization": {
"actions": [
"alb.certificateservice.certificate.delete"
],
"resource-id": "projectId",
"resource-id-type": "dynamic",
"resource-type": "project",
"service-enablement": {
"services": [
"cloud.stackit.loadbalancer"
]
}
}
},
"get": {
"description": "GetCertificate will return the public parts of a stored TLS certificate.",
Expand Down Expand Up @@ -404,7 +443,20 @@
"description": "Default error response"
}
},
"summary": "Retrieve the public parts of a stored TLS certificate."
"summary": "Retrieve the public parts of a stored TLS certificate.",
"x-stackit-authorization": {
"actions": [
"alb.certificateservice.certificate.get"
],
"resource-id": "projectId",
"resource-id-type": "dynamic",
"resource-type": "project",
"service-enablement": {
"services": [
"cloud.stackit.loadbalancer"
]
}
}
}
}
},
Expand Down
Loading

0 comments on commit c592757

Please sign in to comment.