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.

Revisions

  1. ksky renamed this gist Jun 26, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ksky revised this gist Jun 26, 2014. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    ##[Global API Challenge](http://www.globalapichallenge.com) LEVEL ONE 日本語訳(非公式)

    ### Q1 OUT OF 10

    APIとは何の略?
  3. ksky revised this gist Jun 26, 2014. No changes.
  4. ksky revised this gist Jun 26, 2014. No changes.
  5. ksky revised this gist Jun 26, 2014. No changes.
  6. ksky revised this gist Jun 26, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    ##[Global API Challenge](http://www.globalapichallenge.com)
    ##LEVEL ONE 問題日本語訳(非公式)
    ##[Global API Challenge](http://www.globalapichallenge.com) LEVEL ONE 日本語訳(非公式)

    ### Q1 OUT OF 10

  7. ksky revised this gist Jun 26, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    ##[Global API Challenge](http://www.globalapichallenge.com) LEVEL ONE 問題日本語訳(非公式)
    ##[Global API Challenge](http://www.globalapichallenge.com)
    ##LEVEL ONE 問題日本語訳(非公式)

    ### Q1 OUT OF 10

  8. ksky revised this gist Jun 26, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    [Global API Challenge](http://www.globalapichallenge.com)
    ##LEVEL ONE 問題の非公式日本語訳
    ##[Global API Challenge](http://www.globalapichallenge.com) LEVEL ONE 問題日本語訳(非公式)

    ### Q1 OUT OF 10

  9. ksky revised this gist Jun 26, 2014. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    [Global API Challenge](http://www.globalapichallenge.com) Level one (非公式日本語訳)
    [Global API Challenge](http://www.globalapichallenge.com)
    ##LEVEL ONE 問題の非公式日本語訳

    ### Q1 OUT OF 10

    @@ -96,7 +97,7 @@ Hypermedia as the Engine of Application State (HATEOAS)とは:

    ### Q10 OUT OF 10

    今日、APIは著作権で保護されている
    今日、APIは著作権法で保護されている

    * はい
    * いいえ
  10. ksky revised this gist Jun 26, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,7 @@ FieldingがRESTの論文を発表したのは何年?
    * 2003
    * 2006
    * 2009
    *

    ### Q5 OUT OF 10

    "dog"型エンティティを生成するサービスのRESTfulなAPIデザインとして、ベストな例はどれ?
  11. ksky revised this gist Jun 26, 2014. 1 changed file with 54 additions and 107 deletions.
    161 changes: 54 additions & 107 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    [Global API Challenge](http://www.globalapichallenge.com) Level 1 (非公式日本語訳
    [Global API Challenge](http://www.globalapichallenge.com) Level one (非公式日本語訳)

    ### Q1 OUT OF 10

    @@ -19,138 +19,85 @@ APIとは何の略?
    * 医者と議論するテーマの一つ
    * 上記以外

    Q3 OUT OF 10
    ### Q3 OUT OF 10

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

    Client-server
    クライアントサーバ
    * クライアント/サーバ
    * コードオンデマンド
    * HATEOAS
    * 階層化システム
    * キャッシュ可能

    *Code on demand
    コードオンデマンド
    ### Q4 OUT OF 10

    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
    * 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
    * GET /dogs/create
    * POST /dogs/create
    * POST /dogs?action=create
    * POST /dogs
    * 上記以外

    None of the above
    上記以外
    Q6 OUT OF 10
    ### 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
    200 OK
    { "dog": {
    "id": 1234,
    "name": "Rover"
    }}

    GET /1234/dogs?action=rename Buster
    * 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
    ### 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の制約の一つ
    * 動詞
    * メソッド
    * 名詞
    * ユニークID
    * 上記以外

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

    None of the above
    上記以外
    Q9 OUT OF 10
    Hypermedia as the Engine of Application State (HATEOAS)とは:

    According to recently released survey results by Evans Data Corporation, of the 18.2 million developers in the world:
    最近発表されたEvans Dataによる調査結果によると、世界の1,820万人の開発者のうち:
    * 開発者がステートフルなアプリケーションを作ることを可能にする、RESTful APIの機能の一つ
    * 分散・協調型ハイパーメディア情報のためのアプリケーションプロトコル
    * クライアントがハイパーメディアを通じてネットワークアプリと対話することを可能にする、RESTの制約の一つ
    * あるwebアプリの中で使われるすべてのAPIリソースを記述したハイパーメディアリンクの集合
    * 上記以外

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

    4.7M publish APIs that are external but limited to their partners
    470万人がパートナー向けに限定してAPIを公開している
    最近発表された[Evans Data](http://www.evansdata.com/)による調査結果によると、世界の1,820万人の開発者のうち:

    8.9M developers worldwide publish APIs for internal use only
    890万人が社内専用にAPIを公開している
    * 120万人が社外利用のためのパブリックAPIを公開している
    * 470万人がパートナー向けに限定してAPIを公開している
    * 890万人が社内専用にAPIを公開している
    * 上記すべて

    *All of the above
    上記すべて
    Q10 OUT OF 10
    ### 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
    * はい
    * いいえ
    * はい。ただしコンピュータ言語の一部である場合のみ
  12. ksky revised this gist Jun 26, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    [Global API Challenge](http://www.globalapichallenge.com) Level 1 (非公式日本語訳)

    ### Q1 OUT OF 10

    APIとは何の略?
  13. ksky revised this gist Jun 26, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,15 @@
    ## Q1 OUT OF 10
    ### Q1 OUT OF 10

    ### APIとは何の略?
    APIとは何の略?

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

    ## Q2 OUT OF 10
    ### Q2 OUT OF 10

    ### べき等(idempotent)とは?
    べき等(idempotent)とは?

    * 同じ川には二度入れないもの
    * ほぼ無限の権力や影響力を持つこと
  14. ksky revised this gist Jun 26, 2014. 1 changed file with 7 additions and 16 deletions.
    23 changes: 7 additions & 16 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -7,25 +7,16 @@
    * Application Programming Interface
    * Application Procedural Interface

    Q2 OUT OF 10
    ## Q2 OUT OF 10

    What does idempotent mean?
    べき等(idempotent)とは?
    ### べき等(idempotent)とは?

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

    Having virtually unlimited authority or influence
    ほぼ無限の権力や影響力を持つこと

    *Multiple executions produce identical results
    複数回の実行が同じ結果を生み出すこと

    A topic for discussion with your doctor
    医者と議論するテーマの一つ

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

    In Fielding's REST, which of the following is an optional constraint?
  15. ksky revised this gist Jun 26, 2014. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    # Q1 OUT OF 10
    ## Q1 OUT OF 10

    ## APIとは何の略?
    ### APIとは何の略?

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

    Q2 OUT OF 10

  16. ksky revised this gist Jun 26, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Q1 OUT OF 10
    # Q1 OUT OF 10

    APIとは何の略?
    ## APIとは何の略?

    *Accelerated Product Innovation
    *Agile Programming Initiative
  17. ksky created this gist Jun 26, 2014.
    163 changes: 163 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,163 @@
    Q1 OUT OF 10

    APIとは何の略?

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

    Q2 OUT OF 10

    What does idempotent mean?
    べき等(idempotent)とは?

    One cannot step into the same river twice
    同じ川には二度入れないもの

    Having virtually unlimited authority or influence
    ほぼ無限の権力や影響力を持つこと

    *Multiple executions produce identical results
    複数回の実行が同じ結果を生み出すこと

    A topic for discussion with your doctor
    医者と議論するテーマの一つ

    None of the above
    上記以外
    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