v1

latestOpenAPI 3.0.3Apache 2.02026-07-13161446.9 KB
Data API

Create or overwrite a document

If the path does not refer to an existing document (for example us-west/servers), the server will attempt to create all the necessary containing documents.

This behavior is similar to the Unix command mkdir -p.

put/v1/data/{path}

Headers

If-None-Matchstring

The server will respect the If-None-Match header if it is set to * (in other words, it will not overwrite an existing document located at the specified path).

Request body

string required

Example request

"{\n  \"users\": {\n    \"user-id-1\": {\n      \"isAdmin\": true\n    }\n  }\n}"

Response

Success