func apiVersion(c *gin.Context) {
	c.JSON(200, gin.H{"Version": aptly.Version})
}
Lock order acquisition (canonical):
1. RemoteRepoCollection
2. LocalRepoCollection
3. SnapshotCollection
4. PublishedRepoCollection
GET /api/version
package api
import (
	"fmt"
	"sort"
	"time"
	"github.com/aptly-dev/aptly/aptly"
	"github.com/aptly-dev/aptly/deb"
	"github.com/aptly-dev/aptly/query"
	"github.com/gin-gonic/gin"
)