Important: This API is experimental. It may be changed or removed in future versions.

To call this method, the user must have administrator privileges.

Request

POST /pub/v1/storage/{namespace}/{code}/{key}

Path parameters

Parameter name Value Description Additional
namespace string

Workspace code

Required
code string

App code

Required
key string

Key

Required

Request body

The resource sent in the request body is  Saving data by key to the app storage — Request. It contains the following writable properties:

{
    "data": "string"
}

Properties

Name Type Description Additional
data string

Data to save

Optional

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Response model for saving data by key

Response model for saving data by key (Saving data by key to the app storage)
400 Bad Request

Invalid request parameters

403 Forbidden

The user on whose behalf the data is requested must have the administrator’s permissions