Welcome! This is my personal blog about Web technologies, software development, open source and other related topics
The ideas and opinions expressed here are solely mine and don't represent those of others, either individuals or companies.The code snippets or references to software products or analogous are to be used without any warranty of any kind. If you enjoy the content, feel free to share it and re-use it as long as you provide a link to the original post.
A decorator class has a special class method __call__(). This method is responsible for supporting a case when an object is called. The advantage of decorator class over function is they bring the OOP feature such as inherirtance etc.
In the below code snippet the the decorated function is assigned to the self.func i.e. to the decorator. The decorator class itself calls the decorated function.
Passing a message to the decorator class. Here the message is passed from the LogDecorator and initailised in the class constructor.
The calling method is accessible in the __call__() method.
Returns detailed information for a specific transferred item, including all captured metadata and localized/versioned field information for the given itemId, database, and source.
Use this endpoint to inspect the complete details of an individual transferred item, including its field values, versions, and metadata.
Example – https://your-xmc-instance.sitecorecloud.io/sitecore/api/content/transfer/v1/transfers/1ec8122c-a25e-49b0-a0fb-bd47dfccdf8b/chunksets/30fca7fa-0775-436f-957e-71b74b1ef6ef/complete
Example – https://your-xmc-instance.sitecorecloud.io/sitecore/shell/api/v3/ItemsTransfer/transfers/databases/master/sources?blobName=contentTransfer-1ec8122c-a25e-49b0-a0fb-bd47dfccdf8b-30fca7fa-0775-436f-957e-71b74b1ef6ef.raif
Headers-
Authorization – token
Response–
202 – Accepted
Verify the blob and you should see the BlobState changed to – Transferred. The earlier state was Uploaded
If transfer has issues ths state will be – TransferredWithErrors