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
Inside API.Leipzig
Search
Benjamin Knofe
April 17, 2012
Technology
1
89
Inside API.Leipzig
Benjamin Knofe
April 17, 2012
Tweet
Share
Other Decks in Technology
See All in Technology
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
0
100
2025-07-06 QGIS初級ハンズオン「はじめてのQGIS」
kou_kita
0
160
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
1
15k
マネジメントって難しい、けどおもしろい / Management is tough, but fun! #em_findy
ar_tama
7
990
ドメイン特化なCLIPモデルとデータセットの紹介
tattaka
2
580
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
240
関数型プログラミングで 「脳がバグる」を乗り越える
manabeai
0
110
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
180
ビズリーチにおけるリアーキテクティング実践事例 / JJUG CCC 2025 Spring
visional_engineering_and_design
1
110
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
4
240
品質と速度の両立:生成AI時代の品質保証アプローチ
odasho
1
240
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
210
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
72
4.9k
Agile that works and the tools we love
rasmusluckow
329
21k
A designer walks into a library…
pauljervisheath
207
24k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Fireside Chat
paigeccino
37
3.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Code Review Best Practice
trishagee
69
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Stop Working from a Prison Cell
hatefulcrawdad
270
21k
Transcript
Inside API.Leipzig 17. April 2012 - Leipzig on Rails -
sublab Ben(jamin Knofe) @videosynthesis http://www.videosynthesis.net/
* seit Dezember 2011 * 30 > 10 > 5
Beteiligte * 145 angemeldete Nutzer * 8309 requests/33 aktive Nutzer im März
* 1 Server (HE VServer L) * nginx 1.1.13 +
passenger 3.0.11 * mySQL 5.0.51a * 3 Apps + Frontpage * MIT / CC-BY
* API: Sinatra 1.3.2 + activerecord 3.0.11 * Panel: Rails
2.3.14 * Wiki: Instiki master
curl -i -X GET http://www.apileipzig.de/api/v1/calendar/events HTTP/1.1 403 Forbidden Content-Type: text/javascript;charset=utf-8
Content-Length: 40 Connection: keep-alive Status: 403 X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.11 X-Frame-Options: sameorigin X-XSS-Protection: 1; mode=block Server: nginx/1.1.13 + Phusion Passenger 3.0.11 (mod_rails/mod_rack) {"error":"No permission(s) to do this."}
curl -i -X GET http://www.apileipzig.de/api/v1/calendar/events -d 'api_key=psewqGJMryqsrzrcALa' HTTP/1.1 200 OK
{ "data": [ { "venue_id":10, "id":1, "updated_at":"2011-07-04T10:44:47+02:00", … }, … ] }
curl -X POST http://www.apileipzig.de/api/v1/calendar/hosts -d 'api_key=psewqGJMryqsrzrcALa' -d 'first_name=Leipzig' -d 'last_name=on
Rails' { "success": { "id":24, "message":"Host was saved with id = 24." } }
curl -X GET http://www.apileipzig.de/api/v1/calendar/hosts/24 -d 'api_key=psewqGJMryqsrzrcALa' { "id":24, "first_name":"Leipzig", "last_name":"on
Rails", "mobile":null, "created_at":"2012-04-17T14:28:33+02:00", "updated_at":"2012-04-17T14:28:33+02:00", "url":null, "phone":null }
curl -X GET http://www.apileipzig.de/api/v1/calendar/venues/search -d 'api_key=psewqGJMryqsrzrcALa' -d 'q=sub' { "data":
[ { "id":30, "name":"sublab e.V.”, … } ] }
curl -X POST http://www.apileipzig.de/api/v1/calendar/events -d 'api_key=psewqGJMryqsrzrcALa' -d 'category_id=2' -d 'venue_id=30'
-d 'host_id=24' -d 'name=Leipzig on Rails Treffen im April' -d 'description=Immer mit spannenden Vorträgen. Kostenfrei.' -d 'date_from=2012-04-17' -d 'time_from=19:30:00' { "success": { "id":33, "message":"Event was saved with id = 33." } }
https://github.com/apileipzig http://travis-ci.org/#!/apileipzig/api http://www.apileipzig.de/ @apileipzig