-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
To be more REST compatible the backtrack option should be a GET parameter instead of munching it together with the resource aka channel_id.
The resource you work on is the channel_id. When mixing in the backtrack param you are accessing another resource which by definition should have nothing in common with the channel you want information on. In other words $channel_id.b5 is another resource (simply with another name like 6.b5) and thus should not return the stored message of the channel you actually want to access.
A desired and valid call to get the last 5 message of the resource/channel 6 would be:
/sub/6?backtrack=5
Metadata
Metadata
Assignees
Labels
No labels