Instructor: So let's summarize this section.
When designing the URL of your API,
make sure it is simple, it is readable,
it is consistent, and it is predictable.
So if you will look at an example URL
we can define exactly what are the parts that makes the URL.
So, we have the API word,
we have the version, and the entity,
the ID parameter, the sub entity,
and the query parameter.
Now remember, some of these components are optional,
namely the ID parameter, the sub entity,
and the query parameters are all optional
and you might not need to use them.
But in any case,
always make sure your URL is clear, simple, and easy to use.