package org.xwiki.extension.repository.xwiki;

public class Paths
{
    public final static String EXTENSIONS = "/extensions/";

    public final static String EXTENSIONSDESCRIPTORS_SIMPLESEARCH = "/extensions/simplesearch/{pattern}";

    public final static String EXTENSIONSDESCRIPTORS_ID = "/extensions/{extensionId}";

    public final static String EXTENSIONDESCRIPTOR = "/extensions/{extensionId}/{extensionVersion}";

    public final static String EXTENSIONFILE = "/extensions/{extensionId}/{extensionVersion}/file";
}

Make XWiki Repository protocol more restfull