instance _serial _console
Path Parameters
Name or ID of the instance
Query Parameters
Character index in the serial buffer from which to read, counting the bytes output since instance start. If this is not provided, most_recent
must be provided, and if this is provided, most_recent
must not be provided.
Maximum number of bytes of buffered serial console contents to return. If the requested range runs to the end of the available buffer, the data returned will be shorter than max_bytes
.
Character index in the serial buffer from which to read, counting backward from the most recently buffered data retrieved from the instance. (See note on from_start
about mutual exclusivity)
Name or ID of the project, only required if instance
is provided as a Name
Responses
The bytes starting from the requested offset up to either the end of the buffer or the request's max_bytes
. Provided as a u8 array rather than a string, as it may not be UTF-8.
The absolute offset since boot (suitable for use as byte_offset
in a subsequent request) of the last byte returned in data
.