← All slides

API Design for Beginners — Slides

30 lessons, 391 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-06)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

API は「あとから変えられない約束」

12 slides

2

壊れる変更と壊れない変更

12 slides

3

HTTP を設計の道具として読み直す

12 slides

4

安全なメソッドと冪等なメソッド

12 slides

5

線の上に載るもの — JSON の型・時刻・文字

12 slides

6

URL はリソースの名前 — 動詞を入れない

12 slides

7

コレクションと個別リソース、階層をどこで止めるか

12 slides

8

CRUD に収まらない操作をどう表すか

13 slides

9

2xx の選び方 — 200・201・202・204

12 slides

10

4xx と 5xx の選び方

12 slides

11

ページング — オフセットとカーソル

13 slides

12

絞り込み・並べ替え・項目の間引き

26 slides

13

エラーの形をひとつに揃える

12 slides

14

検証エラーは項目ごとに全部返す

12 slides

15

冪等性キーで二重注文を止める

24 slides

16

再送の作法 — リトライとバックオフ

12 slides

17

レート制限 — 429 と Retry-After

13 slides

18

タイムアウトと期限

12 slides

19

OpenAPI の最小形

12 slides

20

スキーマで入口と出口を固める

12 slides

21

仕様から型を起こす

13 slides

22

モックと契約テスト

12 slides

23

壊れる変更を CI で止める

12 slides

24

GraphQL のスキーマと型

12 slides

25

解決と N+1

12 slides

26

GraphQL のエラーと部分的成功

12 slides

27

REST と GraphQL の使い分け

12 slides

28

版の切り方

12 slides

29

廃止の告知と、畳むまでの段取り

12 slides

30

ドキュメントと変更履歴を仕様から起こす

13 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.