storage

Creates a new object store bucket with the given params

Creates a new object store bucket on the Cloud provider referenced by the given secret. The credentials for creating the bucket is taken from the provided secret.

post/api/v1/orgs/{orgId}/buckets

Path parameters

orgIdinteger required

Organization identifier

Request body

secretIdstring
secretNamestring
namestring required

Example request

{
  "secretName": "my-aws-secret",
  "name": "mybucket",
  "secretId": "secretId",
  "properties": {
    "amazon": {
      "location": "eu-west-1"
    },
    "google": {
      "location": "europe"
    },
    "azure": {
      "resourceGroup": "resourceGroup",
      "location": "westeurope",
      "storageAccount": "mystorageaccount"
    }
  }
}

Response

Storage bucket creation request accepted

namestring required
cloud'amazon' | 'azure' | 'google' required

Example response

{
  "cloud": "amazon",
  "name": "mybucket"
}

Changes

Changed in 3 of the 50 revisions of this API.44

  • 0caa9634f49511See the full diff
    • removed the request property /

      request-property-removed

    • removed the alibaba enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1d054e88f75711See the full diff
    • removed the request property /

      request-property-removed

    • removed the oracle enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 5186ea64aa5622See the full diff
    • added the new alibaba enum value to the response property for the response status

      response-property-enum-value-added

    • added the new oracle enum value to the response property for the response status

      response-property-enum-value-added

    • added the new optional request property /

      new-optional-request-property

    • added the new optional request property /

      new-optional-request-property

    This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog