Skip to content

Commit 3cb0e7d

Browse files
ci(prod): Release OpenAPI Spec V1 🚀. See https://github.com/mongodb/openapi/actions/runs/16835044803.
1 parent 806374c commit 3cb0e7d

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

openapi/v1-deprecated/v1.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6640,7 +6640,7 @@
66406640
"post": {
66416641
"tags": ["Cloud Provider Access"],
66426642
"summary": "Create One Cloud Provider Access Role",
6643-
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role.",
6643+
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously.",
66446644
"externalDocs": {
66456645
"description": "Set Up Access to Cloud Providers",
66466646
"url": "https://www.mongodb.com/docs/atlas/security/cloud-provider-access/"
@@ -45624,6 +45624,12 @@
4562445624
"description": "Unique 24-hexadecimal digit string that identifies the role.",
4562545625
"readOnly": true,
4562645626
"example": "32b6e34b3d91647abb20e7b8"
45627+
},
45628+
"status": {
45629+
"type": "string",
45630+
"description": "Provision status of the service account.",
45631+
"readOnly": true,
45632+
"enum": ["IN_PROGRESS", "COMPLETE", "FAILED", "NOT_INITIATED"]
4562745633
}
4562845634
}
4562945635
}
@@ -45879,6 +45885,16 @@
4587945885
"items": {
4588045886
"$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
4588145887
}
45888+
},
45889+
"gcpServiceAccounts": {
45890+
"type": "array",
45891+
"description": "List that contains the Google Service Accounts registered and authorized with MongoDB Cloud.",
45892+
"x-xgen-IPA-exception": {
45893+
"xgen-IPA-124-array-max-items": "Schema predates IPA validation"
45894+
},
45895+
"items": {
45896+
"$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
45897+
}
4588245898
}
4588345899
}
4588445900
},

openapi/v1-deprecated/v1.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6883,7 +6883,7 @@
68836883
"Cloud Provider Access"
68846884
],
68856885
"summary": "Create One Cloud Provider Access Role",
6886-
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role.",
6886+
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously.",
68876887
"externalDocs": {
68886888
"description": "Set Up Access to Cloud Providers",
68896889
"url": "https://www.mongodb.com/docs/atlas/security/cloud-provider-access/"
@@ -48825,6 +48825,17 @@
4882548825
"description": "Unique 24-hexadecimal digit string that identifies the role.",
4882648826
"readOnly": true,
4882748827
"example": "32b6e34b3d91647abb20e7b8"
48828+
},
48829+
"status": {
48830+
"type": "string",
48831+
"description": "Provision status of the service account.",
48832+
"readOnly": true,
48833+
"enum": [
48834+
"IN_PROGRESS",
48835+
"COMPLETE",
48836+
"FAILED",
48837+
"NOT_INITIATED"
48838+
]
4882848839
}
4882948840
}
4883048841
}
@@ -49110,6 +49121,16 @@
4911049121
"items": {
4911149122
"$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
4911249123
}
49124+
},
49125+
"gcpServiceAccounts": {
49126+
"type": "array",
49127+
"description": "List that contains the Google Service Accounts registered and authorized with MongoDB Cloud.",
49128+
"x-xgen-IPA-exception": {
49129+
"xgen-IPA-124-array-max-items": "Schema predates IPA validation"
49130+
},
49131+
"items": {
49132+
"$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
49133+
}
4911349134
}
4911449135
}
4911549136
},

0 commit comments

Comments
 (0)