Data Payload
Use this method to store payloads that are 2,000 bytes (2KB) or smaller. If your payload MIGHT cross over this threshold, then please use the Span method.
Last updated
Use this method to store payloads that are 2,000 bytes (2KB) or smaller. If your payload MIGHT cross over this threshold, then please use the Span method.
Last updated
The Logware API will be considered EOL (End of Life) on January 1, 2024. Support for the API and its methods will discontinue on that date. So that you know- Logware customers will be contacted in advance with migration instructions.
POST
https://api.logware.io/api/data
Post the Data value you wish to store, get a response with a Task Id. Use the Get method with the Task Id to get the Transaction Id. The Task Id can be discarded. The Transaction Id is permanent. Store the Transaction Id for future lookup of the Data value stores.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
The Task Id included in the StoreData method response is temporary and does not need to be saved. Use the Task Id to get the Transaction Id with the StoreDataId method below. The Transaction Id is permanent and must be saved if you intend to look up the data value stored later in the future. After 1 hour, the Task Id is expunged and no longer accessible.
GET
https://api.logware.io/api/data/[env]/[taskid]
The Transaction Id will be available within 5 seconds of the StoreData POST method response. Use this method to get the permanent Transaction Id of the stored Data value. Your application has 1 hour to get the Transaction Id. After 1 hour passes, the Task Id is expunged. If you miss the 1 hour expiry, you will need to store another record to get a new Transaction Id.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
token
string
Authentication Bearer Token
env
string
Target environment [ prod | test ]
data
string
The Data string to store
env
string
Target environment [ prod | test ]
taskid
string
The value provided in the StoreData POST response
token
string
Authentication Bearer Token