What is the purpose of the ManagementServerCapabilities declaration?

Can someone please explain the purpose of the ManagementServerCapabilities declaration in Declarative Device Management?

I understand based on the documentation that it contains a "dictionary that contains the server’s optional protocol features" but what would be an example of an "optional protocol feature"?

Answered by Device Management Engineer in 787997022

Server capabilities is there to allow for future extensions to the protocol to be advertised so that the client can opt in to using those. There are currently no such extensions in place, so it is basically empty. An example of this would be if we decided to add some new endpoint on the server that the client could use for a new operation. The client can only use that new endpoint if the server advertises support for it via the server capabilities.

Accepted Answer

Server capabilities is there to allow for future extensions to the protocol to be advertised so that the client can opt in to using those. There are currently no such extensions in place, so it is basically empty. An example of this would be if we decided to add some new endpoint on the server that the client could use for a new operation. The client can only use that new endpoint if the server advertises support for it via the server capabilities.

What is the purpose of the ManagementServerCapabilities declaration?
 
 
Q