gpio

List the available GPIO pins. Add ?list=true for just the pin names.

get/api/gpio

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/gpio
  • Auth
    none declared

Query parameters

listboolean

Return just the pin names instead of full capabilities.

Response

Array of pin capability objects (or pin names when list=true).

Changes