S
S
spirt_etilovy2017-05-22 18:56:00
API
spirt_etilovy, 2017-05-22 18:56:00

How to organize a REST API?

I am developing an API for my application. During development, some questions arose:

  • The application has many "translatable" entities. For example, in the database there is a table with books "Books" and a table with translations "BookTranslations", which contains the title and description of the book in different languages. What is the best way to implement adding a book in the API?
  • Application users are divided into 2 parts: regular users and administrators. Should we split the API for these users?
  • What about methods that are not CRUD?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
spirt_etilovy, 2017-05-22
@spirt_etilovy

Understood the 3rd question.
For those who are interested, you can see how they do it in Yandex https://events.yandex.ru/lib/talks/2927/.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question