🚧 GetFileWopiSrc (bootstrapper)

Warning

This operation should not be called by WOPI clients at this time. It is reserved for future use and subject to change.

POST /wopibootstrapper

This operation is equivalent to the 🚧 GetFileWopiSrc (ecosystem) operation.

Important

The request/response semantics for this operation differ slightly from its counterpart on the Ecosystem endpoint since it is exposed on the Bootstrapper endpoint, and thus will use OAuth 2.0 access tokens for authorization instead of WOPI access tokens.

Response

The response to a GetFileWopiSrc call is JSON containing the following required properties:

Sample response:

{
  "Bootstrap": {
    "EcosystemUrl": "http://.../wopi*/ecosystem?access_token=<ecosystem_token>",
    "UserId": "User ID",
    "SignInName": "user@contoso.com",
    "UserFriendlyName": "User Name"
  },
  "WopiSrcInfo": {
    "Url": "http://.../wopi*/[containers|files]/<id>?access_token=<file|container_token>&access_token_ttl=<timestamp>"
  }
}