次の方法で共有


GetSequenceNumber

Desktop

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 is GET_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

Next steps

File content data model