path segment

One slash-separated piece of the path in a web address, such as tasks or 1 in /tasks/1.

In more detail

Path segments identify: if removing one makes the address mean a different thing, it belongs in the path. So a collection, an item identifier and a relationship such as /tasks/1/owner go in the path, while filters and page sizes go in the query string.

Related terms

Taught in

References