Download OpenAPI specification:Download
null
Fetch the current counter value
Parameters:
Returns: the current counter value
user_id required | string <uuid4> (User Id) |
{- "user_id": "string"
}
{- "value": 42
}
Increment the counter value
Parameters:
Returns: the old and the new counter value
user_id required | string <uuid4> (User Id) |
{- "user_id": "string"
}
{- "old": 42,
- "new": 43
}
Reset the counter using magic
Parameters:
Returns: True
user_id required | string <uuid4> (User Id) |
{- "user_id": "string"
}
{- "ok": true
}
Set the counter to a specific value
Parameters:
Returns: True
password required | string (Password) |
value required | integer (Value) |
user_id required | string <uuid4> (User Id) |
{- "password": "string",
- "value": 0,
- "user_id": "string"
}
{- "old": 42,
- "new": 43
}
Daemon info endpoint for the server
Returns: a list of dicts containing information about all endpoints and endpoint collections
[- {
- "id": "<endpoint collection id>",
- "description": "<endpoint collection description>",
- "disabled": false,
- "endpoints": [
- {
- "id": "<endpoint id>",
- "description": "<endpoint description>",
- "disabled": false
}
]
}
]