Skip to content

Instantly share code, notes, and snippets.

@ksky
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save ksky/df5bbfffe1d30ba2bbc9 to your computer and use it in GitHub Desktop.

Select an option

Save ksky/df5bbfffe1d30ba2bbc9 to your computer and use it in GitHub Desktop.
Global API Challenge (http://www.globalapichallenge.com) LEVEL ONE 日本語訳(非公式)

Q1 OUT OF 10

APIとは何の略?

  • Accelerated Product Innovation
  • Agile Programming Initiative
  • Application Programming Interface
  • Application Procedural Interface

Q2 OUT OF 10

べき等(idempotent)とは?

  • 同じ川には二度入れないもの
  • ほぼ無限の権力や影響力を持つこと
  • 複数回の実行が同じ結果を生み出すこと
  • 医者と議論するテーマの一つ
  • 上記以外

Q3 OUT OF 10

In Fielding's REST, which of the following is an optional constraint? FieldingのRESTで、オプションの制約とされているのは次のうちどれ?

Client-server クライアントサーバ

*Code on demand コードオンデマンド

HATEOAS

Layered system 階層化システム

Cacheable キャッシュ可能 Q4 OUT OF 10

In what year did Fielding publish his REST dissertation? FieldingがRESTの論文を発表したのは何年?

1997

*2000

2003

2006

2009 Q5 OUT OF 10

Identify the best example of a RESTful API design convention for a service to create an entity of type "dog"? "dog"型エンティティを生成するサービスのRESTfulなAPIデザインとして、ベストな例はどれ?

GET /dogs/create

POST /dogs/create

POST /dogs?action=create

*POST /dogs

None of the above 上記以外 Q6 OUT OF 10

You’ve created an entity of type “dog” and received the following HTTP response code. How do you change the dog’s name to Buster? "dog"型エンティティを生成し、次のHTTPレスポンスを受け取った。このdogの名前をBusterに変更する方法は?

200 OK { "dog": { "id": 1234, "name": "Rover" }}

PUT /dogs/1234?name=Rover

POST /dogs/1234?name=Buster

*PUT /dogs/1234?name=Buster

GET /1234/dogs?action=rename Buster

None of the above 上記以外 Q7 OUT OF 10

It is best practice to define the resources exposed by an API as: APIにより公開するリソースは、次のうちどれとして定義するのがベストプラクティス?

Verbs 動詞

Methods メソッド

*Nouns 名詞

Unique IDs ユニークなID

None of the above 上記以外 Q8 OUT OF 10

Hypermedia as the Engine of Application State (HATEOAS) is:

A feature of RESTful APIs that enables developers to build stateful applications 開発者がステートフルなアプリケーションを作ることを可能にする、RESTful APIの機能の一つ

An application protocol for distributed, collaborative, hypermedia information 分散・協調型ハイパーメディア情報のためのアプリケーションプロトコル

*A constraint of REST that allows clients to interact with network apps through hypermedia クライアントがハイパーメディアを通じてネットワークアプリと対話することを可能にする、RESTの制約の一つ

The set of hypermedia links that describes all of the API resources used in a web application あるwebアプリの中で使われるすべてのAPIリソースを記述したハイパーメディアリンクの集合

None of the above 上記以外 Q9 OUT OF 10

According to recently released survey results by Evans Data Corporation, of the 18.2 million developers in the world: 最近発表されたEvans Dataによる調査結果によると、世界の1,820万人の開発者のうち:

1.2M are now publishing public APIs for external use 120万人が社外利用のためのパブリックAPIを公開している

4.7M publish APIs that are external but limited to their partners 470万人がパートナー向けに限定してAPIを公開している

8.9M developers worldwide publish APIs for internal use only 890万人が社内専用にAPIを公開している

*All of the above 上記すべて Q10 OUT OF 10

Are APIs covered by copyright law today? 今日、APIは著作権で保護されている?

*Yes はい

No いいえ

Yes, if the API is part of a computer language はい。ただしコンピュータ言語の一部である場合のみ http://www.evansdata.com/press/viewRelease.php?pressID=207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment