Reference

Set environment store

Keeps the environment's data in your own bucket. The API checks it can write, list and delete there first. Only while the environment holds no namespaces or indexes.

PUT
/environments/{environment}/store

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

environment*string

Request Body

application/json
  1. body
store*string
Match^s3:\/\/[a-z0-9][a-z0-9.-]{1,61}[a-z0-9](\/[^?]*)?$
access*|

Response Body

The bucket, checked.

application/json
  1. response

Your bucket, when the environment keeps its data there. Null: the server's.

store*string
access*|
verified*|
Formatdate-time
Example Request
curl -X PUT 'https://example.com/v1/environments/string/store' \  -H 'Content-Type: application/json' \  -d '{  "store": "string",  "access": {    "type": "aws_role",    "roleArn": "string",    "region": "string"  }}'
Example Response
{  "store": "string",  "access": {    "type": "aws_role",    "roleArn": "string",    "externalId": "string",    "region": "string"  },  "verified": "2019-08-24T14:15:22Z"}