テーブルを一覧表示するList tables
名前空間: microsoft.graphNamespace: microsoft.graph
テーブル オブジェクトの一覧を取得します。Retrieve a list of table objects.
アクセス許可Permissions
この API を呼び出すには、次のいずれかのアクセス許可が必要です。アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
アクセス許可の種類Permission type | アクセス許可 (特権の小さいものから大きいものへ)Permissions (from least to most privileged) |
---|---|
委任 (職場または学校のアカウント)Delegated (work or school account) | Files.ReadWriteFiles.ReadWrite |
委任 (個人用 Microsoft アカウント)Delegated (personal Microsoft account) | サポートされていません。Not supported. |
アプリケーションApplication | サポートされていません。Not supported. |
HTTP 要求HTTP request
GET /workbook/worksheets/{id|name}/tables
オプションのクエリ パラメーターOptional query parameters
このメソッドは、応答をカスタマイズするための OData クエリ パラメーターをサポートします。This method supports the OData Query Parameters to help customize the response.
要求ヘッダーRequest headers
名前Name | 説明Description |
---|---|
AuthorizationAuthorization | ベアラー {トークン}。必須。Bearer {token}. Required. |
Workbook-Session-IdWorkbook-Session-Id | 変更を保持するかどうかを決定するブック セッション ID。省略可能。Workbook session Id that determines if changes are persisted or not. Optional. |
要求本文Request body
このメソッドには、要求本文を指定しません。Do not supply a request body for this method.
応答Response
成功した場合、このメソッドは応答 200 OK
コードと、応答本文で WorkbookTable オブジェクトのコレクションを返します。If successful, this method returns a 200 OK
response code and collection of WorkbookTable objects in the response body.
例Example
要求Request
以下は、要求の例です。Here is an example of the request.
GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/tables
応答Response
以下は、応答の例です。注:簡潔にするために、ここに示す応答オブジェクトは切り詰められている場合があります。すべてのプロパティは実際の呼び出しから返されます。Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
HTTP/1.1 200 OK
Content-type: application/json
Content-length: 158
{
"value": [
{
"id": "99",
"name": "name-value",
"showHeaders": true,
"showTotals": true,
"style": "style-value"
}
]
}