12#define DMX512_ARG_UNDEF 513
static const char *const DMX512_rest_api_endpoints_str[]
DMX512 API endpoint string.
DMX512_rest_api_endpoint_e
DMX512 API endpoint string indexes.
void DMX512_rest_api_router(http_request_s *req)
Parses the current HTTP request method and URI in order to route requests to a specific api function.
static char *const DMX512_rest_api_args_str[]
DMX512 API parameter strings.
DMX512_rest_api_args_e
DMX512 API parameter strings indexes.
@ DMX512_API_ENDPOINT_CONFIGURE
@ DMX512_API_ENDPOINT_CHASERS
@ DMX512_API_ENDPOINT_EFFECTS
@ DMX512_API_ENDPOINT_DEFAULT
@ DMX512_API_ENDPOINT_CUES
@ DMX512_API_ENDPOINT_SCENES
@ DMX512_API_ENDPOINT_GROUPS
@ DMX512_API_ENDPOINT_PATCH
@ DMX512_API_PARAM_FADEOUT_TIME
@ DMX512_API_PARAM_CHANNEL_COUNT
@ DMX512_API_PARAM_CHANNELS
@ DMX512_API_PARAM_FADEIN_TIME
@ DMX512_API_PARAM_ADDRESS
@ DMX512_API_PARAM_VALUES