Changes
Page history
Frederick888 created page: home
authored
Jul 30, 2016
by
Frederick Zhang
Show whitespace changes
Inline
Side-by-side
home.md
View page @
b0359878
...
...
@@ -70,4 +70,19 @@
| ----- | ----- | ----- |
| nfc_pass | base64 string | encrypted NFC password, plaintext is char(12) |
| level | int | 0: low, 1: high |
| expiration | int | UNIX time |
## Edit the canonical name or security level/expiration for a machine
*
URL:
`machine/edit`
*
Request
| Parameter | Type | Description |
| ----- | ----- | ----- |
| username | string | username |
| password | string | password |
| machine_id | int | ID of the machine to edit |
| machine_name | string | new canonical name of the machine |
| level | int | 0: low, 1: high |
| expiration | int | (optional) UNIX time, only needed when low level |
\ No newline at end of file