I need some api urls:
/api/<id>/<filter>/
/api/<id>,<id>,<id>/<filter>/
Where id is model id and filter custom parameter. How can I make the urls with rest framework?
I have model Image and want request server for json with custom fields list from model and calculated with 'filter' parameter value.
/api/filter/?id=27