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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Benjamin Knofe
April 17, 2012
Technology
93
1
Share
Inside API.Leipzig
Benjamin Knofe
April 17, 2012
Other Decks in Technology
See All in Technology
CDK Insightsで見る、AIによるCDKコード静的解析(+AI解析)
k_adachi_01
2
170
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
160
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
480
JOAI2026講評会資料(近藤佐介)
element138
1
130
NgRx SignalStore: The Power of Extensibility
rainerhahnekamp
0
230
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
2
150
最近の技術系の話題で気になったもの色々(IoT系以外も) / IoTLT 花見予定会(たぶんBBQ) @都立潮風公園バーベキュー広場
you
PRO
1
200
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
12
4.9k
Revisiting [CLS] and Patch Token Interaction in Vision Transformers
yu4u
0
240
終盤で崩壊させないAI駆動開発
j5ik2o
2
2.2k
DevOpsDays Tokyo 2026 見えない開発現場を、見える投資に変える
rojoudotcom
3
200
聞き手の目線で考えるプロポーザル
takefumiyoshii
0
430
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
11k
The SEO identity crisis: Don't let AI make you average
varn
0
440
Amusing Abliteration
ianozsvald
1
150
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
310
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
170
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
KATA
mclloyd
PRO
35
15k
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