// M-Files Server gRPC API 26.11. Generated from the M-Files Server IDL; do not edit.
// Documentation: https://developer.m-files.com/APIs/gRPC-API/
syntax = "proto3";

package MFiles;

import "mfiles/api/annotations.proto";

option csharp_namespace = "MFiles.Grpc";
option go_package = "github.com/M-Files/mfiles-grpc-api/go/mfiles;mfiles";
option java_multiple_files = true;
option java_package = "com.mfiles.grpc";
option objc_class_prefix = "MF_";

// Discards the thumbnail images stored in a vault.
//
// Provides methods for administering thumbnails.
//
// The service has one method,
// [ResetThumbnailImages](mfiles:MFiles.IRPCThumbnailsAdmin.ResetThumbnailImages), behind the Reset
// Thumbnail Images command of a vault in M-Files Admin. It needs a vault session with the vault
// rights `change_metadata_structure` and `license_allows_modifications`
// ([VaultAccess](mfiles:MFiles.VaultAccess)).
service IRPCThumbnailsAdmin {
	option (mfiles.api.service) = { book: "admin" level: LEVEL_SPECIALIZED title: "Thumbnail administration" };

	// Discards all thumbnail images stored in the vault.
	//
	// - Deletes the stored thumbnail image of every file in the vault and clears the thumbnail
	//   information of the files. Files and documents are not changed.
	// - Requires the vault rights `change_metadata_structure` and `license_allows_modifications`.
	rpc ResetThumbnailImages( ResetThumbnailImagesRequest ) returns ( ResetThumbnailImagesResponse ) {
		option idempotency_level = IDEMPOTENT;
		option (mfiles.api.method) = { session: SESSION_REQUIREMENT_SESSION };
	}
}

// The request of ResetThumbnailImages.
message ResetThumbnailImagesRequest {
}

// The response of ResetThumbnailImages.
message ResetThumbnailImagesResponse {
}
