FastAPI Examples

Welcome to the Ruby on Rails FastAPI example project. We have three main models: /api/v1/people/ - Person (People endpoint) /api/v1/buckets/ - Bucket (Buckets endpoint) /api/v1/marbles/ - Marble (Marbles endpoint) Explore the API with query parameters and then check out the code. For example, to get everybody with an age >= 25: /api/v1/people/?age__gte=25 All buckets made of aluminum: /api/v1/buckets/?material=aluminum All red and green marbles: /api/v1/marbles/?color__in[]=red&color;__in[]=green All people with the letter 'o' in their name: /api/v1/people/?name__icontains=o All iron and plastic buckets colored matte black: /api/v1/buckets/?material__in[]=iron&material;__in[]=plastic&color;=matte%20black All transparent aqua marbles, ordered by radius, except for the largest: /api/v1/marbles/?color=transparent%20aqua&__order=radius,DESC&__offset=1 This project can ...

Linked on 2014-07-28 19:32:36 | Similar Links