AI engineering glossary · Web APIs HTTP

What is resource?

Resource: In web API design, a resource is a thing the API exposes, such as a user, an invoice or a document, that has its own URL and can be read or changed. Naming APIs around nouns rather than actions keeps them consistent.

Level: intermediateTopic: Web APIs HTTP

Resource: an example

/users/7/orders names the collection of orders belonging to user 7.

Related terms

More Web APIs HTTP terms

Where you learn it

Resource is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.