addFileContentEndpoint.addStatus(preconditionFailed("the file's etag does not match the value specified in the If-Match header"));
addFileContentEndpoint.addStatus(methodNotAllowed("the site or it's content repository is read-only"));
addFileContentEndpoint.addStatus(serviceUnavailable("the site or it's content repository is temporarily offline"));
addFileContentEndpoint.addPathParameter(new Parameter("resource", Parameter.Type.String, "The file identifier"));
addFileContentEndpoint.addPathParameter(new Parameter("language", Parameter.Type.String, "The language"));
addFileContentEndpoint.addBodyParameter(true, null, "the filecontent");
addFileContentEndpoint.setTestForm(new TestForm());
docs.addEndpoint(Endpoint.Type.WRITE, addFileContentEndpoint);
// DELETE /{resource}/content/{language}
Endpoint deleteFileContentEndpoint = new Endpoint("/{resource}/content/{language}", Method.DELETE, "deletefilecontent");