機械翻訳について

Applink APIカタログの取得

get

/documents/api/{version}/metadata-catalog/applinks

サポートされているサービスを含むapplinksリソースのメタデータ情報を返します。

リクエスト

サポートされるメディア・タイプ
パス・パラメータ
トップに戻る

レスポンス

サポートされるメディア・タイプ

200レスポンス

リクエストが処理されました。 サポートされるサービスへのリンクを含むApplinkメタデータ。
トップに戻る

次の例は、applinkリソースの情報を返します。

GET .../api/1.2/metadata-catalog/applinks

リクエスト・ヘッダー

なし。

リクエスト本文

なし。

HTTPステータス・コード

HTTP_STATUS = 200

JSONレスポンス

{
  "$schema": "http://json-schema.org/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "file or folder identifier"
    },
    "type": {
      "type": "String",
      "description": "has value 'applink'"
    },
    "accessToken": {
      "type": "String",
      "description": "token needed to access the appLink"
    },
    "refreshToken": {
      "type": "String",
      "description": "token needed to refresh an expired accessToken"
    },
    "appLinkID": {
      "type": "string",
      "description": "appLink identifier"
    },
    "appLinkUrl": {
      "type": "string",
      "description": "URL used to access the appLink"
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "rest-schemas/link#"
      }
    },
    "required": ["id", "type", "accessToken", "refreshToken", "appLinkID", "appLinkUrl"]
  },
  "links": [
    {
      "rel": "describedBy",
      "href": "http://service1-tenant2.local:8080/documents/api/1.2/metadata-catalog/applinks"
    },
    {
      "rel": "self",
      "href": "http://service1-tenant2.local:8080/documents/api/1.2/metadata-catalog/applinks",
      "method": "GET"
    },
    {
      "rel": "create-folder-applink",
      "href": "http://service1-tenant2.local:8080/documents/api/1.2/applinks/folder/{id}",
      "method": "POST"
    },
    {
      "rel": "create-file-applink",
      "href": "http://service1-tenant2.local:8080/documents/api/1.2/applinks/file/{id}",
      "method": "POST"
    },
    {
      "rel": "refresh-applink-token",
      "href": "http://service1-tenant2.local:8080/documents/api/1.2/applinks/token",
      "method": "PUT"
    }
  ]
}
先頭に戻る