Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rails API
Search
Mark Morris
October 06, 2015
Programming
2
65
Rails API
Basic introduction to Rails based APIs.
Mark Morris
October 06, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
生成AIを活用したリファクタリング実践 ~コードスメルをなくすためのアプローチ
raedion
0
120
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
10
3.3k
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
160
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
12
7.2k
AI 時代だからこそ抑えたい「価値のある」PHP ユニットテストを書く技術 #phpconfuk / phpcon-fukuoka-2025
shogogg
1
580
「AWS CDK入門」の前日譚/Prequelto-Introduction-To-AWSCDK
tyumugi1113
0
100
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
170
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
110
2025 컴포즈 마법사
jisungbin
0
150
Atomics APIを知る / Understanding Atomics API
ssssota
1
200
予防に勝る防御なし(2025年版) - 堅牢なコードを導く様々な設計のヒント / Growing Reliable Code PHP Conference Fukuoka 2025
twada
PRO
39
13k
無秩序からの脱却 / Emergence from chaos
nrslib
1
8.3k
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
Being A Developer After 40
akosma
91
590k
Navigating Team Friction
lara
190
16k
How to train your dragon (web standard)
notwaldorf
97
6.4k
Visualization
eitanlees
150
16k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Context Engineering - Making Every Token Count
addyosmani
9
410
Site-Speed That Sticks
csswizardry
13
970
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Transcript
Rails APIs NoCo Web Scale, Oct 6th. @blurredbits
Topics • Introduction • Setup • Versioning • Authentication •
Testing NoCo Web Scale, Oct 6th. @blurredbits
API Application Programming Interface NoCo Web Scale, Oct 6th. @blurredbits
NoCo Web Scale, Oct 6th. @blurredbits
Model View Controller NoCo Web Scale, Oct 6th. @blurredbits
View render JSON instead of HTML NoCo Web Scale, Oct
6th. @blurredbits
JSON JavaScript Object Notation NoCo Web Scale, Oct 6th. @blurredbits
NoCo Web Scale, Oct 6th. @blurredbits
Serializer ActiveModel::Serializer JBuilder NoCo Web Scale, Oct 6th. @blurredbits
Logging config/initializers/filter_parameter_logging.rb NoCo Web Scale, Oct 6th. @blurredbits
Namespacing NoCo Web Scale, Oct 6th. @blurredbits
Inflections config/initializers/inflections.rb NoCo Web Scale, Oct 6th. @blurredbits
Routing config/routes.rb NoCo Web Scale, Oct 6th. @blurredbits
Routing config/routes.rb NoCo Web Scale, Oct 6th. @blurredbits
Authentication app/models/user.rb NoCo Web Scale, Oct 6th. @blurredbits
Authentication app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
Error - No Token app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th.
@blurredbits
Wrong Password app/controllers/API/V1/application_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
Validation Error app/controllers/API/V1/people_controller.rb NoCo Web Scale, Oct 6th. @blurredbits
RSpec spec/requests/api/people_specs.rb NoCo Web Scale, Oct 6th. @blurredbits
CURL curl http://localhost:3000/api/people/1 NoCo Web Scale, Oct 6th. @blurredbits
Conclusion Error Codes Documentation Rails 5 NoCo Web Scale, Oct
6th. @blurredbits
Resources https://github.com/rails-api/active_model_serializers https://github.com/rails-api/rails-api http://www.raywenderlich.com/85528/user-accounts-ios-ruby- rails-swift NoCo Web Scale, Oct 6th.
@blurredbits