In Tastypie, there are 3 types of endpoints:
List endpoints return a list of objects (as the name implies) and it looks like `host_address/api/entity`.
Detail endpoints return a single instance of an object and it looks similar to the list endpoint, except for the fact that it expects a path param, the ID of the object, to identify the instance that will be returned (e.g. `/api/entity/[id]`).
Custom endpoints are routes made by developers to solve any use-cases different from the default ones. They don't have a specific format, offering devs more freedom.
1
12 reads
CURATED FROM
IDEAS CURATED BY
My takes after reading the Tastypie documentation, regarding how a request is handled inside an endpoint
β
The idea is part of this collection:
Learn more about computerscience with this collection
Understanding machine learning models
Improving data analysis and decision-making
How Google uses logic in machine learning
Related collections
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
β
100+ Learning Journeys
β
Access to 200,000+ ideas
β
Access to the mobile app
β
Unlimited idea saving
β
β
Unlimited history
β
β
Unlimited listening to ideas
β
β
Downloading & offline access
β
β
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates
Celebrating all mothers around the world...
67% OFF | 1-Year Pro Subscription
Claim Offer