1. REST API

サービスエンドポイント

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

サービスエンドポイントリソースには、Sitecore Content Hub REST APIにアクセスするためのルートリソースが含まれています。これは、クライアントが認識している唯一のURLであり、他のすべてのリソースに到達するための開始点として機能します。

サポートされているメソッド: GET, HEAD

GET /api

エンティティやエンティティ定義などを検索する場所を記述した サービスエンドポイントオブジェクト を返します。

リクエストの例:

GET http://<hostname>/api
Host: hostname
Accept: application/json

応答の例:

HTTP/1.1 200 OK
Content-Length: content length
Content-Type: application/json; charset=utf-8
ETag: "hash string"

{
    "entitydefinitions":{
        "href":"http://<hostname>/api/entitydefinitions",
        "title":"The collection of entity definitions."
    },
    "entities":{
        "href":"http://<hostname>/api/entities",
        "title":"The collection of entities."
    },
    "entitydefinition_by_name":{
        "href":"http://<hostname>/api/entitydefinitions/{name}",
        "title":"Get the entity definition with the spe...",
        "is_template":true
    },
    "entity_by_id":{
        "href":"http://<hostname>/api/entities/{id}",
        "title":"Get the entity with the specified id.",
        "is_template":true
    },
    "authenticate":{
        "href":"http://<hostname>/api/authenticate",
        "title":"Provides authentication tokens"
    }
}
この記事を改善するための提案がある場合は、 お知らせください!