getAllPagesEndpoint.addOptionalParameter(new Parameter("preferredversion", Parameter.Type.String, "The preferred version", "1", versions));
getAllPagesEndpoint.addOptionalParameter(new Parameter("limit", Parameter.Type.String, "Number of result items to include", "10"));
getAllPagesEndpoint.addOptionalParameter(new Parameter("offset", Parameter.Type.String, "Offset within the result set", "0"));
getAllPagesEndpoint.addOptionalParameter(new Parameter("details", Parameter.Type.Boolean, "Whether to include the all page data", "true"));
getAllPagesEndpoint.setTestForm(new TestForm());
docs.addEndpoint(Endpoint.Type.READ, getAllPagesEndpoint);
// GET /{page}
Endpoint getPageByIdEndpoint = new Endpoint("/{page}", Method.GET, "getpagebyid");
getPageByIdEndpoint.setDescription("Returns the page with the given id");
getPageByIdEndpoint.addFormat(Format.xml());