#23508 added a new RPC named getdeploymentinfo, it moved the softfork section from getblockchaininfo into this new one. In the REST interface, we have an endpoint named/rest/chaininfo.json (which refers to getblockchaininfo), so, this PR adds a new REST endpoint named /deploymentinfo which refers to getdeploymentinfo.
You can use it by passing a block hash, e.g: '/rest/deploymentinfo/<BLOCKHASH>.json' or you can use it without passing a block hash to get the 'deploymentinfo' for the last block.