NodeDataLog
Definition
NodeDataLog Type
- JSON
- Typescript
- Kotlin
nodeDataLog.json
{
"id": 0,
"userID": 0,
"nodeSwitchID": 0,
"value": 0,
"createdAt": "",
}
Get NodeDataLogs
- Curl
- Typescript
- Kotlin
curl -X GET "https://${baseUrl}/node-data-log/?\$filter=&\$orderBy=&\$page=1&\$pageSize=10" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Get NodeDataLog
- Curl
- Typescript
- Kotlin
curl -X GET "https://${baseUrl}/node-data-log/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Apply NodeDataLog.ID
- Curl
- Typescript
- Kotlin
curl -X POST "https://${baseUrl}/apply/node-data-log/id/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Create NodeDataLog
- Curl
- Typescript
- Kotlin
curl -X POST "https://${baseUrl}/node-data-log/" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @nodeDataLog.json
info
nodeDataLog.json
{
"userID": 0,
"nodeSwitchID": 0,
"value": 0,
}
tip
success status: 201
Update NodeDataLog
- Curl
- Typescript
- Kotlin
curl -X PUT "https://${baseUrl}/node-data-log/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d @nodeDataLog.json
info
nodeDataLog.json
{
"userID": 0,
"nodeSwitchID": 0,
"value": 0,
}
Update NodeDataLog Partial
- Curl
- Typescript
- Kotlin
curl -X PATCH "https://${baseUrl}/node-data-log/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Attrs: userID,nodeSwitchID,value" \
-d @nodeDataLog.json
info
nodeDataLog.json
{
"userID": 0,
"nodeSwitchID": 0,
"value": 0,
}
Destroy NodeDataLog
- Curl
- Typescript
- Kotlin
curl -X DELETE "https://${baseUrl}/node-data-log/${id}" \
-H "Authorization: Bearer ${accessToken}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"