Fetch command by it's id

Han Wer3 years ago

Does the Traccar API offer getting a command by it's id? I've found /commands with GET and possible query parameters of userId, deviceId, groupdId and all, but there is no parameter and no call (as far as I could find) for fetching a single command.

Anton Tananaev3 years ago

Try to specify it as a part of path like /api/commands/id.

Han Wer3 years ago

Perfect, that works.

Han Wer3 years ago

For the Command API call "Fetch a list of Saved Commands" the description says "Without params, it returns a list of Drivers the user has access to". I think it should be "Commands" instead of "Drivers".

Anton Tananaev3 years ago

Fixed.