Skip to content

Having ids in endpoint urls #25

@emrdagkusu

Description

@emrdagkusu

I just realized that we are keeping ids in endpoint URLs and that makes it longer. For example, for creating a lesson we are using this endpoint URL:

users/{uid}/semesters/{sid}/lessons

However, we can do that with just
1)

/lessons

Or if we want to keep the information that this new lesson will be related to users and semesters, we can do like:
2)

/users/semesters/lessons

I think we should remove ids inside the endpoint URLs, but I am not sure which option to choose. 1 or 2?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions