docs.addEndpoint(Endpoint.Type.READ, getFileContentEndpoint);
// GET /pending
Endpoint getPending = new Endpoint("/pending", Method.GET, "getpending");
getPending.setDescription("Returns all unmodified resources");
getPending.addFormat(Format.xml());
getPending.addStatus(ok("A resultset was compiled and returned as part of the response"));
getPending.addStatus(serviceUnavailable("The site or its content repository is temporarily offline"));
getPending.addOptionalParameter(new Parameter("filter", Parameter.Type.String, "Filter for the current result set"));
getPending.addOptionalParameter(new Parameter("type", Parameter.Type.String, "The file type, e. g. 'image'"));
getPending.addOptionalParameter(new Parameter("sort", Parameter.Type.Enum, "The sort parameter", "modified-desc", sortParams));