Input and output format
The REST API server supports JSON input/output format.
As a general rule, if objects have an ObjectID associated with them, and they are to be used as input parameters, either the ID or the ObjectID will be accepted as the parameter. For example, any functions that require a virtualServerId parameter should accept a value of "1" or "313a3a3a3a3a3a303a3a3a4f49445f24232140255f56", as they represent the same object within the NAS system.
NoteObjectID values are not a fixed length, and the length may vary depending on which type of object they identify.
JSON requires escaping of the following characters if they are supplied as part of an input, and they will be escaped in the same way if returned as part of an API response - not all characters are necessarily supported when supplying parameters:
- Backspace to be replaced with \b
- Form Feed to be replaced with \f
- Newline to be replaced with \n
- Carriage Return to be replaced with \r
- Tab to be replaced with \t
- Double Quote to be replaced with \"
- Backslash to be replaced with \\