API Documentation
The Lucid API is the logical interface used to interact with a node. By default, your node's server listens on port 7021.
Last updated
The Lucid API is the logical interface used to interact with a node. By default, your node's server listens on port 7021.
Last updated
PUT
https://localhost:7021/api/kv/:key
This endpoint allows you store data at a specific key. If the key is not used yet, it will be created.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://localhost:7021/api/kv/:key
This endpoint allows you to get data associated with a key.
DELETE
https://localhost:7021/api/kv/:key
This endpoint allows you to delete an existing key with its associated data.
HEAD
https://localhost:7021/api/kv/:key
Check if a key was initialized in the Lucid node.
PATCH
https://localhost:7021/api/kv/:key
Execute some operation like lock/unlock or other.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
key
string
Key of the value to store
Authorization
string
API authentification JSON Web Token
Raw Body
string
Raw body (Plain text, JSON, ...) or raw binary content
key
string
Key of the data to get
Authorization
string
API authentification JSON Web Token
key
string
Key of the data to remove
Authorization
string
API authentification JSON Web Token
key
string
Key of the data to check
Authorization
string
API authentification JSON Web Token
key
string
Key of the data to operate
Authorization
string
API authentification JSON Web Token
operation
string
Operation to perform (lock, unlock etc)