# IRPCWOPIOperationsPublic.GetContainerInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Server integration API](https://developer.m-files.com/APIs/gRPC-API/integration/index.md) > [WOPI operations (anonymous)](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperationsPublic/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperationsPublic/GetContainerInfo/

Badges: `Server integration API / specialized` `internal: not for applications` `write` `no session`

Gets the name and path of the vault location (container) of a container access token.

- **Service:** [WOPI operations (anonymous)](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperationsPublic/index.md) `MFiles.IRPCWOPIOperationsPublic`
- **gRPC method:** `/MFiles.IRPCWOPIOperationsPublic/GetContainerInfo`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-container-info`
- **Request:** [`GetContainerInfoRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperationsPublic/GetContainerInfo/index.md#request)
- **Response:** [`GetContainerInfoResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperationsPublic/GetContainerInfo/index.md#response)
- **Book and level:** Server integration API, specialized
- **Kind:** write
- **Session:** Not needed: the call can be made before logging in.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

**For M-Files components only.** The M-Files WOPI service calls it when an Office mobile app
browses the vault. Applications should not call it.
- Authorized by a container access token from
  [CreateContainerAccessToken](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperations/CreateContainerAccessToken/index.md). A
  container is a view (supported: the "Recently accessed by me" view) or an object that can have
  files.

<a id="request"></a>

## Request: GetContainerInfoRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `container_access_token` | `string` | The container access token. |

<a id="response"></a>

## Response: GetContainerInfoResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `wopi_container_info` | [`WOPIContainerInfo`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WOPIContainerInfo/index.md) | Receives the container information. |
| `wopi_container_info.container_access_token` | `string` | The container access token. |
| `wopi_container_info.container_name` | `string` | The container name. |
| `wopi_container_info.container_path` | `string` | The container path. |

<a id="related"></a>

## Related methods

- [IRPCWOPIOperations.CreateContainerAccessToken](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWOPIOperations/CreateContainerAccessToken/index.md): Creates, or returns the existing, container access token with which the Office mobile apps browse a vault location through the M-Files WOPI service.
