다음을 통해 공유


changetype

Topic Last Modified: 2006-06-12

The changetype Field is used by the server to indicate to the client the type of change on a resource when the client retrieves the manifest of a collection. The changetype Field can have two values.

  • change - Either a new resource has been added, or an existing resource has been updated. If the changetype Field is not listed in the manifest returned by the server, the client should assume a changetype Field with a value of "change".
  • delete - A resource has been deleted. The server returns the repl-uid Field of the resource if the changetype Field on the resource has a value of "delete".

Note that the change in the Manifest of a Collection applies only to the resource (depth=0) referenced in the href Field in the response XML element of the Manifest of a Collection.

A move operation is indicated by returning the changetype Field with a value of "delete" in the source collection manifest and returning the changetype Field with a value of "change" in the destination collection manifest.

A copy operation is indicated by returning the changetype Field with a value of "change" in the destination collection manifest.

A rename operation and a move operation are treated as the same type of operation.