E
E
exctac2020-08-21 13:09:48
RESTful API
exctac, 2020-08-21 13:09:48

What is the optimal REST url for my task?

Hello.

Every time I puzzle over the formation of REST urls for non-standard cases.
There are users, the user can have children and parents. It is necessary to implement sending letters/push messages to your descendants. In the body of the request, you should specify a list of descendant emails to which letters / pushes should be sent.

What are some ideas for compiling a url that is understandable and unambiguous?
users/<user_id>/???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
exctac, 2020-08-21
@exctac

in general, while such an option comes to mindusers/<user_id>/actions/push

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question