WOPI

GET/files/:fileId

:fileId is a v4 UUID - Required

?UserFriendlyName is the name that will be displayed in the WOPI file editor - Optional

?UserId is the Id of the user accessing the file - Optional

Returns metadata about the given file.

Example Response:

    {
      "BaseFileName": "05 Command Center CKL March.xlsx",
      "Size": 31579,
      "UserId": "Undefined",
      "UserCanWrite": true,
      "UserCanNotWriteRelative": true,
      "UserFriendlyName": "Anonymous Mango"
    }
  

File

Send a post request to /generate with:

Example:

{
      "template": "https://file.ubmobjectworkspace.com/wopi/files/7b23fcdb-029e-4187-968e-de125bff1420/contents",
      "data": {
        "title": "Chief Executive Officer",
        "Summary": "CEOs are responsible for managing a company's overall operations. This may include delegating and directing agendas, driving profitability, managing company organizational structure, strategy, and communicating with the board."
      },
      "filetype": "PDF"
}