Skip to main content

Create Content Storage

POST 

https://app.tolgee.io/v2/projects/:projectId/content-storages

Create Content Storage

Request

Path Parameters

    projectId int64required

Bodyrequired

    azureContentStorageConfig object
    connectionStringstring

    Possible values: <= 255 characters

    containerNamestringrequired

    Possible values: <= 255 characters

    namestringrequired

    Possible values: <= 100 characters

    publicUrlPrefixstring

    Possible values: <= 255 characters

    s3ContentStorageConfig object
    accessKeystring

    Possible values: <= 255 characters

    bucketNamestringrequired

    Possible values: <= 255 characters

    contentStorageTypestring

    Possible values: [S3, AZURE]

    enabledboolean
    endpointstringrequired

    Possible values: <= 255 characters

    secretKeystring

    Possible values: <= 255 characters

    signingRegionstringrequired

    Possible values: <= 255 characters

Responses

OK

Schema
    azureContentStorageConfig object
    containerNamestring
    idint64required
    namestringrequired
    publicUrlPrefixstring
    s3ContentStorageConfig object
    bucketNamestringrequired
    endpointstringrequired
    signingRegionstringrequired

Authorization: X-API-Key

name: X-API-Keytype: apiKeyin: header

Request Collapse all
Base URL
https://app.tolgee.io
Auth
Parameters
— pathrequired
Body required
{
  "azureContentStorageConfig": {
    "connectionString": "string",
    "containerName": "string"
  },
  "name": "string",
  "publicUrlPrefix": "string",
  "s3ContentStorageConfig": {
    "accessKey": "string",
    "bucketName": "string",
    "contentStorageType": "S3",
    "enabled": true,
    "endpoint": "string",
    "secretKey": "string",
    "signingRegion": "string"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!