Get desktop application:
View/edit binary Protocol Buffers messages
The top-level envelope container for an API request (message from a client to the KiCad API server)
For future expansion: any header fields that should be sent with a request
Used in:
An opaque string identifying a running instance of KiCad. If this is set to a non-empty string in an API request, KiCad will reject the request if the value doesn't match its own token. This can be used to let API clients make sure they are still talking to the same instance of KiCad if they are long-running.
A string identifying an API client. Should be set by the client to a value that is unique to a specific instance of a client, for example the package name of the client plus its process ID or a random string, e.g. "com.github.me.my_awesome_plugin-73951". The main purpose of this name is to identify the client in debug logs.
For future expansion: any header fields that should be sent with a response
Used in:
/ An opaque string identifying a running instance of KiCad.
Used in:
/ A code describing the category of error (or AS_OK if no error)
/ A human-readable description of the error, if any
Used in:
Request succeeded
Request timed out
The request had invalid parameters or otherwise was illegal
KiCad has recently started and cannot handle API requests yet
The request was not handled by KiCad
The kicad_token in the request didn't match this KiCad's token
KiCad is busy performing an operation and can't accept API commands
The requested API call has not yet been implemented