Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.

POST /wopi/files/(file_id)
The GetSequenceNumber operation retrieves the sequence number of the file on the host.
Parameters
file_id(string) – Required. A string that specifies the file ID of a file managed by the host. This string must be URL safe.
Query parameters
access_token(string) – Required. An access token that the host uses to determine whether the request is authorized.
Request headers
X-WOPI-Override(string) – Required. The string isGET_SEQUENCE_NUMBER.
Response headers
X-WOPI-SequenceNumber(integer) – Required. An integer value that indicates the latest state of the file on the host. The value should be greater than 0, and should be increased if the host file is updated.X-WOPI-FailureReason(string) – Optional. Used for logging purposes only. It should be set on non-200 OK responses.
Status codes
- 200 OK – Success.
- 401 Unauthorized – Invalid access token.
- 404 Not Found – Resource not found/user unauthorized.
- 500 Internal Server Error – Server error.
- 501 Not Implemented – Operation not supported.