import org.sonar.api.server.ws.WebService;
import org.sonar.api.web.UserRole;
import org.sonar.core.permission.GlobalPermissions;
+import org.sonar.core.util.Uuids;
import org.sonar.db.DbClient;
import org.sonar.db.DbSession;
import org.sonar.db.ce.CeQueueDto;
.setResponseExample(getClass().getResource("queue-example.json"))
.setHandler(this);
- action.createParam(PARAM_COMPONENT_UUID);
+ action
+ .createParam(PARAM_COMPONENT_UUID)
+ .setDescription("Optional filter on component. Requires administration permission of the component.")
+ .setExampleValue(Uuids.UUID_EXAMPLE_01);
}
@Override